Pipenv Python dependency and virtual-environment manager with Pipfile and lockfile workflows.
Overview Pipenv combines Python dependency management and virtual environments in a project-oriented command-line workflow. It maintains requirements in Pipfile and resolved dependencies in Pipfile.lock, while handling environment creation and command execution. Current documentation also describes standardized pylock.toml support, which adds a distinct interoperability path and selection rules.[2] [3]
Contents Requirements and locks Pipfile.lock records exact direct and transitive dependency versions together with package hashes and metadata. Syncing installs the recorded dependency set. Requirements files can be imported into a project or generated from its lockfile for other tools. This exchange is useful, but a list of packages should not be confused with every aspect of a project's environment configuration.[4]
Project environments Pipenv normally keeps virtual environments in a centralized location, using a name derived from the project directory and a hash of its path. It can instead use a project-local .venv, including detecting one that already exists. Consequently, locating or moving a project can involve environment-discovery details beyond copying its source files.[5]
Standardized lockfile support When pylock.toml and Pipfile.lock both exist, the documented workflow gives pylock.toml priority for installation and synchronization. Pipenv can generate standardized locks and read pyproject dependency declarations. However, the documented conversion from pyproject initially creates a skeleton whose versions and hashes still need resolution; the presence of that file alone is not a fully resolved environment.[3]
Interchange qualifications The pylock documentation lists VCS packages, local directories and direct archives among future enhancements. Users depending on those sources should therefore verify the specific workflow before relying on standardized-lock interchange. Hash recording provides integrity information for selected artifacts, but should not be treated as a complete assessment of the behavior or trustworthiness of the packages themselves.[3] [4]
Platforms and license Pipenv's documentation treats Linux, macOS and Windows as supported platforms. The project uses the MIT license. Its virtual environments isolate project packages from other Python environments; choosing the appropriate interpreter and retaining external project inputs remain part of recreating a working application.[1] [2] [5]
Substitution considerations Pipenv can substitute for Poetry when the main requirement is a managed Python development environment with reproducible dependency records. Its Pipfile-centered workflow and current pylock support differ from Poetry's project and packaging modes. A switch should check dependency sources, lock selection and any package-publication steps that lie outside this comparison.[2] [3] [6]
References Pipenv license MIT license
vendor · retrieved 2026-10-07 Pipenv introduction Unified pip/virtualenv workflow; platform support
vendor · retrieved 2026-10-07 Pipenv pylock support pylock precedence; pyproject skeleton; future VCS/local/archive support
vendor · retrieved 2026-10-07 Pipfile and lockfile Exact versions/hashes; requirements import/export; sync
vendor · retrieved 2026-10-07 Pipenv environments Automatic environments; path-based identity; local .venv
vendor · retrieved 2026-10-07 Poetry basic usage Package/non-package modes; pyproject and lockfile; virtual environments
vendor · retrieved 2026-10-07 Also included: 2 capabilities and 0 substitute relationships. Check substitutes in section 1 and capabilities in section 3.