Generated from aind-library-template
Project description
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
- Clone the repository:
git clone https://github.com/AllenNeuralDynamics/aind-metadata-manager.git cd aind-metadata-manager
- Create and activate a virtual environment (recommended):
python -m venv venv venv\Scripts\activate # On Windows # or source venv/bin/activate # On macOS/Linux
- 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 codetests/— Unit tests and test resourcesdocs/— 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.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file aind_metadata_manager-0.2.1.tar.gz.
File metadata
- Download URL: aind_metadata_manager-0.2.1.tar.gz
- Upload date:
- Size: 12.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ed20cdc86bdb71c7d69ab03228e11c17a9bfb6dbc9408ad9f63ebdd4f92488d
|
|
| MD5 |
3cdac6e8f55980a28ea1d4e8951159c1
|
|
| BLAKE2b-256 |
03f7674f5945721fa7810622fee419590e97aa6a832d9eddd88f47b89b637047
|
File details
Details for the file aind_metadata_manager-0.2.1-py3-none-any.whl.
File metadata
- Download URL: aind_metadata_manager-0.2.1-py3-none-any.whl
- Upload date:
- Size: 8.2 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a15c306444a3d94e2199f1bfe9bf3d2d0a6fbeb67955915899cca15cebf81a6c
|
|
| MD5 |
74766fbaf00d7a35c15074ba7ffb0108
|
|
| BLAKE2b-256 |
9b2890e9f7c1b828c0c0b585eb4e65163db3a9fd32bf4467f19bae8adf5c20ee
|