Translate pip requirements into conda requirements
Project description
pip2conda
pip2conda is a tool to translate pip-style requirements into conda
requirements.
pip2conda2 uses build to generate
the metadata for a project, and then parses out the build and
runtime requirements for the project - including unpackging extras and
evaluating environment markers - before matching 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.
For example, running pip2conda in the base directory for its own
project repository does this:
$ pip2conda
build
grayskull>=1.0.0
packaging
python>=3.10
requests
ruamel.yaml
setuptools-scm>=3.4.3
setuptools>=61.0
wheel
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pip2conda-0.4.1.tar.gz.
File metadata
- Download URL: pip2conda-0.4.1.tar.gz
- Upload date:
- Size: 26.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
edd07bf3d34cf70fa22b550f82c664433c54ec35e2e173a2d0d78bc86398b932
|
|
| MD5 |
1b5f3b94bd6397f2a250ae9a81a44405
|
|
| BLAKE2b-256 |
bdf961d64302b367940a372d0a15f237dce3ec68dd0c09c66ba17eddab953259
|
File details
Details for the file pip2conda-0.4.1-py3-none-any.whl.
File metadata
- Download URL: pip2conda-0.4.1-py3-none-any.whl
- Upload date:
- Size: 24.4 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9f96ee00078d88cc48867c693e458e2bf07988f75b2b8301f682b19779bf2bf9
|
|
| MD5 |
6e1e74a4fd08ddf9e51ab05c1367ddc7
|
|
| BLAKE2b-256 |
732a938ce9b7211fd223aee04b9f2651d347300be0e8b5d637319a2de02264b6
|