64
GitHub - miedzinski/import-pypi: One dependency to rule them all.
source link: https://github.com/miedzinski/import-pypi
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
README.md
import-pypi
One dependency to rule them all.
Installation
Copy pypi.py
into your site-packages directory or straight into your project.
Don't bother using pip, requirements.txt and all that crap.
Requires Python 3.4+.
Usage
import pypi
That's it. You can now import Django, NumPy, or whatever and it will always be there.
You can also pin your dependencies before importing them
import pypi pypi.install('Django', '2.0.3') import django print(django.__version__) # 2.0.3
License
GNU GPLv3.
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK