Cheatography
https://cheatography.com
A quick reference for pipenv that captures all of its useful commands/operations.
This is a draft cheat sheet. It is a work in progress and is not finished yet.
Package installation
pipenv install <pkg name>
|
pipenv install <pkg name>==<ver>
|
|
pipenv install flask==0.12.1
|
pipenv install -e git+https://github.com/requests/requests.git#egg=requests
|
Production Environment based package Install
pipenv install pytest --dev
|
Activate your pipenv environment
Deactivate your pipenv environment
Running a script
pipenv run python scripts.py
|
Run other commands in the env
pipenv run <insert command here>
|
Run other commands in the env
pipenv run <insert command here>
|
Install from requirements.txt
pipenv install -r pathto/requirements.txt
|
Uninstall a Package
pipenv uninstall <pkg name> |
pipenv uninstall --all |
--all
to uninstall all packages
|