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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ecoport-0.0.1.tar.gz.

File metadata

  • Download URL: ecoport-0.0.1.tar.gz
  • Upload date:
  • Size: 3.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for ecoport-0.0.1.tar.gz
Algorithm Hash digest
SHA256 4423551ab5a33ccb12daa89bd1b8b84f88c129107849e2f7bef0cf2b7c7eec35
MD5 18204387fea0a0ab11982500c711040f
BLAKE2b-256 a9e2adf28e11d9bf9556f2be051b1d824688a94f7a503c3ceedf4aeb1aeb7f17

See more details on using hashes here.

File details

Details for the file ecoport-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: ecoport-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 4.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.1 CPython/3.10.6

File hashes

Hashes for ecoport-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 35879cb89adb7d4a76ecc4420e78b18d4908640945e97a85d8d84b42d9a5bc65
MD5 c3e6d0022c70052bbff702be2906f24d
BLAKE2b-256 7666d056db885828d9db608cd26c68f42e57f77f72cff32531cb45ac68cad3c9

See more details on using hashes here.

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