Schemata for DANDI archive project
Project description
A Python library for maintaining and managing DANDI metadata schemata. The library helps create and validate DANDI schema-compliant metadata for Dandisets and assets.
To use: pip install dandischema
Every Dandiset and associated asset has a metadata object that can be retrieved using the DANDI API.
This library uses Pydantic to implement all the metadata classes. Schemas are generated on schema modifications and placed into this repository.
Dandischema generates JSON schema definitions and also an associated context.json
file for JSON-LD compliance of the metadata models.
- models.py - contains the models and any changes should be made there
- metadata.py - contains functions for validating, migrating, and aggregating metadata
- datacite.py - converts the Dandiset metadata to a Datacite metadata structure
The generated JSON schemas can be used together with VJSF to create a UI for metadata modification. The DANDI Web app uses this for Dandiset metadata modification.
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
File details
Details for the file dandischema-0.7.1.tar.gz
.
File metadata
- Download URL: dandischema-0.7.1.tar.gz
- Upload date:
- Size: 54.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8448757bf6ec831db80a352e156bbcdc1f7b66f57c3cb0fad38736ec50c970ed |
|
MD5 | 9ce47157d527d857ea3e46ea645fd0ad |
|
BLAKE2b-256 | 4743ea38fd3ea4e5812798aac55a12429fd78a30efd62371164b445888b1eb72 |
Provenance
File details
Details for the file dandischema-0.7.1-py3-none-any.whl
.
File metadata
- Download URL: dandischema-0.7.1-py3-none-any.whl
- Upload date:
- Size: 63.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.0 CPython/3.7.12
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | c6dffbcb0ef72f5a77a7bae27e37a631f8ae5b7f6ba8d39b548b3941b2e7020e |
|
MD5 | 9d9c5db090653c4ce2efe945d0f94385 |
|
BLAKE2b-256 | 368c2cbbf26dc9086a5cf967cc7a6063016b30d2896f34e37af04a868d0620a9 |