Generated from aind-library-template
Project description
aind-metadata-extractor
Install
You should only install the dependencies for the specific extractor you plan to run. You can see the list of available extractors in the pyproject.toml file or in the folders in src/aind_metadata/extractor
During installation pass the extractor as an optional dependency:
pip install 'aind-metadata-extractor[<your-extractor>]'
Run
Each extractor uses a JobSettings object to collect necessary information about data and metadata files to create an Extractor which is run by calling .extract(). For example, for smartspim:
from pathlib import Path
from aind_metadata_extractor.smartspim.job_settings import JobSettings
from aind_metadata_extractor.smartspim.extractor import SmartspimExtractor
DATA_DIR = Path("<path-to-your-data>)
job_settings=JobSettings(
subject_id="786846",
metadata_service_path="http://aind-metadata-service/slims/smartspim_imaging",
input_source=DATA_DIR+"SmartSPIM_786846_2025-04-22_16-44-50",
slims_datetime="2025-0422T18:30:08.915000Z"
)
extractor = SmartspimExtractor(job_settings=job_settings)
response = extractor.extract()
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_extractor-0.2.1.tar.gz.
File metadata
- Download URL: aind_metadata_extractor-0.2.1.tar.gz
- Upload date:
- Size: 49.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0bf1c7e2e38ae3e8be7fe73848ff9cb889ad154d63d64b457d97d39acd463136
|
|
| MD5 |
7931a4182bf90411ecbacf0a944ff593
|
|
| BLAKE2b-256 |
e0d66e16ad8bb076b7799277088426caf11cfac01c330bf60a22c356f6857473
|
File details
Details for the file aind_metadata_extractor-0.2.1-py3-none-any.whl.
File metadata
- Download URL: aind_metadata_extractor-0.2.1-py3-none-any.whl
- Upload date:
- Size: 57.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4998fcd7774db3cd2e39c3fba5951a23343bf27336e142420c29af91f319a3fb
|
|
| MD5 |
9804875e40e3105c10136df0800fa900
|
|
| BLAKE2b-256 |
d48d0a70977e3d66d004754824f841262170d7ea0545dce05c4fa815233376a3
|