Skip to main content

Tool for merging conda environment files

Project description

Tool for merging Conda (Anaconda) environment files into one file. This is used to merge your application environment file with any other environment file you might need (e.g. unit-tests, debugging, jupyter notebooks) and create a consistent environment without breaking dependencies from the previous environment files.

Installation:

pip install conda-merge

Usage:

conda-merge FILE1 FILE2 ... FILE-N > OUTPUT-FILE

A common problem with multiple environment files is that of pinned dependencies: let’s say environment.yml contains the dependency numpy=1.7, and your dev-environment.yml contains pandas as a dependency. If you sequentially apply the environment files (conda env update -f environment.yml and then conda env update -f dev-environment.yml) numpy will no longer be pinned and will be upgraded to the latest version.

One option to solve it is by using the pinned dependencies file in the environment directory, but this means storing your dependencies in another file which interacts with environment.yml, and makes the dependencies less clear to other users. This script enables you to merge the two environemnt files and then run only one conda env command to apply the change.

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-merge-0.1.5.tar.gz (4.6 kB view details)

Uploaded Source

Built Distribution

conda_merge-0.1.5-py3-none-any.whl (5.7 kB view details)

Uploaded Python 3

File details

Details for the file conda-merge-0.1.5.tar.gz.

File metadata

  • Download URL: conda-merge-0.1.5.tar.gz
  • Upload date:
  • Size: 4.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for conda-merge-0.1.5.tar.gz
Algorithm Hash digest
SHA256 dafa84987e14177037e3a0de2fe62d09f867bc4ca2f7895b2f70490e6499c1fa
MD5 877a4f497af2b2548bac0b333a3a1e9c
BLAKE2b-256 a77897740a8f140fda3953ecdf302bef490041b55fe700f522d09ed8f8ec34aa

See more details on using hashes here.

File details

Details for the file conda_merge-0.1.5-py3-none-any.whl.

File metadata

  • Download URL: conda_merge-0.1.5-py3-none-any.whl
  • Upload date:
  • Size: 5.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/1.14.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.0.1 requests-toolbelt/0.9.1 tqdm/4.35.0 CPython/3.7.4

File hashes

Hashes for conda_merge-0.1.5-py3-none-any.whl
Algorithm Hash digest
SHA256 279c58115133f4643cfc7ac52c19af577fbe09b1ec7d49c94edf54cd3fb04242
MD5 ffb71ca867b6eecdd454f3aec0bed3bf
BLAKE2b-256 284cbf58b30bd3de050738aa68fb53bb4f94de0adfac23341de636cc7c10f28c

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