pip2conda
pip2conda is a tool to translate pip-style requirements into conda
requirements.
pip2conda reads or generates the metadata for a project,
evaluating the build (if possible) and runtime requirements - including unpacking
extras, dependency groups, and evaluating environment markers - before translating each requirement
into a conda-forge requirement suitable for installation with conda/mamba.
Installation
For best results, please install from conda-forge:
conda install -c conda-forge pip2conda
You can also install directly from PyPI:
python -m pip install pip2conda
Basic Usage
Just execute pip2conda from the base of your project directory, or point
it at a wheel file for any project.
For example, running pip2conda in the base directory for its own
project repository does this:
$ pip2conda
build
grayskull>=1.0.0
packaging
python>=3.11
requests
ruamel.yaml
setuptools-scm>=3.4.3
setuptools>=61.0
wheel
For more details, see the online documentation at
https://pip2conda.readthedocs.io
Dependency group configuration
pip2conda supports both standard PEP 735 dependency groups and custom
pip2conda-specific dependency groups:
# Standard dependency groups
[dependency-groups]
test = ["pytest", "coverage"]
# Custom pip2conda dependency groups (for conda-only packages)
[tool.pip2conda.dependency-groups]
conda = ["my-conda-only-package"]
Use them with the -g/--dependency-group flag:
$ pip2conda -g test
$ pip2conda -g conda
$ pip2conda --all-groups # Include all groups
Metadata
Release files for pip2conda 0.10.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| pip2conda-0.10.0.tar.gz | 43.4 kB | Without provenance | Details for pip2conda-0.10.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| pip2conda-0.10.0-py3-none-any.whl | Python 3 | none | any | Details for pip2conda-0.10.0-py3-none-any.whl |
Total release size: 77.3 kB
Release files / pip2conda-0.10.0.tar.gz
| Download URL | pip2conda-0.10.0.tar.gz |
|---|---|
| Size | 43.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
ab15e3c8c075e480bb327089ff72a69d15802d2195c608d4a646d0b17166e6e1
|
|
BLAKE2b-256 checksum How to use checksums |
70e7234576876499676a8303381d7d0e7a9a9e484c7d334f637530a471437d8a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / pip2conda-0.10.0-py3-none-any.whl
| Download URL | pip2conda-0.10.0-py3-none-any.whl |
|---|---|
| Size | 33.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
6e3dc0313119cd7652fe9ccad8f32c4d201593a1551c07c105bf9f56a5bf487c
|
|
BLAKE2b-256 checksum How to use checksums |
0a28d322646f7ebf6ce3184a7114b26a04e4bb7d136ebe34b5fa7367149dac97
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.11.6 {"installer":{"name":"uv","version":"0.11.6","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Debian GNU/Linux","version":"13","id":"trixie","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for pip2conda 0.10.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.