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.0rc1.tar.gz (351.9 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.0rc1-py3-none-any.whl (71.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: chem_dcat_ap-0.1.0rc1.tar.gz
  • Upload date:
  • Size: 351.9 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.0rc1.tar.gz
Algorithm Hash digest
SHA256 f49cfabd1ff2dbd25b65aa89a84e9cb5d4a9c50d2ccd06da6bb524c1f34aa016
MD5 0db7e4b2035c84438c689413dacf3338
BLAKE2b-256 a3218f7676c6d21af0512781c87db773a5265fdb9c7a3c591a152f28da9d69ea

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for chem_dcat_ap-0.1.0rc1-py3-none-any.whl
Algorithm Hash digest
SHA256 1fed7181daaf2481e7136f33152b789840daca26e5feb07aeb185f129aa20c19
MD5 d4fec5c2e3adfd992b21e18ca8286293
BLAKE2b-256 cbf8eb64436ca9eb23d2b7426a0052b7d36ee526af1cd19adb9178eca0987d00

See more details on using hashes here.

Provenance

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