Skip to main content

LinkML-based DCAT-AP extension for dataset context: evaluated entities/activities and generation

Project description

dcat_ap_plus

An extension of the DCAT Application Profile, which allows to provide additional metadata for a dcat:Dataset in a very generic manner, such as:

  • which kind(s) of entity(s) or activity(s) were evaluated,
  • which kind of activity generated the dcat:Dataset,
  • which kind of instruments were used in the dataset generating activity,
  • in which surrounding (e.g. a laboratory) and according to which plan the dataset generating activity took place,
  • as well as which kind(s) of qualitative and quantitative characteristic(s) were attributed to the evaluated entity or evaluated activity and to the used instruments.

This package ships the LinkML-generated Python datamodel for the schema. Two versions of the datamodel are provided: one using Python dataclasses and another using Pydantic.

Installation

pip install dcat_ap_plus

Requires Python >= 3.9, < 4.0.

Quick start

import dcat_ap_plus
print(dcat_ap_plus.__version__)

# Work with the generated datamodel (Python dataclasses)
from dcat_ap_plus.datamodel.dcat_ap_plus import Dataset, DataGeneratingActivity

ds = Dataset(
    id="ex:dataset1",
    title="Example dataset",
    description="A minimal dataset for quickstart.",
    was_generated_by=[DataGeneratingActivity(id="ex:act1")],
)
print(ds)

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

dcat_ap_plus-0.1.0rc4.tar.gz (1.7 MB view details)

Uploaded Source

Built Distribution

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

dcat_ap_plus-0.1.0rc4-py3-none-any.whl (98.3 kB view details)

Uploaded Python 3

File details

Details for the file dcat_ap_plus-0.1.0rc4.tar.gz.

File metadata

  • Download URL: dcat_ap_plus-0.1.0rc4.tar.gz
  • Upload date:
  • Size: 1.7 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for dcat_ap_plus-0.1.0rc4.tar.gz
Algorithm Hash digest
SHA256 72933623ac3c9fbcd85956b22efee0d37d04e97f5270b9efeb8672ecf78474a8
MD5 2601d07c3c0a3209ff60a8d806d6aec2
BLAKE2b-256 7b5cad16c9a3e0918dd0ecbc1d3b21041667fe7924a738a171dbfb24c74fbf53

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcat_ap_plus-0.1.0rc4.tar.gz:

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

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

File details

Details for the file dcat_ap_plus-0.1.0rc4-py3-none-any.whl.

File metadata

File hashes

Hashes for dcat_ap_plus-0.1.0rc4-py3-none-any.whl
Algorithm Hash digest
SHA256 08b6d333155e21b052e43fbfdf522deb0a89aa1cbbc36d34a8612232d70fb11e
MD5 5df68331cc09216d742fe290809e9fc5
BLAKE2b-256 0ab313156398d3ab4bc48c2a9e23377b8fbdfb4c48348e50d7a7d3d090398831

See more details on using hashes here.

Provenance

The following attestation bundles were made for dcat_ap_plus-0.1.0rc4-py3-none-any.whl:

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

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