Skip to main content

Eiphy's Conda Export

Project description

conda-export

Refine of conda env export --from-history. Now you can export environment with version using --from-history option. You can choose which package should not appear in the environment.yaml file by CLI and a .yaml file.

Sample Output

Output of conda env export --from-history with version number.

name: torch
channels:
- pytorch
- defaults
dependencies:
- isort=5.9.3
- python=3.10.6
- pytorch=1.13.0
- torchaudio=0.13.0
- torchvision=0.14.0

Usage

python -m ecoport -f tmp.yaml                   # Save env to ./tmp.yaml
python -m ecoport                               # Save env to ./environment.yaml
python -m ecoport --exclusions isort            # Excludes isort
python -m ecoport --config test/config.yaml     # Using config option (current only option for exclusion). --exclusion has higher priority.
python -m ecoport --no-prefix                   # eliminate the prefix entry

Sample config file (test/config.yaml):

exclusions:
- black
- isort

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ecoport-0.0.1.tar.gz (3.7 kB view hashes)

Uploaded Source

Built Distribution

ecoport-0.0.1-py3-none-any.whl (4.5 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page