Skip to main content

conda-ops

Installation

Please make sure that you install conda-ops into your base conda environment for the plugin for work properly. (If you install it into a conda environment, you will have to use that environment's conda installation to pick up the plugin, so installing conda into that envrionment and running path/to/environment/conda/bin ops instead of conda ops).

conda-ops is still under significant development and is changing rapidly. We recommend updating it regularly no matter how you choose to install.

For the latest development version:

conda run -n base pip install git+https://github.com/acwooding/conda-ops

For the latest alpha release available via PyPI:

conda run -n base pip install conda-ops

To install the plugin locally in development mode, clone the repo and then run pip install -e . from your base conda install (e.g. conda run -n base pip install -e ..

Note that conda-ops requires modern conda with plugin support (and likely python/pip). e.g.

>>> conda install -n base -c defaults conda==23.5.0
>>> conda install -n base -c defaults python=3.11

To uninstall, pip uninstall conda-ops from your base conda environment.

Basic Usage

The interface for conda ops is still experimental and may change between commits. The best way to see what can be done at a given moment is to use the help menu:

conda ops --help

or to check the status of your conda ops project via

conda ops

and follow the prompts from there.

Testing and Linting

To set up testing or linting, you'll need the depedencies specified under [project.optional-dependencies] in the pyproject.toml installed into your environment.

Running tests

Once dependencies are set up, run pytest or coverage run -m pytest. After running coverage, coverage report will display the basic coverage information and coverage html will generate an html interactive coverage report.

Linting

For now, keep a line length of 200

Always run black for auto-formatting.

  • black . -l 200: specify a larger max line length with black

Take a look at flake8 or pylint reports for linting. flake8 is a more lightweight.

  • flake8 --max-line-length=200 --exclude conda_ops_later.py
  • pylint src --max-line-length=200 --ignore=conda_ops_later.py

Release files for conda-ops 0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for conda-ops 0.1
File Size Uploaded
conda-ops-0.1.tar.gz 46.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for conda-ops 0.1
File Interpreter ABI Platform
conda_ops-0.1-py3-none-any.whl Python 3 none any Details

Total release size: 88.0 kB

Release files / conda-ops-0.1.tar.gz

Download URL conda-ops-0.1.tar.gz
Size 46.9 kB
Tags Source
SHA-256 checksum
How to use checksums
2eccdc9b682ee91a2c419f952f405c1d5161725c6d88b9161b6bca824e6068c9
BLAKE2b-256 checksum
How to use checksums
d8cfcc40e5ecbd972b26d6c186cbe8cc3ffb5a9338759d29c2cee017831db6ce
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release files / conda_ops-0.1-py3-none-any.whl

Download URL conda_ops-0.1-py3-none-any.whl
Size 41.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9c62b19a9f4e15cadead1732f75807f470029bdc72f2bb47c06c1c35f244fd0d
BLAKE2b-256 checksum
How to use checksums
5fd4543fa8911ee9f7a8e25075364e891b252b4aadc6f7dd49b58e9017a421ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.11.3

Release history Release notifications | RSS feed

0.4

2 release files

0.3

2 release files

This release

0.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page