{"id":44425992,"url":"https://github.com/luffy-yu/conda_env_export","last_synced_at":"2026-02-12T10:30:21.644Z","repository":{"id":47053716,"uuid":"316876355","full_name":"luffy-yu/conda_env_export","owner":"luffy-yu","description":"Export conda env dependencies and pip requirements to ONE yml file.","archived":false,"fork":false,"pushed_at":"2026-02-05T16:13:13.000Z","size":310,"stargazers_count":5,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-02-06T02:36:35.904Z","etag":null,"topics":["conda","pip","pypi"],"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/luffy-yu.png","metadata":{"files":{"readme":"README.rst","changelog":"HISTORY.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":"AUTHORS.rst","dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2020-11-29T04:35:27.000Z","updated_at":"2025-12-16T09:23:13.000Z","dependencies_parsed_at":"2024-09-06T03:16:06.483Z","dependency_job_id":"516aea70-9148-446e-b024-bf47aedc64be","html_url":"https://github.com/luffy-yu/conda_env_export","commit_stats":{"total_commits":29,"total_committers":3,"mean_commits":9.666666666666666,"dds":"0.13793103448275867","last_synced_commit":"2d5b786aa5f4848923b986c790e93dccc0154555"},"previous_names":[],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/luffy-yu/conda_env_export","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffy-yu%2Fconda_env_export","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffy-yu%2Fconda_env_export/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffy-yu%2Fconda_env_export/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffy-yu%2Fconda_env_export/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/luffy-yu","download_url":"https://codeload.github.com/luffy-yu/conda_env_export/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/luffy-yu%2Fconda_env_export/sbom","scorecard":{"id":603241,"data":{"date":"2025-08-11","repo":{"name":"github.com/luffy-yu/conda_env_export","commit":"532dd212ca1f75e7c419d714d82294965b407482"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.8,"checks":[{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Dangerous-Workflow","score":10,"reason":"no dangerous workflow patterns detected","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Token-Permissions","score":0,"reason":"detected GitHub workflow tokens with excessive permissions","details":["Warn: no topLevel permission defined: .github/workflows/main.yml:1","Info: no jobLevel write permissions found"],"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":0,"reason":"dependency not pinned by hash detected -- score normalized to 0","details":["Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:20: update your workflow using https://app.stepsecurity.io/secureworkflow/luffy-yu/conda_env_export/main.yml/master?enable=pin","Warn: GitHub-owned GitHubAction not pinned by hash: .github/workflows/main.yml:23: update your workflow using https://app.stepsecurity.io/secureworkflow/luffy-yu/conda_env_export/main.yml/master?enable=pin","Warn: pipCommand not pinned by hash: .github/workflows/main.yml:29","Info:   0 out of   2 GitHub-owned GitHubAction dependencies pinned","Info:   0 out of   1 pipCommand dependencies pinned"],"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":3,"reason":"7 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-cpwx-vrp4-4pq7","Warn: Project is vulnerable to: GHSA-gmj6-6f8f-6699","Warn: Project is vulnerable to: GHSA-h5c8-rqwp-cp95","Warn: Project is vulnerable to: GHSA-h75v-3vvj-5mfj","Warn: Project is vulnerable to: GHSA-q2x7-8rv6-6q7h","Warn: Project is vulnerable to: PYSEC-2021-142 / GHSA-8q59-q68h-6hv4","Warn: Project is vulnerable to: PYSEC-2022-43017 / GHSA-qwmp-2cf2-g9g6"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-21T00:56:42.648Z","repository_id":47053716,"created_at":"2025-08-21T00:56:42.648Z","updated_at":"2025-08-21T00:56:42.648Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29363139,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-12T08:51:36.827Z","status":"ssl_error","status_checked_at":"2026-02-12T08:51:26.849Z","response_time":55,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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","pip","pypi"],"created_at":"2026-02-12T10:30:20.449Z","updated_at":"2026-02-12T10:30:21.637Z","avatar_url":"https://github.com/luffy-yu.png","language":"Python","funding_links":["https://www.buymeacoffee.com/luffyyu"],"categories":[],"sub_categories":[],"readme":"================\nConda Env Export\n================\n\n\n.. image:: https://img.shields.io/pypi/v/conda_env_export.svg\n        :target: https://pypi.python.org/pypi/conda_env_export\n\n.. image:: https://api.travis-ci.com/luffy-yu/conda_env_export.svg?branch=master\n        :target: https://app.travis-ci.com/github/luffy-yu/conda_env_export\n\n.. image:: https://readthedocs.org/projects/conda-env-export/badge/?version=latest\n        :target: https://conda-env-export.readthedocs.io/en/latest/?badge=latest\n        :alt: Documentation Status\n\n.. image:: https://www.buymeacoffee.com/assets/img/custom_images/orange_img.png\n        :target: https://www.buymeacoffee.com/luffyyu\n\n\nExport conda env dependencies and pip requirements to ONE yml file.\n\n\n* Free software: MIT license\n* Documentation: https://conda-env-export.readthedocs.io.\n\n\nFeatures\n--------\n\n* Easy to use\n\n* Flexible options to export\n\n* Support Windows, Linux, and Mac\n\n* Remove duplicated packages automatically\n\n\nUsage\n--------\nTo use Conda Env Export in a project:\n\n.. code-block:: python\n\n    import conda_env_export\n\nTo use Conda Env Export in a terminal:\n\n.. code-block:: console\n\n    $ conda-env-export --help\n    Usage: conda-env-export [OPTIONS]\n\n    Options:\n      -n, --name TEXT           Name of environment  [default: `{activated}`]\n      --conda-all               Output all conda deps  [default: False]\n      --pip-all                 Output all pip deps  [default: False]\n      --separate                Output to separate files  [default: False]\n      --reserve-duplicates      Reserve duplicates  [default: False]\n      --include TEXT            Force to include deps (ignore case)\n      --exclude TEXT            Force to exclude deps (ignore case)\n      --extra-pip-requirements  Output an extra `requirements.txt`  [default: False]\n      --no-prefix               Remove `prefix` in target yml file  [default: False]\n      --to-folder DIRECTORY     Where to output the file(s)  [default: ./]\n      --to-file FILE            Filename of the output yml file  [default: `{activated}`]\n      --help                    Show this message and exit.\n\n[RECOMMEND]\n\nExport current activated env, just run:\n\n.. code-block:: console\n\n    $ conda-env-export\n\n[RECOMMEND]\n\nExport a named env, e.g. `py37`, run:\n\n.. code-block:: console\n\n    $ conda-env-export -n py37\n\n[RECOMMEND]\n\nExport current activated env to separate files (`activated.yml` and `requirements.txt`), just run:\n\n.. code-block:: console\n\n    $ conda-env-export --separate\n\nNOTE: `--separate` is different from `--extra-pip-requirements` in the output yml file,\nwhere the yml from `--separate` doesn't explicitly list pip dependencies.\nIt will use `-r requirements.txt` instead.\n\n[RECOMMEND]\n\nExport current activated env and output an EXTRA pip requirements file, just run:\n\n.. code-block:: console\n\n    $ conda-env-export --extra-pip-requirements\n\nWHY: Sometimes it'll fail to install some pip deps when executing `conda env create -f env.yml`,\nso it's much more convenient to install pip deps via `pip install -r requirements.txt` rather than\n`conda env update -f env.yml --prune`.\n\nExport a named env and ensure that output MUST include `pip` and `PyYAML`, run:\n\n.. code-block:: console\n\n    $ conda-env-export -n py37 --include pip --include pyyaml\n\nExport a named env and ensure that output MUST exclude `pip` and `PyYAML`, run:\n\n.. code-block:: console\n\n    $ conda-env-export -n py37 --exclude pip --exclude pyyaml\n\nExport with all conda deps and all pip deps of `py37`\n\n.. code-block:: console\n\n    $ conda-env-export -n py37 --conda-all --pip-all\n\nExport with all conda deps and all pip deps of `py37`, and DO NOT remove duplicates\n\n.. code-block:: console\n\n    $ conda-env-export -n py37 --conda-all --pip-all --reserve-duplicates\n\nNote: The operation of remove duplicates refers to remove those deps in pip, which are already in conda deps.\n\n\nCredits\n-------\n\nThis package was created with Cookiecutter_ and the `audreyr/cookiecutter-pypackage`_ project template.\n\n.. _Cookiecutter: https://github.com/audreyr/cookiecutter\n.. _`audreyr/cookiecutter-pypackage`: https://github.com/audreyr/cookiecutter-pypackage\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluffy-yu%2Fconda_env_export","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fluffy-yu%2Fconda_env_export","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fluffy-yu%2Fconda_env_export/lists"}