CondaDependencyCleaner
A tool that helps make your conda environment files more lightweight by removing unnecessary transitive dependencies, leaving only what’s essential. It's a work-in-progress project, and we welcome feedback! Have ideas for new features or improvements? Open an issue in the repository to share your suggestions.
How to use:
It is required to have conda installed. Once you are in a conda environment install conda conda install conda this is necessary for the package to work properly in the first place.
Then simply pip install conda_dependency_cleaner. You now can see all available operations if you type cdc into your console.
Clean Environment yaml files:
Once installed you can clean your .yaml or .yml files by running the command cdc clean.
An example usage is as follows:
cdc clean env.yml -nf env_cleaned.yml
For help and more info use cdc clean --help.
Convert pip dependencies to conda:
If you have a lot of pip dependencies which you want to convert to conda run cdc convert.
Note that this can be very slow if there is a lot of dependencies due to the underlying solver conda uses.
Sometimes the conversion fails, these failures will be reported after the script ran through.
cdc convert env.yml -nf env_converted.yml
For help and more info use cdc clonvert --help.
Metadata
Release files for conda-dependency-cleaner 0.0.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| conda_dependency_cleaner-0.0.4-py2.py3-none-any.whl | Python 2, Python 3 | none | any | Details for conda_dependency_cleaner-0.0.4-py2.py3-none-any.whl |
Release files / conda_dependency_cleaner-0.0.4-py2.py3-none-any.whl
| Download URL | conda_dependency_cleaner-0.0.4-py2.py3-none-any.whl |
|---|---|
| Size | 10.5 kB |
| Tags | Python 2 Python 3 |
|
SHA-256 checksum How to use checksums |
807a7066062ce683567f78e7e912613a47a55126b944ac7feef99f0ae3007a5b
|
|
BLAKE2b-256 checksum How to use checksums |
4a7d29c2e057af0ef6544f58ce464ce5724df95de08b32bc5779c4fe5a7acf4f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.12
|
Security for conda-dependency-cleaner 0.0.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.