conda-pack
Package conda environments for redistribution
What it is and what it does
conda-pack is a command-line tool that bundles a conda environment into a portable, compressed archive suitable for deployment to machines where conda may not be installed. It solves the problem of environment consistency across development, testing, and production by capturing the exact state of an environment—all dependencies, versions, and configurations—and making it relocatable.
The tool is typically used in deployment pipelines, containerization workflows, or when distributing reproducible computational environments to collaborators or production systems. It depends only on setuptools and integrates with the conda ecosystem, making it a lightweight addition to existing conda-based workflows.
Use it for:
- Package a data science environment with specific library versions for deployment to a production server without conda.
- Create portable environments for sharing reproducible research or analysis workflows with collaborators.
- Bundle Python environments for deployment in restricted environments where conda installation is not permitted.
- Simplify CI/CD pipelines by pre-packing tested environments instead of rebuilding them on each deployment.
- Archive development environments for long-term reproducibility or compliance documentation.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
conda-pack creates relocatable conda environments as compressed archives that can be deployed and extracted on other machines without requiring conda or Python to be pre-installed.
Yes. conda-pack is actively maintained, has low install friction, carries no known vulnerabilities, and solves a real problem in conda-based deployment workflows. It is permissively licensed and supports current Python versions. Install it if you need to distribute conda environments across machines or into restricted environments.
Install
conda-pack on PyPI
pip
pip install conda-packuv
uv add conda-packpoetry
poetry add conda-packInstalling conda-pack
Before you install
Low install friction with a single runtime dependency (setuptools). Active maintenance with a recent release 59 days ago and ongoing repository activity; last commit on 2026-08-10 indicates current development.
License in practice
BSD-3-Clause is a permissive license with minimal restrictions—you can use, modify, and distribute conda-pack freely in commercial and private projects provided you include the license notice.
Quickstart
pip install conda-pack
from conda_pack import pack_conda
pack_conda(name='my-env', output='my-env.tar.gz')
Requires an active conda installation to pack existing environments; the tool itself is Python-based but operates on conda environments.
Verify before relying
- Whether the package supports packing conda environments created with mamba or other conda-compatible managers.
- Performance characteristics when packing very large environments (size, time, memory usage).
- Compatibility guarantees when unpacking on different operating systems or architectures.
Package facts
| License | BSD-3-Clause (permissive) |
| Python support | supports the current Python release (>=3.9) |
| Install friction | low — pure-Python wheel |
| Runtime dependencies | 1 — setuptools |
| Maintenance | actively maintained — 59 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 159,874/month — #10,686 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: conda_pack-0.9.2-py3-none-any.whl
Keywords: conda, 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
relenvRelenv builds self-contained, reproducible…
unclear · top 15,000 on PyPI
venv-packVenv-pack packages Python virtual environments…
permissive · top 15,000 on PyPI
ensurecondaA CLI tool that finds or installs a conda/mamba…
permissive · top 15,000 on PyPI
virtualenv-cloneClones an existing Python virtualenv to a new…
permissive · top 5,000 on PyPI
lifelineslifelines implements survival analysis…
permissive · top 5,000 on PyPI
pyproject2condaConverts Python project dependencies from…
unclear · top 15,000 on PyPI
cf-unitscf-units provides units of measure as defined…
permissive · top 15,000 on PyPI
distributeDistribute is a legacy compatibility wrapper…
permissive · top 15,000 on PyPI
conda-package-handlingCreate, extract, and convert conda packages in…
permissive · top 15,000 on PyPI
archProvides ARCH/GARCH volatility models, unit…
unclear · top 5,000 on PyPI