# Pipenv

Python dependency and virtual\-environment manager with Pipfile and lockfile workflows\.

ID: Q337 · Revision: 323

Type: software · License: MIT[^pipenv-license] · Status: active

Website: https://pipenv.pypa.io/



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\.[^pipenv][^pipenv-lock]

## 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\.[^pipenv-file]

## 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\.[^pipenv-env]

## 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\.[^pipenv-lock]

## 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\.[^pipenv-lock][^pipenv-file]

## 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\.[^pipenv][^pipenv-license][^pipenv-env]

## Substitution considerations

Pipenv can substitute for [Poetry](/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\.[^pipenv][^pipenv-lock][^poetry-basic]

## Capabilities and substitutions

### Locked dependencies — supported

Records exact versions and hashes and installs from a lock\.[^pipenv-file]

Use case: Dependency and environment management · Platforms: Windows, macOS, Linux · Region: Package availability and runtime requirements apply

### Standard lock interoperability — limited

pylock takes priority when present; some source types remain listed as future enhancements\.[^pipenv-lock]

Use case: Dependency and environment management · Platforms: Windows, macOS, Linux · Region: Package availability and runtime requirements apply

### [Substitute for Poetry](/poetry) — limited

Candidate for dependency\-focused development environments; project metadata and packaging workflows differ\.[^pipenv][^poetry-basic]

Use case: Dependency and environment management · Platforms: Windows, macOS, Linux · Region: Package availability and runtime requirements apply

## References

[^pipenv-license]: [Pipenv license](<https://github.com/pypa/pipenv/blob/main/LICENSE>) — MIT license (vendor; retrieved 2026-10-07T04:32:28Z)

[^pipenv]: [Pipenv introduction](<https://pipenv.pypa.io/en/latest/>) — Unified pip/virtualenv workflow; platform support (vendor; retrieved 2026-10-07T04:33:04Z)

[^pipenv-lock]: [Pipenv pylock support](<https://pipenv.pypa.io/en/latest/pylock.html>) — pylock precedence; pyproject skeleton; future VCS/local/archive support (vendor; retrieved 2026-10-07T04:33:17Z)

[^pipenv-file]: [Pipfile and lockfile](<https://pipenv.pypa.io/en/latest/pipfile.html>) — Exact versions/hashes; requirements import/export; sync (vendor; retrieved 2026-10-07T04:32:14Z)

[^pipenv-env]: [Pipenv environments](<https://pipenv.pypa.io/en/latest/virtualenv.html>) — Automatic environments; path\-based identity; local \.venv (vendor; retrieved 2026-10-07T04:32:42Z)

[^poetry-basic]: [Poetry basic usage](<https://python-poetry.org/docs/basic-usage/>) — Package/non\-package modes; pyproject and lockfile; virtual environments (vendor; retrieved 2026-10-07T04:32:28Z)

Source revision: https://substitutefor.net/entities/Q337?revision=323
