Skip to main content

AIND Metadata Manager

AIND Metadata Manager is a Python package for managing, upgrading, and validating metadata files used in the Allen Institute for Neural Dynamics (AIND) data pipelines. It provides tools to upgrade metadata schemas, process and validate metadata, and support reproducible data workflows.

Features

  • Upgrade metadata files to the latest schema versions
  • Validate and process metadata for AIND data pipelines
  • Utilities for handling data descriptions, procedures, and processing metadata
  • Command-line and programmatic interfaces

Installation

  1. Clone the repository:
    git clone https://github.com/AllenNeuralDynamics/aind-metadata-manager.git
    cd aind-metadata-manager
    
  2. Create and activate a virtual environment (recommended):
    python -m venv venv
    venv\Scripts\activate  # On Windows
    # or
    source venv/bin/activate  # On macOS/Linux
    
  3. Install dependencies:
    pip install -e .
    pip install aind-data-schema aind-metadata-upgrader
    

Usage

As a Python package

from aind_metadata_manager.metadata_manager import MetadataManager, MetadataSettings
settings = MetadataSettings(input_dir='path/to/input', output_dir='path/to/output')
manager = MetadataManager(settings)
manager.create_processing_metadata()

Command Line Interface

A CLI may be available (see src/aind_metadata_manager/metadata_manager.py for details):

python -m aind_metadata_manager.metadata_manager --help

Development & Testing

  • Tests are located in the tests/ directory.
  • To run tests:
    venv\Scripts\python -m unittest discover -s tests -p "test_*.py" -v
    

Project Structure

  • src/aind_metadata_manager/ — Main package code
  • tests/ — Unit tests and test resources
  • docs/ — Documentation

Requirements

  • Python 3.10+
  • aind-data-schema
  • aind-metadata-upgrader
  • pydantic, pydantic-settings

License

This project is licensed under the terms of the MIT license. See the LICENSE file for details.

Citation

If you use this package, please cite as described in CITATION.cff.

Contributing

See CONTRIBUTING.md for guidelines.

Contact

For questions or support, please open an issue on GitHub or contact the Allen Institute for Neural Dynamics.

Metadata

Release files for aind-metadata-manager 0.3.1

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-metadata-manager 0.3.1
File Size Uploaded
aind_metadata_manager-0.3.1.tar.gz 20.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for aind-metadata-manager 0.3.1
File Interpreter ABI Platform
aind_metadata_manager-0.3.1-py3-none-any.whl Python 3 none any Details

Total release size: 29.6 kB

Release files / aind_metadata_manager-0.3.1.tar.gz

Download URL aind_metadata_manager-0.3.1.tar.gz
Size 20.0 kB
Tags Source
SHA-256 checksum
How to use checksums
d078f69c09f912bf2175234a120bb9ca3a20b315235f0ab992dc27b890a5c315
BLAKE2b-256 checksum
How to use checksums
3516b7eac64a3ab3dafa8f2f6d208a842b85b019169cb1b8d1da4a39932f545c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release files / aind_metadata_manager-0.3.1-py3-none-any.whl

Download URL aind_metadata_manager-0.3.1-py3-none-any.whl
Size 9.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
75e07d4f2686df1c7c2923c168ec146e017fd95d7b8505a0776bd1c0af320701
BLAKE2b-256 checksum
How to use checksums
1c1c01082ec7141480aa30a4026448d8a9d1eba5a76be03af57b3726072618db
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.12

Release history Release notifications | RSS feed

This release

0.3.1 This release

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.3

2 release files

0.1.2

2 release files

0.1.1

2 release files

0.1.0

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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