Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/miedzinski/import-pypi
One dependency to rule them all
https://github.com/miedzinski/import-pypi
Last synced: 2 months ago
JSON representation
One dependency to rule them all
- Host: GitHub
- URL: https://github.com/miedzinski/import-pypi
- Owner: miedzinski
- License: gpl-3.0
- Created: 2018-03-29T09:43:00.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2018-04-10T12:20:37.000Z (almost 7 years ago)
- Last Synced: 2024-08-04T04:04:05.192Z (6 months ago)
- Language: Python
- Homepage:
- Size: 11.7 KB
- Stars: 196
- Watchers: 5
- Forks: 5
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- starred-awesome - import-pypi - One dependency to rule them all. (Python)
README
# import-pypi
One dependency to rule them all.
[![asciicast](https://asciinema.org/a/173095.png)](https://asciinema.org/a/173095)
# 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
```python
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
```python
import pypipypi.install('Django', '2.0.3')
import django
print(django.__version__) # 2.0.3
```# License
GNU GPLv3.