Skip to main content

Unified Conda and Pip requirements management.

Project description

:rocket: conda-join - Unified Conda and Pip Requirements Management :rocket:

PyPI Build Status CodeCov

conda_join is a Python package designed to streamline the management and combination of multiple requirements.yaml files into a single Conda environment.yaml. This tool is ideal for projects with multiple subcomponents, each having its own dependencies, simplifying the process of creating a unified Conda environment. 🖥️🔥

:books: Table of Contents

:package: Installation

To install conda_join, run the following command:

pip install -U conda_join

Or just copy the script to your computer:

wget https://raw.githubusercontent.com/basnijholt/requirements.yaml/main/conda_join.py

:memo: Usage

After installation, you can use conda_join to scan directories for requirements.yaml files and combine them into an environment.yaml file. Basic usage is as follows:

conda_join -d [DIRECTORY] --depth [DEPTH] -o [OUTPUT_FILE]
  • -d or --directory: Specify the base directory to scan (default is current directory).
  • --depth: Specify the depth for scanning subdirectories (default is 1).
  • -o or --output: Specify the output file for the combined environment (default is environment.yaml).

For more options, use:

</code></pre>
<!-- OUTPUT:END -->
<h2>:wrench: Advanced Configuration</h2>
<p><code>conda_join</code> allows advanced configurations such as verbose output and printing to <code>stdout</code> instead of a file.</p>
<ul>
<li>To enable verbose output, use the <code>-v</code> or <code>--verbose</code> flag.</li>
<li>To print the combined environment to <code>stdout</code> instead of saving to a file, use the <code>--stdout</code> flag.</li>
</ul>
<p>Example with advanced options:</p>
<pre lang="bash"><code>conda_join -d src --depth 2 -o dev_environment.yaml --verbose

:scroll: Output Options

  • The output environment.yaml file will contain a unified list of dependencies from all scanned requirements.yaml files.
  • If the --stdout flag is used, the combined environment will be printed to the console.

:warning: Limitations

  • The current version of conda_join does not support conflict resolution between different versions of the same package in multiple requirements.yaml files.
  • Designed primarily for use with Conda environments; may not fully support other package management systems.

Try conda_join today for a streamlined approach to managing your Conda environment dependencies across multiple projects! 🎉👏

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

conda_join-0.1.0.tar.gz (6.4 kB view details)

Uploaded Source

Built Distribution

conda_join-0.1.0-py3-none-any.whl (5.3 kB view details)

Uploaded Python 3

File details

Details for the file conda_join-0.1.0.tar.gz.

File metadata

  • Download URL: conda_join-0.1.0.tar.gz
  • Upload date:
  • Size: 6.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for conda_join-0.1.0.tar.gz
Algorithm Hash digest
SHA256 49249cc68022c10ccd5a523b74fa0959a79e8082fb01c00c011ee6cdd3df7025
MD5 6f2c9f35086ce461c89ece6b336cd698
BLAKE2b-256 e98bc6d8b734bf12bc784601e23beb8082dc267961cb320410e93241659d3dfd

See more details on using hashes here.

File details

Details for the file conda_join-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: conda_join-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 5.3 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for conda_join-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ee938cd75ac131964ae34ecd45b8449fe9a60a14d83ab73d1dde6a2efe8d5b91
MD5 5b32dd4bd2e010d08ad339d20340ec48
BLAKE2b-256 154256ca155ddc2b41b426e442aea3c6a689cf643f760c46566eaf692776b91b

See more details on using hashes here.

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