Skip to main content

A library with core primitives for analysis shared across all `Aind.Behavior` tasks

Project description

# aind-behavior-core-analysis

![CI](https://github.com/AllenNeuralDynamics/Aind.Behavior.CoreAnalysis/actions/workflows/ci.yml/badge.svg) [![PyPI - Version](https://img.shields.io/pypi/v/aind-behavior-core-analysis)](https://pypi.org/project/aind-behavior-core-analysis/) [![License](https://img.shields.io/badge/license-MIT-brightgreen)](LICENSE) [![ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff) [![uv](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/uv/main/assets/badge/v0.json)](https://github.com/astral-sh/uv)

A repository with core primitives for analysis shared across all Aind.Behavior tasks

This repository is part of a bigger infrastructure that is summarized [here](https://github.com/AllenNeuralDynamics/Aind.Behavior.Services).

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

## Getting started and API usage

The current goal of the API is to provide users with a way to instantiate “data contracts” and corresponding data ingestion logic. For instance, loading the data from different streams and converting them into a common format (e.g. pandas.DataFrame). For examples of what this looks like, please check the [Examples](./examples/) folder.

## 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-behavior-core-analysis `

## Contributors

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

### Linting

We use [ruff](https://docs.astral.sh/ruff/) as our primary linting tool.

### Testing

Attempt to add tests when new features are added. To run the currently available tests, run python -m unittest from the root of the repository.

### Lock files

We use [uv](https://docs.astral.sh/uv/) to manage our lock files.

### Versioning

Where possible, adhere to [Semantic Versioning](https://semver.org/).

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_behavior_core_analysis-0.1.0.tar.gz (102.2 kB view details)

Uploaded Source

Built Distribution

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

aind_behavior_core_analysis-0.1.0-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file aind_behavior_core_analysis-0.1.0.tar.gz.

File metadata

File hashes

Hashes for aind_behavior_core_analysis-0.1.0.tar.gz
Algorithm Hash digest
SHA256 376c5a4b2160e5e1f3a0c338c5ad40e8e8a07f1bbe53299ce19dfc45a1dac056
MD5 f0fc5ec73548fd799d91b698b2dc3c92
BLAKE2b-256 1f845ce64709a99c974561272e987ee6d54c8f6328154cb3dbdbfb2deeff3b18

See more details on using hashes here.

File details

Details for the file aind_behavior_core_analysis-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for aind_behavior_core_analysis-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33aac6cedb5d525f97fe07ac104f1f4424fce8d4c628d06ad7bbd28ea2260f2d
MD5 ee9cbde12caf64719980f7cab82ef9c3
BLAKE2b-256 de7c1ec8f406da62687b3426e820ffc75dae90a516dae157ed1d64f11581a095

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