Skip to content

cayu.tools.terminal_publication

Public Cayu API. Definitions are grouped by their public source module, and definitions from private implementation modules appear on their package’s page; adding a symbol does not move existing links. The import shown at each entry is a supported public namespace. Read the Python API overview and install the required extra.

from cayu.tools import TOOL_TERMINAL_PUBLICATION_CAPACITY_BYTES
TOOL_TERMINAL_PUBLICATION_CAPACITY_BYTES = 4 * 1024 * 1024

Release source · Runtime guarantees · Capability guides

from cayu.tools import TOOL_TERMINAL_PUBLICATION_MAX_OFFLOADS
TOOL_TERMINAL_PUBLICATION_MAX_OFFLOADS = 4

Release source · Runtime guarantees · Capability guides

from cayu.tools import TOOL_TERMINAL_PUBLICATION_SLICE_BYTES
TOOL_TERMINAL_PUBLICATION_SLICE_BYTES = 256 * 1024

Release source · Runtime guarantees · Capability guides

from cayu.tools import TOOL_TERMINAL_STAGED_CAPACITY_BYTES
TOOL_TERMINAL_STAGED_CAPACITY_BYTES = 128 * 1024 * 1024

Release source · Runtime guarantees · Capability guides

from cayu.tools import ToolTerminalPublicationMetricsSnapshot

Content-free process-local staged-terminal publication measurements.

Decorators: @dataclass(frozen=True, slots=True).

Defaults below are source expressions; Field(...) includes schema/validation settings and default_factory creates a fresh value. Inherited declarations are included. Constructor behavior follows the model or dataclass shown in the bases/decorators.

Name Type Default
staged_count int required
staged_bytes int required
maximum_staged_count int required
maximum_staged_bytes int required
oldest_staged_delay_s float required
validation_cpu_s float required
publication_count int required
publication_lag_total_s float required
publication_lag_max_s float required
cooperative_yields int required
oversized_offloads int required
configured_slice_bytes int required
configured_capacity_bytes int required
configured_max_offloads int required
configured_staged_capacity_bytes int required
reserved_round_bytes int required
maximum_reserved_round_bytes int required
active_round_reservations int required
round_reservation_waiters int required
active_exclusive_rounds int required
active_publication_bytes int required
maximum_active_publication_bytes int required

Release source · Runtime guarantees · Capability guides