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.
Metadata
Release files for aind-metadata-manager 0.3.5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| aind_metadata_manager-0.3.5.tar.gz | 23.0 kB | Without provenance | Details for aind_metadata_manager-0.3.5.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aind_metadata_manager-0.3.5-py3-none-any.whl | Python 3 | none | any | Details for aind_metadata_manager-0.3.5-py3-none-any.whl |
Total release size: 33.9 kB
Release files / aind_metadata_manager-0.3.5.tar.gz
| Download URL | aind_metadata_manager-0.3.5.tar.gz |
|---|---|
| Size | 23.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a66c66d3b5f262027b1ea55fb12506e3e2cbae2c914677bf31347557b8238e62
|
|
BLAKE2b-256 checksum How to use checksums |
07d6e76665cd4b8311451fc9843acb7e1ffe7d75c75467989535549dd5a92b17
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Release files / aind_metadata_manager-0.3.5-py3-none-any.whl
| Download URL | aind_metadata_manager-0.3.5-py3-none-any.whl |
|---|---|
| Size | 10.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dc3840fe35ea47e61e285851fc0ddbbd327b8d6f5362f9cc23cce038d9e5c764
|
|
BLAKE2b-256 checksum How to use checksums |
4fb5a6500d1b830b82aaf63e0e2ca669f093386559059b2328087509ce0d9e69
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Security for aind-metadata-manager 0.3.5
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.