conda-merge
===========
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 environment files and then run only
one ``conda env`` command to apply the change.
Raw data
{
"_id": null,
"home_page": "https://github.com/amitbeka/conda-merge",
"name": "conda-merge",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3",
"maintainer_email": null,
"keywords": "conda anaconda environment",
"author": "Amit Beka",
"author_email": "amit.beka@gmail.com",
"download_url": "https://files.pythonhosted.org/packages/cd/df/f734458feb8353937b1d820ff46d47a207d1914a206d7574571c9309429f/conda_merge-0.3.1.tar.gz",
"platform": null,
"description": "conda-merge\n===========\n\nTool for merging Conda (Anaconda) environment files into one file.\nThis is used to merge your application environment file with any other\nenvironment file you might need (e.g. unit-tests, debugging, jupyter notebooks)\nand create a consistent environment without breaking dependencies from the\nprevious environment files.\n\n**Installation**:\n\n::\n\n pip install conda-merge\n\n**Usage**:\n\n::\n\n conda-merge FILE1 FILE2 ... FILE-N > OUTPUT-FILE\n\nA common problem with multiple environment files is that of pinned dependencies:\nlet's say ``environment.yml`` contains the dependency ``numpy=1.7``, and your\n``dev-environment.yml`` contains ``pandas`` as a dependency. If you sequentially\napply the environment files (``conda env update -f environment.yml`` and then\n``conda env update -f dev-environment.yml``) ``numpy`` will no longer be pinned\nand will be upgraded to the latest version.\n\nOne option to solve it is by using the pinned dependencies file in the environment\ndirectory, but this means storing your dependencies in another file which interacts\nwith ``environment.yml``, and makes the dependencies less clear to other users.\nThis script enables you to merge the two environment files and then run only\none ``conda env`` command to apply the change.\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Tool for merging conda environment files",
"version": "0.3.1",
"project_urls": {
"Homepage": "https://github.com/amitbeka/conda-merge"
},
"split_keywords": [
"conda",
"anaconda",
"environment"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "cddff734458feb8353937b1d820ff46d47a207d1914a206d7574571c9309429f",
"md5": "cb4b079833fc7e6553ed1e8247fc2e57",
"sha256": "532f5246f143f82aaa4f2698a0b65dfd04bbb691a106cd8ac2613c1b6f25f3fc"
},
"downloads": -1,
"filename": "conda_merge-0.3.1.tar.gz",
"has_sig": false,
"md5_digest": "cb4b079833fc7e6553ed1e8247fc2e57",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3",
"size": 5888,
"upload_time": "2024-11-25T10:02:18",
"upload_time_iso_8601": "2024-11-25T10:02:18.133513Z",
"url": "https://files.pythonhosted.org/packages/cd/df/f734458feb8353937b1d820ff46d47a207d1914a206d7574571c9309429f/conda_merge-0.3.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-11-25 10:02:18",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "amitbeka",
"github_project": "conda-merge",
"travis_ci": false,
"coveralls": false,
"github_actions": false,
"requirements": [
{
"name": "PyYAML",
"specs": []
}
],
"lcname": "conda-merge"
}