Skip to main content

Translate pip requirements into conda requirements

Project description

pip2conda

pip2conda is a tool to translate pip-style requirements into conda requirements.

pip2conda2 reads or generates the metadata for a project, evaluating the build (if possible) and runtime requirements - including unpackging extras and evaluating environment markers - before translating each requirement into a conda-forge requirement suitable for installation with conda/mamba.

PyPI version Conda version License Supported Python versions DOI

Build status Documentation status Coverage status Maintainability

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.10
requests
ruamel.yaml
setuptools-scm>=3.4.3
setuptools>=61.0
wheel

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pip2conda-0.5.1.tar.gz (27.2 kB view hashes)

Uploaded Source

Built Distribution

pip2conda-0.5.1-py3-none-any.whl (25.3 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page