Pipenv Crash Course – Download



Create a better Python workflow by using Pipenv which allows you to install Python packages within a virtual environment easily.

Sponsor: DevMountain Bootcamp
https://goo.gl/6q0dEa

Pipenv Cheat Sheet:

Pipenv Cheat Sheet

Install pipenv

pip3 install pipenv

Activate

pipenv shell

Check version of Python

python --version

Check path

python
>>> import sys
>>> sys.executable
quit()

Install a package

pipenv install camelcase

Check local packages

pipenv lock -r

Uninstall a package

pipenv uninstall camelcase

Install a dev package

pipenv install nose --dev

Install from requirements.txt

pipenv install -r ./requirements.txt

Check security vulnerabilities

pipenv check

Check dependency graph

pipenv graph

Ignore pipfile

pipenv install --ignore-pipfile

Set lockfile – before deployment

pipenv lock

Exiting the virtualenv

exit

Run with pipenv

pipenv run *

Become a Patron: Show support & get perks!
http://www.patreon.com/traversymedia

Website & Udemy Courses
http://www.traversymedia.com

Follow Traversy Media:
https://www.facebook.com/traversymedia

https://www.instagram.com/traversymedia

Source

Do you love us?, Please donate to us ,thank you. BTC 38WPVc3xMYmoMp1GcnpDXd1fEzbfgujsCB Etherum 0x6c11844FD079b2490CDd44039e1C2f0940d098dc

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.