Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/mdipierro/autoinstaller
https://github.com/mdipierro/autoinstaller
Last synced: 13 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/mdipierro/autoinstaller
- Owner: mdipierro
- Created: 2016-01-27T05:07:29.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-27T20:01:33.000Z (almost 9 years ago)
- Last Synced: 2024-07-24T13:59:23.116Z (4 months ago)
- Language: Python
- Size: 6.84 KB
- Stars: 104
- Watchers: 5
- Forks: 11
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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 tornadoBut 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)