4 ms·
Show HN: autolib, the last Python library you'll ever need
- orborde 17y agoThis...this is horrifying.
- BearOfNH 17y agoI use Python a lot and have never gotten tired of installing libraries, except when upgrading Python versions. So what I really need is a version-upgrade tool that asks what I want to upgrade to, and looks around Sourceforge to ensure all my modules have version-appropriate editions, and then maybe helps me do the upgrade.
- alnayyir 17y agoThis sounds distinctly dangerous. Edit: And very unpythonic, however amusing it may be.
- bdr 17y agoI address your safety concerns in the README. But seriously, how would you have designed this more Pythonically? It's an easy criticism to make, so back it up!
- alnayyir 17y agoThe concept is broken, not the implementation. You need to know what's in your damn namespace. Edit: I'm sorry if you expected a more technical readout of what's wrong, but you need to step back and think carefully about what the Zen of Python actually means. I'm not a dogmatist, I learned to code in C and have since dabbled in many languages. However, I'm a strong believer in, "When in rome, do as Romans do".
- Chronos 17y agoI disagree about the concept being broken: CPAN and Gems work on similar principles, except that the download step is reserved for a human running an explicit installer program. Add a filesystem cache and some digital signatures, i.e. an offline mode and some way of declaring "I expect this module to be signed with this trusted RSA key", and I think it would be workable.