Python Development Workflow for Humans
open sourceMITfree
Pipenv is the Python Packaging Authority's virtualenv management tool that combines pip, virtualenv and the Pipfile in one interface. It creates a virtual environment for each project automatically, adds and removes packages in the Pipfile as you install them, and writes a Pipfile.lock with hashes that are verified on install, so builds are reproducible. It separates development from production dependencies (and other package categories), loads .env files, shows the dependency graph with pipenv graph, and installs the required Python version when pyenv or asdf is available. It runs on Linux, macOS and Windows.
Problems it solves
- manage a Python project's virtualenv and dependencies without running pip and virtualenv separately
- lock Python dependencies with hashes so every machine installs the same versions
- keep development and production Python dependencies apart
- load environment variables from a .env file when running my Python project
Features
- automatic per-project virtualenv creation
- Pipfile and Pipfile.lock with hash-verified installs
- development, production and custom package categories
- automatic .env loading
- dependency graph with pipenv graph
- installs the required Python version with pyenv or asdf
Alternatives
The same job
These do what Pipenv does.
