Datamonger

datamonger.DataInfo

Datamonger for Python · python · 0.4.0

DataInfo(
    dataset_id: str,
    source: str,
    name: str,
    version: str,
    registry_release: str,
    registry_index_sha256: str,
    title: str,
    description: str,
    modality: str,
    provenance: collections.abc.Mapping[str, typing.Any],
    license: collections.abc.Mapping[str, typing.Any],
    artifacts: tuple[collections.abc.Mapping[str, typing.Any], ...],
    representation: collections.abc.Mapping[str, typing.Any],
    expected_components: tuple[collections.abc.Mapping[str, typing.Any], ...],
    verification_records: tuple[collections.abc.Mapping[str, typing.Any], ...],
    related: tuple[collections.abc.Mapping[str, typing.Any], ...],
    tasks: tuple[collections.abc.Mapping[str, typing.Any], ...],
    citations: tuple[collections.abc.Mapping[str, typing.Any], ...] = ,
    citation_instructions: str | None = None,
    preprocessing: Mapping[str, Any] | None = None
)

Registry metadata for one resolved dataset version.

dataset_id

dataset_id: str = dataclasses.field(init=True)

Resolved dataset identifier in source:name@version form.

source

source: str = dataclasses.field(init=True)

Source namespace that identifies the dataset’s provider or collection.

name

name: str = dataclasses.field(init=True)

Dataset name within its source namespace, without a version suffix.

version

version: str = dataclasses.field(init=True)

Exact dataset version selected explicitly or through the registry default.

registry_release

registry_release: str = dataclasses.field(init=True)

Immutable registry release containing this dataset record.

registry_index_sha256

registry_index_sha256: str = dataclasses.field(init=True)

SHA-256 of the selected registry index’s exact bytes.

title

title: str = dataclasses.field(init=True)

Human-readable dataset title supplied by the registry.

description

description: str = dataclasses.field(init=True)

Registry prose describing the dataset’s contents and purpose.

modality

modality: str = dataclasses.field(init=True)

Registry category for the data, such as "tabular".

provenance

provenance: collections.abc.Mapping[str, typing.Any] = dataclasses.field(init=True)

Registry record of the dataset’s origin and upstream references.

license

license: collections.abc.Mapping[str, typing.Any] = dataclasses.field(init=True)

Registry record of the dataset’s license and usage terms.

artifacts

artifacts: tuple[collections.abc.Mapping[str, typing.Any], ...] = dataclasses.field(init=True)

Artifact records describing retrieval URLs, byte sizes, digests, and formats.

representation

representation: collections.abc.Mapping[str, typing.Any] = dataclasses.field(init=True)

Decoder selection, options, artifact roles, and expected logical output.

expected_components

expected_components: tuple[collections.abc.Mapping[str, typing.Any], ...] = dataclasses.field(init=True)

Declared component names, logical types, and shapes used in verification.

verification_records

verification_records: tuple[collections.abc.Mapping[str, typing.Any], ...] = dataclasses.field(init=True)

Declared canonical-form versions and digests, without verifying decoded data.

related: tuple[collections.abc.Mapping[str, typing.Any], ...] = dataclasses.field(init=True)

Registry links to related datasets, or an empty tuple when none are declared.

tasks

tasks: tuple[collections.abc.Mapping[str, typing.Any], ...] = dataclasses.field(init=True)

Registry task descriptions, or an empty tuple when none are declared.

citations

citations: tuple[collections.abc.Mapping[str, typing.Any], ...] = dataclasses.field(init=True, default=())

All curated references; an absent recommended flag means unknown.

citation_instructions

citation_instructions: str | None = dataclasses.field(init=True, default=None)

Recorded upstream citation instructions, or None when unavailable.

preprocessing

preprocessing: Mapping[str, Any] | None = dataclasses.field(init=True, default=None)

Upstream and Datamonger processing history, or None when unrecorded.