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.0rc3.tar.gz (3.5 MB 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.0rc3-py3-none-any.whl (76.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chem_dcat_ap-0.1.0rc3.tar.gz
  • Upload date:
  • Size: 3.5 MB
  • 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.0rc3.tar.gz
Algorithm Hash digest
SHA256 86000b965e620f68dca2531e9318206e27f8ddc03c7c22f032d9c52619792c05
MD5 95dc83aa7b7cefb6288854f36414e8ab
BLAKE2b-256 267842a49abd0348a092573bd184e49c86e96978ec66b52f34bcc540d9d779cb

See more details on using hashes here.

Provenance

The following attestation bundles were made for chem_dcat_ap-0.1.0rc3.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.0rc3-py3-none-any.whl.

File metadata

File hashes

Hashes for chem_dcat_ap-0.1.0rc3-py3-none-any.whl
Algorithm Hash digest
SHA256 dbf82bb772d14f4015b0289107cbaa7c373526e6e6c8200b033fb07155234e34
MD5 5f3dd11c1ee7e715a4b5e6c110475407
BLAKE2b-256 2788c7888459b960205bf4b77af6e7a3a13f6e8aa695f29104fb0019a4b1c374

See more details on using hashes here.

Provenance

The following attestation bundles were made for chem_dcat_ap-0.1.0rc3-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