Manifest
timenet.manifest ¶source
The dataset manifest: a frozen :class:Manifest and its JSON codec.
FilePart ¶source
Bases: TimeFModel
One data file of a dataset version. It has a path, a checksum, and a byte size in one record.
The path, checksum, and size stay together in one record. A reader does not need to join a file to its digest across two structures. A consumer can verify integrity and plan a download from the manifest alone.
Manifest ¶source
Bases: TimeFModel
The single source of truth a consumer reads to interpret a dataset version.
build_env
class-attribute
instance-attribute
¶source
build_env: BuildEnvironment = Field(default_factory=dict)
The Python version and package set that produced this version.
counts
class-attribute
instance-attribute
¶source
counts: ManifestCounts = Field(
default_factory=ManifestCounts
)
Row and entity counts recorded for quick inspection.
dataset_schema
class-attribute
instance-attribute
¶source
dataset_schema: Annotated[
DatasetSchema, Field(alias=schema)
] = Field(default_factory=DatasetSchema)
Structural schema: time-series specs, annotations, and tasks.
files
instance-attribute
¶source
files: ManifestFiles
Descriptor for every data artifact, grouped by kind.
lineage
class-attribute
instance-attribute
¶source
lineage: tuple[ParentDatasetCard, ...] = ()
Flattened provenance snapshots; never traversed to read data.
model_config
class-attribute
instance-attribute
¶source
model_config = ConfigDict(
extra="forbid",
frozen=True,
revalidate_instances="always",
serialize_by_alias=True,
validate_by_name=True,
validate_default=True,
)
parent_cards
class-attribute
instance-attribute
¶source
Copies of the cards of the declared parents, indexed by parent alias.
payload_sources
class-attribute
instance-attribute
¶source
payload_sources: dict[SourceKeyField, PayloadSource] = (
Field(default_factory=dict)
)
Every release that stores a payload file this release reads, by source key, pinned to those files. The writer flattens them, so a source's own sources are not listed unless this release reads their files too.
value_encoding
class-attribute
instance-attribute
¶source
spec_type to the values-column encoding used by its shards.
values_backend
class-attribute
instance-attribute
¶source
values_backend: ValuesBackend = ValuesBackend.PARQUET
Storage backend for the time-series values plane.
ManifestCounts ¶source
Bases: TimeFModel
TimeF entity counts recorded for inspection without opening DuckDB.
annotation_contents
class-attribute
instance-attribute
¶source
Number of reusable annotation content items.
annotation_occurrences
class-attribute
instance-attribute
¶source
Number of annotation attachments across all object types.
model_config
class-attribute
instance-attribute
¶source
model_config = ConfigDict(
extra="forbid",
frozen=True,
revalidate_instances="always",
serialize_by_alias=True,
validate_by_name=True,
validate_default=True,
)
signal_chunks
class-attribute
instance-attribute
¶source
Number of Signal chunk placements in the values plane.
signals_by_spec
class-attribute
instance-attribute
¶source
Signal count keyed by specification type.
ManifestFiles ¶source
Bases: TimeFModel
Descriptors for every TimeF artifact. Readers use this data rather than a file glob.
model_config
class-attribute
instance-attribute
¶source
model_config = ConfigDict(
extra="forbid",
frozen=True,
revalidate_instances="always",
serialize_by_alias=True,
validate_by_name=True,
validate_default=True,
)
payloads
class-attribute
instance-attribute
¶source
Packed large text, string lists, and irregular time offsets.
time_series
class-attribute
instance-attribute
¶source
Parquet shards or files inside the Zarr values store.
PayloadSource ¶source
Bases: TimeFModel
A release whose payload files this release reads, pinned to the files it reuses.
The pins copy the source's own manifest records, so checking that the source is still the release this one was written against needs only the two manifests, no hashing.
files
instance-attribute
¶source
The source's manifest records for the files this release reads, in path order.