Skip to content

mdipierro/autoinstaller

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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)

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages