{"id":19657727,"url":"https://github.com/esss/conda-devenv","last_synced_at":"2025-04-05T00:10:10.331Z","repository":{"id":14780339,"uuid":"77082243","full_name":"ESSS/conda-devenv","owner":"ESSS","description":"A conda tool to work with multiple projects in development mode.","archived":false,"fork":false,"pushed_at":"2025-02-11T10:58:45.000Z","size":371,"stargazers_count":119,"open_issues_count":17,"forks_count":19,"subscribers_count":34,"default_branch":"master","last_synced_at":"2025-03-28T23:09:15.233Z","etag":null,"topics":["anaconda","conda","hacktoberfest"],"latest_commit_sha":null,"homepage":"","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/ESSS.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","contributing":"CONTRIBUTING.rst","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":"2016-12-21T20:01:16.000Z","updated_at":"2025-02-11T10:58:46.000Z","dependencies_parsed_at":"2023-12-19T12:18:09.792Z","dependency_job_id":"4474022d-a357-4581-b055-b51c491b1a62","html_url":"https://github.com/ESSS/conda-devenv","commit_stats":{"total_commits":300,"total_committers":30,"mean_commits":10.0,"dds":0.8166666666666667,"last_synced_commit":"ff879a83fd88d4e9322b085f16f80ccc5d93f7af"},"previous_names":[],"tags_count":37,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ESSS%2Fconda-devenv","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ESSS%2Fconda-devenv/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ESSS%2Fconda-devenv/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ESSS%2Fconda-devenv/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ESSS","download_url":"https://codeload.github.com/ESSS/conda-devenv/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247266565,"owners_count":20910836,"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":["anaconda","conda","hacktoberfest"],"created_at":"2024-11-11T15:33:23.879Z","updated_at":"2025-04-05T00:10:10.314Z","avatar_url":"https://github.com/ESSS.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"============\nconda-devenv\n============\n\n.. image:: https://github.com/ESSS/conda-devenv/workflows/main/badge.svg\n    :target: https://github.com/ESSS/conda-devenv/actions\n\n.. image:: https://readthedocs.org/projects/conda-devenv/badge/?version=latest\n    :target: https://conda-devenv.readthedocs.io/en/latest/?badge=latest\n    :alt: Documentation Status\n\n.. image:: https://img.shields.io/conda/vn/conda-forge/conda-devenv.svg\n    :target: https://anaconda.org/conda-forge/conda-devenv\n\n.. image:: https://anaconda.org/conda-forge/conda-devenv/badges/downloads.svg\n    :target: https://anaconda.org/conda-forge/conda-devenv\n\n.. image:: https://anaconda.org/conda-forge/conda-devenv/badges/installer/conda.svg\n    :target: https://anaconda.org/conda-forge/conda-devenv\n\n\n``conda-devenv`` is ``conda`` extension to work with multiple projects in development mode.\n\nIt works by processing ``environment.devenv.yml`` files, similar to how ``conda env``\nprocesses ``environment.yml`` files, with this additional features:\n\n* `Jinja 2 \u003chttp://jinja.pocoo.org/docs/2.9/\u003e`_ support: gives more flexibility to the environment\n  definition, for example making it simple to conditionally add dependencies based on platform.\n\n* ``include`` other ``environment.devenv.yml`` files: this allows you to easily work in several\n  dependent projects at the same time, managing a single ``conda`` environment with your dependencies.\n\n* **Environment variables**: you can define a ``environment:`` section with environment variables\n  that should be defined when the environment is activated.\n\nHere's a simple ``environment.devenv.yml`` file:\n\n.. code-block:: yaml\n\n    {% set conda_py = os.environ.get('CONDA_PY', '35') %}\n    name: web-ui-py{{ conda_py }}\n\n    includes:\n      - {{ root }}/../core-business/environment.devenv.yml\n\n    dependencies:\n      - gcc  # [linux]\n\n    environment:\n      PYTHONPATH:\n        - {{ root }}/src\n      STAGE: DEVELOPMENT\n\n\nTo use this file, execute:\n\n.. code-block:: console\n\n    $ cd ~/projects/web-ui\n    $ conda devenv\n    \u003e Executing: conda env update --file environment.yml --prune\n    Fetching package metadata .........\n    Solving package specifications: ..........\n    Linking packages ...\n    [      COMPLETE      ]|############################| 100%\n    #\n    # To activate this environment, use:\n    # \u003e source activate web-ui-py35\n    #\n    # To deactivate this environment, use:\n    # \u003e source deactivate web-ui-py35\n    #\n\n    $ source activate web-ui-py35\n\n    $ env PYTHONPATH\n    /home/user/projects/web-ui/src\n\n    $ echo $STAGE\n    DEVELOPMENT\n\nmamba support\n-------------\n\n``conda-devenv`` also supports `mamba \u003chttps://mamba.readthedocs.io/en/latest/\u003e`_.\n\nAs of today ``mamba`` is not auto detected and to use it with ``conda-devenv`` you can:\n\n* Use the ``--env-manager`` (short version ``-e``), like ``mamba devenv -e mamba`` or ``conda devenv -e mamba``.\n\n* Define the environment variable ``CONDA_DEVENV_ENV_MANAGER=mamba``.\n\n* Call directly ``mamba-devenv`` (this normally work just in the conda's base envaronment).\n\n\nDocumentation\n-------------\n\nhttps://conda-devenv.readthedocs.io.\n\nDevelopment\n-----------\n\nPlease see `CONTRIBUTING \u003cCONTRIBUTING.rst\u003e`_.\n\n\nLicense\n-------\n\nFree software: MIT license\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesss%2Fconda-devenv","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fesss%2Fconda-devenv","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fesss%2Fconda-devenv/lists"}