Skip to main content

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.

Metadata

Release files for aind-codeocean-dispatch 0.5.0

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

Source distribution (sdist)

Source distribution for aind-codeocean-dispatch 0.5.0
File Size Uploaded Provenance Actions
aind_codeocean_dispatch-0.5.0.tar.gz 120.7 kB Without provenance Details for aind_codeocean_dispatch-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for aind-codeocean-dispatch 0.5.0
File Interpreter ABI Platform Actions
aind_codeocean_dispatch-0.5.0-py3-none-any.whl Python 3 none any Details for aind_codeocean_dispatch-0.5.0-py3-none-any.whl

Total release size: 139.1 kB

Release files / aind_codeocean_dispatch-0.5.0.tar.gz

Download URL aind_codeocean_dispatch-0.5.0.tar.gz
Size 120.7 kB
Tags Source
SHA-256 checksum
How to use checksums
05e6773f366f918b36984907ee25656c834c81093c73d9180eba1358766e2644
BLAKE2b-256 checksum
How to use checksums
af31f3eb19f9087ecc0c60c7f8b13e5e7b64324c8e61aa56cb84e6ba454193a5
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Release files / aind_codeocean_dispatch-0.5.0-py3-none-any.whl

Download URL aind_codeocean_dispatch-0.5.0-py3-none-any.whl
Size 18.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
bfc1150d25d2ea3422fa16ad52edeb334cbda38cb113b7e78428ddb893a84ea5
BLAKE2b-256 checksum
How to use checksums
90ae530aedb2cb5d2f76acbf04ae3a92e8a9e7279fc14302e3359fa7a255c2c4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.13.1 {"installer":{"name":"uv","version":"0.13.1","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

Security for aind-codeocean-dispatch 0.5.0

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.

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