pyproject2conda
A script to convert a Python project declared on a pyproject.toml to a conda environment.
Decision gist · record as of 2026-08-14
Yes, if you maintain a Python project and need to support both pip and conda users. The tool solves a real workflow problem (single-source dependency management), has low install friction, active maintenance, no known vulnerabilities, and public-domain licensing. The Pre-Alpha status reflects ongoing development but does not indicate instability—the author actively uses it. Install it if you're already using pyproject.toml and want to avoid manually maintaining separate conda environment files.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Requires Python >=3.10; pyproject.toml must contain project.dependencies or project.optional-dependencies sections.
- Low install friction with a pure Python wheel and five lightweight runtime dependencies.
- Actively maintained with a recent release; marked Pre-Alpha but in active use by the author.
License · maintenance · safety
NIST-PD (unclear) — Licensed under NIST-PD (public domain), which places no restrictions on use, modification, or distribution.
last release 2026-05-07 (99 days) · last repo commit 2026-08-14 · 17 stars
0 known vulnerabilities (OSV.dev, 2026-08-14) · 124,601 downloads/mo, #11,861 on PyPI
Alternatives
Verify before relying
pip install pyproject2conda
pyproject2conda yaml --pyproject pyproject.toml
# Output: environment.yaml with conda dependencies extracted from pyproject.toml- Whether the package handles all environment markers correctly in practice.
- Performance characteristics when processing large or complex dependency graphs.
- Compatibility with non-standard pyproject.toml layouts or edge cases in dependency specifications.
What it is and what it does
pyproject2conda is a command-line tool that reads dependency declarations from a Python project's pyproject.toml file and generates conda environment.yaml and requirements.txt files. It solves the problem of maintaining dependency information in two places when working with mixed pip and conda workflows—you declare everything once in pyproject.toml, and the tool generates the conda-compatible output automatically.
The package supports remapping PyPI package names to their conda equivalents (useful when a package has different names in the two ecosystems), filtering dependencies by Python version using standard markers, and optionally including Python version constraints in the output. It integrates with pre-commit hooks to keep generated files in sync with pyproject.toml changes. Dependencies are runtime-minimal: packaging, pydantic, tomli, typer, and typing-extensions.
Use it for
- Keep a single source of truth for dependencies across pip and conda-based development environments.
- Automatically generate environment.yaml files for conda users from a pyproject.toml-based project.
- Remap PyPI package names to conda equivalents where they differ across ecosystems.
- Filter dependencies by Python version and generate version-specific environment files.
- Use pre-commit hooks to ensure environment files stay synchronized with pyproject.toml changes.
- Generate requirements.txt from pyproject.toml for pip-only workflows.
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if you maintain a Python project and need to support both pip and conda users.
The tool solves a real workflow problem (single-source dependency management), has low install friction, active maintenance, no known vulnerabilities, and public-domain licensing. The Pre-Alpha status reflects ongoing development but does not indicate instability—the author actively uses it. Install it if you're already using pyproject.toml and want to avoid manually maintaining separate conda environment files.
Install
pyproject2conda on PyPI
Before you install
Low install friction with a pure Python wheel and five lightweight runtime dependencies. Actively maintained with a recent release; marked Pre-Alpha but in active use by the author.
Requires Python >=3.10; pyproject.toml must contain project.dependencies or project.optional-dependencies sections.
License in practice
Licensed under NIST-PD (public domain), which places no restrictions on use, modification, or distribution.
Quickstart
pip install pyproject2conda
pyproject2conda yaml --pyproject pyproject.toml
# Output: environment.yaml with conda dependencies extracted from pyproject.toml
Verify before relying
- Whether the package handles all environment markers correctly in practice.
- Performance characteristics when processing large or complex dependency graphs.
- Compatibility with non-standard pyproject.toml layouts or edge cases in dependency specifications.
Package facts
| License | NIST-PD unclear |
| Python support | Supports the current Python release >=3.10 |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 5 packagespackagingpydantictomlitypertyping-extensions |
| Maintenance | Actively maintained 99 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 124,601 / month, #11,861 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 2 - Pre-AlphaIntended Audience :: Science/ResearchOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.13Programming Language :: Python :: 3.14Topic :: Scientific/Engineering |
Evidence: pyproject2conda-0.23.1-py3-none-any.whl
Tags
Let your AI agent find packages like this
Example. Real query, live index.
You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.
wish › “pyproject.toml to conda environment”
- pyproject2condaConverts Python project dependencies from pyproject.toml into conda…
- unidepUniDep unifies Conda and Pip dependency management by reading from a…
- conda-injectInjects a conda environment's packages into the current Python…
Give your agent the search over MCP, or paste the wish link into any chat.
More Scientific/Engineering packages
NumPy provides an N-dimensional array object and a comprehensive suite of mathematical, linear algebra, Fourier transform, and random number functions for scientific computing in Python.
pandas provides fast, flexible data structures (Series and DataFrame) for loading, cleaning, transforming, and analyzing labeled or relational data in Python.
scipy provides numerical algorithms for mathematics, science, and engineering—including optimization, integration, linear algebra, Fourier transforms, signal and image processing, and ODE solvers—built on numpy arrays.
scikit-learn provides a comprehensive Python library for supervised and unsupervised machine learning, including classification, regression, clustering, dimensionality reduction, and model evaluation tools built on NumPy and SciPy.
Install it if you need to train, evaluate, or deploy supervised or unsupervised learning models.
dill extends Python's pickle module to serialize and deserialize a much wider range of Python objects, including functions, lambdas, classes, and interpreter sessions, to byte streams for storage or network transmission.
Multiprocess is an enhanced fork of Python's standard multiprocessing library that uses dill for better serialization, allowing you to spawn processes with a threading-like API and share complex objects between them.
Install it if you use multiprocessing and encounter pickle serialization limits with lambdas or complex objects.
See also unidep · uv-sort · sphinx-pyproject · pyproject-dependencies · pyproject-hooks · pyproject-parser · single-source · pyproject-toml · pyproject-api · conda-pack