{"id":17737742,"url":"https://github.com/tdegeus/conda_envfile","last_synced_at":"2025-06-23T04:34:57.086Z","repository":{"id":60769401,"uuid":"545356615","full_name":"tdegeus/conda_envfile","owner":"tdegeus","description":"Parse conda environment yaml files","archived":false,"fork":false,"pushed_at":"2024-02-23T16:45:26.000Z","size":84,"stargazers_count":5,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-22T16:02:40.519Z","etag":null,"topics":["conda","conda-environment","formatter","parser","pre-commit"],"latest_commit_sha":null,"homepage":"https://conda_envfile.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tdegeus.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2022-10-04T08:12:02.000Z","updated_at":"2024-10-27T10:24:11.000Z","dependencies_parsed_at":"2023-02-10T03:31:30.869Z","dependency_job_id":"78981633-5ab5-4898-a46a-8c634d3367c5","html_url":"https://github.com/tdegeus/conda_envfile","commit_stats":{"total_commits":47,"total_committers":2,"mean_commits":23.5,"dds":"0.021276595744680882","last_synced_commit":"372dc49138c8f2c7c6783c05a791f7d22de32662"},"previous_names":[],"tags_count":16,"template":false,"template_full_name":null,"purl":"pkg:github/tdegeus/conda_envfile","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Fconda_envfile","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Fconda_envfile/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Fconda_envfile/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Fconda_envfile/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tdegeus","download_url":"https://codeload.github.com/tdegeus/conda_envfile/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tdegeus%2Fconda_envfile/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":261415951,"owners_count":23155030,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["conda","conda-environment","formatter","parser","pre-commit"],"created_at":"2024-10-26T01:42:33.865Z","updated_at":"2025-06-23T04:34:52.033Z","avatar_url":"https://github.com/tdegeus.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![ci](https://github.com/tdegeus/conda_envfile/workflows/CI/badge.svg)](https://github.com/tdegeus/conda_envfile/actions)\n[![Documentation Status](https://readthedocs.org/projects/conda_envfile/badge/?version=latest)](https://conda_envfile.readthedocs.io/en/latest/?badge=latest)\n[![pre-commit](https://github.com/tdegeus/conda_envfile/workflows/pre-commit/badge.svg)](https://github.com/tdegeus/conda_envfile/actions)\n[![pre-commit](https://img.shields.io/badge/pre--commit-enabled-brightgreen?logo=pre-commit\u0026logoColor=white)](https://github.com/pre-commit/pre-commit)\n[![Conda Version](https://img.shields.io/conda/vn/conda-forge/conda_envfile.svg)](https://anaconda.org/conda-forge/conda_envfile)\n\n**Documentation: [https://conda_envfile.readthedocs.io](conda_envfile.readthedocs.io)**\n\n# conda_envfile\n\nProvides a Python library, command line tools, and pre-commit tools to manage conda environment files.\n\n## Command line\n\n### conda_envfile_merge\n\nMerge different environment files.\nFor example:\n\n```bash\nconda_envfile_merge -a \"extra-library\" env1.yml env2.yml \u003e env3.yml\n```\n\nmerges `env1.yml` and `env2.yml` and adds the package `extra-library` to the merged environment file `env3.yml`.\n\n### conda_envfile_diff\n\nShow the difference between two environment files.\nFor example:\n\n```bash\nconda_envfile_diff env1.yml env2.yml\n```\n\n## pre-commit\n\n### conda_envfile_parse\n\nKeep your `environment.yaml` file unique, sorted, and legal in terms of version limitations.\nIn your `.pre-commit-config.yaml`, add:\n\n```yaml\n- repo: https://github.com/tdegeus/conda_envfile\n  rev: v0.5.0\n  hooks:\n  - id: conda_envfile_parse\n    files: \"environment.yaml\"\n```\n\n### conda_envfile_pyproject\n\nKeep your `pyproject.toml` and `environment.yaml` in sync.\nIn your `.pre-commit-config.yaml`, add:\n\n```yaml\n- repo: https://github.com/tdegeus/conda_envfile\n  rev: v0.5.0\n  hooks:\n  - id: conda_envfile_pyproject\n    files: \"environment.yaml\"\n```\n\n## Python\n\nCombine different version restrictions. For example:\n\n```python\nimport conda_envfile\n\nlist(map(str, conda_envfile.unique(\"foo \u003e1.2.0\", \"foo =1.2.*\")))\n```\n\nwhich returns\n\n```python\n[\"foo \u003e1.2.0, \u003c1.3.0\"]\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdegeus%2Fconda_envfile","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftdegeus%2Fconda_envfile","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftdegeus%2Fconda_envfile/lists"}