Skip to main content

An extension of the DCAT Application Profile extended to provide chemistry specific specific metadata for datasets.

Project description

Chem-DCAT-AP

Extension of the DCAT Application Profile (DCAT-AP) tailored for chemistry-related data.
It adds links to use-case specific context and enables describing:

  • chemical datasets (e.g. spectra, chromatograms, assay results)
  • related samples, substances and instruments
  • provenance, experimental conditions and other domain-specific metadata

From the LinkML schemas in src/chem_dcat_ap/schema/*.yaml, two Python datamodel variants are generated:

  • A variant based on Python dataclasses
  • A variant based on Pydantic models

Installation

pip install chem-dcat-ap

Requires Python >= 3.9, < 4.0.

Quick start

The package exposes the generated classes that correspond to the entities defined in the src/chem_dcat_ap/schema/*.yaml LinkML schemas.

import chem_dcat_ap
from chem_dcat_ap.datamodel.chem_dcat_ap import Dataset, DataGeneratingActivity

print(chem_dcat_ap.__version__)

dataset = Dataset(
    id="https://example.org/dataset/chem-001",
    title="Example chemical dataset",
    description="Minimal example dataset following the Chem-DCAT-AP schema.",
    was_generated_by=DataGeneratingActivity(
        id="https://example.org/activity/chem-001"
    ),
)

print(dataset)

For details about all available classes and fields, inspect the schema YAML files in src/chem_dcat_ap/schema/ and the generated module chem_dcat_ap.datamodel.chem_dcat_ap.

Documentation

License

MIT License. See the bundled LICENSE file for details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

chem_dcat_ap-0.1.0rc2.tar.gz (351.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

chem_dcat_ap-0.1.0rc2-py3-none-any.whl (71.4 kB view details)

Uploaded Python 3

File details

Details for the file chem_dcat_ap-0.1.0rc2.tar.gz.

File metadata

  • Download URL: chem_dcat_ap-0.1.0rc2.tar.gz
  • Upload date:
  • Size: 351.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for chem_dcat_ap-0.1.0rc2.tar.gz
Algorithm Hash digest
SHA256 78baac0cec0325137f0d010297cda16d8716a97d33e40d0aaed57e700be72656
MD5 f41647dae41df9e77616e644af4b506c
BLAKE2b-256 e62c842c30a5033fcc36e24540344186d5554fab52a19d08776191917a51a461

See more details on using hashes here.

Provenance

The following attestation bundles were made for chem_dcat_ap-0.1.0rc2.tar.gz:

Publisher: pypi-publish.yaml on nfdi-de/chem-dcat-ap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file chem_dcat_ap-0.1.0rc2-py3-none-any.whl.

File metadata

File hashes

Hashes for chem_dcat_ap-0.1.0rc2-py3-none-any.whl
Algorithm Hash digest
SHA256 e0f31f582531ad92c7211276537c4bdd30875a5645fcf0f21bd51bcc40cf4d2e
MD5 835ad559d8b32615815c2e958438e12c
BLAKE2b-256 961a8c6f18bca53942e542bb8cca44574864ee57c141463e8c73bcbab6a8267e

See more details on using hashes here.

Provenance

The following attestation bundles were made for chem_dcat_ap-0.1.0rc2-py3-none-any.whl:

Publisher: pypi-publish.yaml on nfdi-de/chem-dcat-ap

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page