venv-pack
Package virtual environments for redistribution
What it is and what it does
Venv-pack is a command-line utility that serializes Python virtual environments into compressed archives for easy distribution and reuse. Instead of shipping source code and requiring users to install dependencies, you package an entire venv—with all installed packages and their exact versions—into a single file that can be extracted and activated on another machine. This eliminates dependency resolution and installation time on the receiving end.
The tool is designed for scenarios where you want to distribute a pre-configured Python environment without relying on package managers or build tools. It fills a niche between shipping source code (which requires installation) and containerization (which is heavier). However, the project has not been maintained since August 2018, and the latest release supports only Python versions up to 3.7, making it a legacy tool for stable, unchanging workflows rather than a foundation for new projects.
Use it for:
- Distribute a pre-configured environment with specific library versions to collaborators without requiring them to run pip install.
- Archive a working venv for long-term reproducibility, ensuring the exact dependency state can be restored years later.
- Share a development environment across team members on the same OS without requiring each to rebuild from requirements.
- Package a venv for deployment to a server where you want to avoid installation overhead and ensure consistency.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Venv-pack packages Python virtual environments into distributable archives that can be extracted and used on other machines without reinstalling dependencies.
No, unless you are maintaining legacy code that already depends on venv-pack. The project is abandoned, last updated in August 2018, and has not been tested against modern Python versions. For new projects, use containerization or modern dependency management tools instead.
Install
venv-pack on PyPI
pip
pip install venv-packuv
uv add venv-packpoetry
poetry add venv-packInstalling venv-pack
Before you install
Installation is straightforward with no runtime dependencies, but the project has been abandoned since late 2022 with no updates for nearly three years. Use only if your workflow is stable and you do not expect ongoing maintenance or compatibility fixes.
License in practice
BSD license is permissive and poses no restrictions on commercial or private use, modification, or redistribution.
Quickstart
pip install venv-pack
venv-pack -p /path/to/venv -o venv.tar.gz
Requires an existing virtual environment to package; last tested against Python 3.7.
Verify before relying
- Whether the tool works reliably with Python versions beyond 3.7, given the last release was in August 2018.
- Compatibility with current virtual environment structures and whether packed environments remain portable across Python patch versions.
Package facts
| License | BSD (permissive) |
| Python support | not specified |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | none |
| Maintenance | abandoned — 2,913 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 379,139/month — #7,112 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: venv_pack-0.2.0-py2.py3-none-any.whl
Keywords: venv, packaging
Tags
More Build Tools packages
Provides reusable utilities for Python…
permissive · top 100 on PyPI
tqdmWraps any iterable to display a real-time…
copyleft · top 100 on PyPI
pippip is the standard installer for Python…
permissive · top 100 on PyPI
hatchlingHatchling is a standards-compliant Python build…
permissive · top 100 on PyPI
grpcio-toolsGenerates Python gRPC service stubs and message…
permissive · top 1,000 on PyPI
pre-commitpre-commit is a framework for installing and…
permissive · top 1,000 on PyPI
conda-packconda-pack creates relocatable conda…
permissive · top 15,000 on PyPI
ramp-packerBundles Redis modules into distributable…
permissive · top 15,000 on PyPI
conda-package-handlingCreate, extract, and convert conda packages in…
permissive · top 15,000 on PyPI
pexPex generates standalone, executable Python…
permissive · top 5,000 on PyPI
distributeDistribute is a legacy compatibility wrapper…
permissive · top 15,000 on PyPI
relenvRelenv builds self-contained, reproducible…
unclear · top 15,000 on PyPI
arParses and reads ar archive files (.a),…
permissive · top 15,000 on PyPI
wheelA command-line tool for inspecting, converting,…
permissive · top 100 on PyPI
cmeelcmeel is a PEP 517 build backend that packages…
permissive · top 5,000 on PyPI
patoolPatool is a command-line archive manager that…
copyleft · top 5,000 on PyPI