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 -m unittest 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.6.0.tar.gz (175.0 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.6.0-py3-none-any.whl (58.6 kB view details)

Uploaded Python 3

File details

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

File metadata

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

File hashes

Hashes for aind_clabe-0.6.0.tar.gz
Algorithm Hash digest
SHA256 057a57c813407b7945c012f96fcd530558c11b13e39ddfe04ed401022425c688
MD5 bacfa71d8417a33eafbacc4734e3c56c
BLAKE2b-256 0b280a1b4145e11cfc4f0b301c9ea0eccffbb9f4d128c754dbbeec477a8e45f9

See more details on using hashes here.

File details

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

File metadata

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

File hashes

Hashes for aind_clabe-0.6.0-py3-none-any.whl
Algorithm Hash digest
SHA256 fb75339d1938335e661fa0f83ad120b2fb044f37379573c9c614ee3e209f0adc
MD5 de9a425218cff4b03cf9384cd1bc9c4c
BLAKE2b-256 39393eb3f179772f4da387546e43b2e1a55166e40a57d8310b4ce8dfb90900de

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