Skip to content

Latest commit

 

History

History
32 lines (22 loc) · 1016 Bytes

README.md

File metadata and controls

32 lines (22 loc) · 1016 Bytes

autoinstaller

(Warning: apparently David Beazley invented this before me https://www.youtube.com/watch?v=0oTh1CXRaQ0&feature=youtu.be&t=2h39m46s although he thinks it is a bad idea, so use it in moderation!)

A package that automagically installs from PyPi everything you need as soon as you try import it. For example, let's assume that you do not have the tornado web server.

>>> import tornado
Traceback (most recent call last):
   File "<stdin>", line 1, in <module>
ImportError: No module named tornado

But if you have autoinstaller

>>> import autoinstaller
>>> import tornado
...
Processing dependencies for tornado
...
Installed ...
Finished processing dependencies for tornado
>>>

And from now on the package can be used without existing or restarting the process.

Of course you must install autoinstaller first the old fashion way:

>>> import autoinstaller

License

BSD version 3 - created by Massimo Di Pierro (http://experts4solutions.com)