Pipenv Python Environment Manager

Pipenv Python Environment Manager

github.com

2

About this website

Pipenv is a free and open-source Python development workflow tool that unifies package management (pip) and virtual environment management (virtualenv) into a single tool. Created by Kenneth Reitz (creator of the Requests library) in January 2017, Pipenv was adopted as the official Python packaging recommendation by the Python Packaging Authority (PyPA). Key features: Pipfile: replaces requirements.txt with a TOML-formatted file declaring [packages] and [dev-packages] sections with version constraints (e.g., requests = '~=2.28'). Pipfile.lock: generated JSON lock file pinning exact versions of all dependencies including transitive ones, with SHA-256 hashes for security verification. Virtual environment: Pipenv automatically creates and manages a virtual environment per project, stored centrally (~/.local/share/virtualenvs/) and activated via pipenv run or pipenv shell. Dependency resolution: uses a pip-based resolver to find compatible versions, detecting and reporting conflicts. Installing: pipenv install adds packages and updates Pipfile/Pipfile.lock; --dev for development dependencies. Locking: pipenv lock generates the lock file. Running: pipenv run COMMAND runs in the virtual environment; pipenv shell starts a subshell. Security checking: pipenv check scans installed packages against the Safety vulnerability database. Graph: pipenv graph displays the dependency tree. Python. MIT.

Tags & Categories

Tags

Statistics

2
Views
0
Clicks
0
Like
0
Dislike

Comments

Log In to post a comment

No comments yet. Be the first!