Catalog PyPI
Back to packageRELEASE DETAILS

0.5.0

PyPI

aind-codeocean-dispatch

Launch, monitor, and capture batches of Code Ocean capsule runs

Published15 Oct 2026
Direct dependencies2
Transitive dependenciesNot calculated

README

Version 0.5.0 documentation

AIND Code Ocean dispatch

CI PyPI - Version semantic-release: angular License ruff uv Copier

Launch, monitor, and capture batches of Code Ocean capsule runs

Installation

If you choose to clone the repository, you can install the package by running the following command from the root directory of the repository:

pip install .

Otherwise, you can use pip:

pip install aind-codeocean-dispatch

To develop the code, run:

uv sync

Capturing runs from a post-run automation

A Code Ocean pipeline can name an automation capsule that runs after every run. A capsule whose code/run is

#!/usr/bin/env bash
set -e
python -m aind_codeocean_dispatch.automation

captures each successful run as an internal data asset, named by the results' data_description.json when it declares a derived name and otherwise after the first input asset. It needs only CODEOCEAN_TOKEN; CAPTURE_TAGS, CAPTURE_FAILED and CAPTURE_PERMISSIONS adjust it. It registers nothing in DocDB and writes no external bucket, so pipelines that publish use asset-creation-capsule instead.

Development

Please test your changes using the full linting and testing suite:

./scripts/run_linters_and_checks.sh -c

Or run individual commands:

uv run --frozen ruff format          # Code formatting
uv run --frozen ruff check           # Linting
uv run --frozen mypy                 # Type checking
uv run --frozen interrogate -v src   # Documentation coverage
uv run --frozen codespell --check-filenames  # Spell checking
uv run --frozen pytest --cov aind_codeocean_dispatch # Tests with coverage

License

This project is licensed under the MIT License - see the LICENSE file for details.

Downloads & popularity

Awaiting observations

No metric observations yet

Download counts and popularity will appear here as the collector receives them.

Declared dependencies 2

Native requirements
2 direct targetsNot calculated transitive count
Package / targetRequirementRelationship
aind-code-ocean-pipeline-utils
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
aind-code-ocean-pipeline-utils>=0.7.1runtime
codeocean
Environment
{
  "extras": "",
  "marker": null,
  "requires_python": ">=3.11",
  "evaluation": "NOT_EVALUATED"
}
codeocean>=0.13runtime

Distribution files

2 collected
aind_codeocean_dispatch-0.5.0-py3-none-any.whl

bdist_wheel · 17.92 KB · Python py3

Source file
aind_codeocean_dispatch-0.5.0.tar.gz

sdist · 117.9 KB · Python source

Source file

Repository

PENDING
allenneuraldynamics/aind-codeocean-dispatch

Shared repository data · GitHub

License detected in repository
Not collected

Metadata history

Meaningful changes
Current collected state Current

Observed since 21 Oct, 11:27 UTC

No superseded metadata states collected. Unchanged observations do not create new revisions.

Record identity

package_version:d7eeb8abd71dd7a8a06caf321fa1c32ed6e9b9387e6e2b4917b57f53fdd3dea1

Other collected versions

View all collected versions →