A script to convert a Python project declared in pyproject.toml to a conda environment.yml. Current version 0.22.1, updated monthly by US National Institute of Standards and Technology.
pip install pyproject2condaVerified import paths — ran on the pinned version, not inferred.
Convert pyproject.toml to conda environment.yml
Use --pip-only flag or configure channels in your pyproject.toml.
Replace dashes with underscores in config file keys (e.g., 'output-file' -> 'output_file').
Upgrade Python to 3.10 or later.