🏷️ Types

Common type aliases used throughout the package.

type phyloom.types.Context

Materialized sample-specific context for a simulation run. Alias of dict[str, object].

type phyloom.types.Metadata

Arbitrary string-keyed metadata attached to phylogenetic objects. Alias of Mapping[str, Any].

type phyloom.types.NodeID

Identifier assigned to a node in a tree or network. Alias of int.

type phyloom.types.PathLike

A file-system path or string representation of a path. Alias of str | Path.

type phyloom.types.SampleID

Identifier assigned to a sample in a simulation run. Alias of int.

type phyloom.types.Seed

Initial state for a pseudo-random number generator. Alias of int.