Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/mdipierro/autoinstaller


https://github.com/mdipierro/autoinstaller

Last synced: 13 days ago
JSON representation

Awesome Lists containing this project

README

        

# 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 "", line 1, in
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)