skillfed

conda-pack

Package conda environments for redistribution

conda-pack v0.9.2 159.9K downloads/30d#10,686 on PyPI575
Permissive license BSD-3-Clause Active released

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-pack

uv

uv add conda-pack

poetry

poetry add conda-pack

Installing 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

Development Status :: 4 - BetaProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.9Topic :: Software Development :: Build ToolsTopic :: System :: Archiving :: PackagingTopic :: System :: Software Distribution

Tags

conda environment packagingrelocatable conda environmentsconda deployment archivepackage conda for distributionconda environment redistributionportable conda setupconda environment portability
conda-deploymentenvironment-packagingreproducibility

More Build Tools packages