Skip to main content

A library for a minimal framework that can be used to build experimental interfaces.

Project description

 ██████╗██╗      █████╗ ██████╗ ███████╗
██╔════╝██║     ██╔══██╗██╔══██╗██╔════╝
██║     ██║     ███████║██████╔╝█████╗  
██║     ██║     ██╔══██║██╔══██╗██╔══╝  
╚██████╗███████╗██║  ██║██████╔╝███████╗
 ╚═════╝╚══════╝╚═╝  ╚═╝╚═════╝ ╚══════╝

Command-line-interface Launcher for AIND Behavior Experiments

Documentation CI PyPI - Version License ruff uv

clabe

A library for building workflows for behavior experiments.

⚠️ Caution: This repository is currently under active development and is subject to frequent changes. Features and APIs may evolve without prior notice.

Installing and Upgrading

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-clabe

Getting started and API usage

The library provides a main class "Launcher" that can be used to create a linear workflow for behavior experiments. These workflows rely on modular interfaces that can be used to interact with various components of the experiment and other services. Some of these services are specific for AIND:

We will also try to scope all dependencies of the related to AIND Services to its own optional dependency list in the ./pyproject.toml file of this repository. Therefore, in order to use this module, you will need to install these optional dependencies by running:

uv sync --extra aind-services

A basic example of how to use the Launcher class can be found in the examples directory of this repository.

Contributors

Contributions to this repository are welcome! However, please ensure that your code adheres to the recommended DevOps practices below:

Linting

We use ruff as our primary linting tool.

Testing

Attempt to add tests when new features are added. To run the currently available tests, run uv run pytest from the root of the repository.

Lock files

We use uv to manage our lock files and therefore encourage everyone to use uv as a package manager as well.

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

aind_clabe-0.8.0.tar.gz (47.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

aind_clabe-0.8.0-py3-none-any.whl (64.8 kB view details)

Uploaded Python 3

File details

Details for the file aind_clabe-0.8.0.tar.gz.

File metadata

  • Download URL: aind_clabe-0.8.0.tar.gz
  • Upload date:
  • Size: 47.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for aind_clabe-0.8.0.tar.gz
Algorithm Hash digest
SHA256 ba5ae6a53d12887781072a9422cf9313fc97ad296ebbc805229ae3c76e6b3b09
MD5 2713df9e56cbfc7181b577d8f42e7978
BLAKE2b-256 2ca83f32138efe3a3b986d615b2745c845c835010c579de4d9cedd785836209f

See more details on using hashes here.

File details

Details for the file aind_clabe-0.8.0-py3-none-any.whl.

File metadata

  • Download URL: aind_clabe-0.8.0-py3-none-any.whl
  • Upload date:
  • Size: 64.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.4

File hashes

Hashes for aind_clabe-0.8.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a011cb5295a0f9b9079062794ac98a946310b93c3c7ef91c860bc3d57b1dc167
MD5 f965b46e1a9be46613fabb0cafb146c1
BLAKE2b-256 ad30c9e291decb3afd9b9b109a3205e83c7b2e2bee978e94c00d291c51268550

See more details on using hashes here.

Supported by

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