tigrbl-atoms
Overview
Summary
tigrbl-atoms: Runtime atom package for Tigrbl stages, phases, typed contexts, event anchors, protocol execution, and composable pipeline algebra.
Why This Package
Use it when you need this foundational Tigrbl layer directly as a small, focused dependency.
When to Use
Choose tigrbl-atoms when the quick-answer table matches your use case. Choose tigrbl instead when you want the full public facade. Choose a lower-level package such as tigrbl-core, tigrbl-base, or tigrbl-runtime when you are building framework extensions or testing a specific internal boundary.
Features
UploadedFile: declared in tigrbl_atoms/_request.py
Request: declared in tigrbl_atoms/_request.py
BatchPolicy: declared in tigrbl_atoms/atoms/batch/_types.py
BatchAdmission: declared in tigrbl_atoms/atoms/batch/_types.py
BatchGroup: declared in tigrbl_atoms/atoms/batch/_types.py
AtomImpl: declared in tigrbl_atoms/atoms/batch/abort_group.py
AtomImpl: declared in tigrbl_atoms/atoms/batch/admit.py
AtomImpl: declared in tigrbl_atoms/atoms/batch/await_seal.py
Non-Goals
tigrbl-atoms owns runtime atom package for Tigrbl stages, phases, typed contexts, event anchors, protocol execution, and composable pipeline algebra. Its imports do not by themselves configure credentials, deploy a service, or certify the behavior of its consumers. Dependencies and neighboring packages retain their own documented responsibilities.
Getting Started
Prerequisites
Python >=3.10,<3.15 is required. The manifest declares runtime dependencies including tigrbl-ops-oltp, tigrbl-ops-olap, tigrbl-ops-realtime, tigrbl-ops-webtransport, tigrbl-core, tigrbl-typing, jinja2, sqlalchemy, typing-extensions. Read the example’s inputs and service requirements before execution.
Installation
uv
uv add tigrbl-atoms
pip
python -m pip install tigrbl-atoms
Poetry
poetry add tigrbl-atoms
Quick Start
Example
Source: docs/readme/quick_start.py.
import importlib
module = importlib.import_module("tigrbl_atoms")
print(module.__name__)
Expected Result
The example demonstrates the documented tigrbl-atoms source boundary or workflow. Complete its required configuration first. README CI checks the maintained source’s syntax and declarations; it does not claim that external services or the application workflow were exercised.
Usage
Common Workflows
Source: docs/readme/usage.py.
import importlib
module = importlib.import_module("tigrbl_atoms")
print(module.__name__)
Verify the installed package
python -m pip show tigrbl-atoms
python - <<'PY'
from importlib.metadata import version
print(version("tigrbl-atoms"))
PY
Import the package boundary
Import a public symbol
from tigrbl_atoms import EGRESS_PHASES
print(EGRESS_PHASES)
Use with the facade when building applications
uv add tigrbl tigrbl-atoms
python - <<'PY'
import tigrbl
print(tigrbl.__name__)
PY
Configuration
Configure tigrbl-atoms through the APIs in package source; its manifest describes installation requirements, not an implicit service configuration. No additional package-global configuration contract is inferred from dependencies.
Error Handling
The inspected tigrbl-atoms source raises AssertionError, AttributeError, BufferError, CallbackRuntimeError, FileNotFoundError, HTTPException, KeyError, LookupError, NotImplementedError, PermissionError. Handle these at the calling boundary and consult the implementation for the triggering conditions.
Best Practices
Use the explicit tigrbl-atoms imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing EGRESS_PHASES, EdgeTarget, ErrorCtx, HANDLER_PHASES, HookPhase, HookPhases, HookPredicate, INGRESS_PHASES, PHASE_SEQUENCE, PhaseTreeEdge, PhaseTreeNode, StepFn, TypedErr, VALID_HOOK_PHASES, build_error_ctx; an import or successful installation alone does not establish its runtime guarantees.
Package Boundary
What It Owns
tigrbl-atoms owns the foundational framework package boundary. It should be installed when you need this package's focused responsibility without assuming every other Tigrbl workspace package is present.
Implementation orientation:
tigrbl_atoms: _ctx, _opview_helpers, _request, algebra, atoms/, events, fallback, phases, protocol_runtime, runtime_callbacks, runtime_channel, runtime_transactions
Package catalog:
phases.py and stages.py: lifecycle phase names, aliases, stage transitions, transaction flags, and error-phase metadata.
_ctx.py, _request.py, types.py, and events.py: typed context, request, event, and callable contracts shared by kernel/runtime code.
algebra.py: composable pipeline helpers for sequencing runtime work.
atoms/ingress: context initialization, transport extraction, and input preparation.
atoms/dispatch: binding matching, binding parsing, operation resolution, and input normalization.
atoms/dep: security dependency, general dependency, and parameter resolution units.
atoms/wire: input schema construction, input validation, output construction, and dump/serialization units.
atoms/sys: default system handlers for CRUD, bulk, analytics, realtime, transport, transaction, and persistence operations.
atoms/storage, atoms/out, atoms/response, atoms/egress, and atoms/err: storage conversion, masking, response negotiation/rendering, transport egress, error shaping, and rollback.
atoms/batch, atoms/fanout, atoms/hot, atoms/intent, and atoms/transport: batch scheduling, fanout shaping, hot slots, intent grouping, and transport sink/capture units.
protocol_runtime.py, runtime_channel.py, runtime_callbacks.py, and runtime_transactions.py: helpers used by runtime-owned protocol execution.
This file is a package-local distribution entry point. This README is the package-local distribution entry point for tigrbl-atoms. It answers install, usage, API, ownership, and certification-orientation questions for this package. Broader architectural decisions, release status, and cross-package proof chains remain in the repository-level docs and SSOT registry.
Public API and Import Surfaces
- Import roots:
tigrbl_atoms.
- Public symbols:
EGRESS_PHASES, EdgeTarget, ErrorCtx, HANDLER_PHASES, HookPhase, HookPhases, HookPredicate, INGRESS_PHASES, PHASE_SEQUENCE, PhaseTreeEdge, PhaseTreeNode, StepFn.
- Workspace dependencies:
tigrbl-ops-oltp, tigrbl-ops-olap, tigrbl-ops-realtime, tigrbl-ops-webtransport, tigrbl-core, tigrbl-typing.
- External runtime dependencies:
jinja2>=3.1, sqlalchemy>=2.0, typing-extensions>=4.0.
Entry Points
This package declares no command-line, GUI, or plugin entry points in its manifest.
Injected Dependencies
The direct installation dependencies of tigrbl-atoms are tigrbl-ops-oltp, tigrbl-ops-olap, tigrbl-ops-realtime, tigrbl-ops-webtransport, tigrbl-core, tigrbl-typing, jinja2, sqlalchemy, typing-extensions. These declarations do not imply automatic provider selection. Pass collaborators through the explicit constructors or call signatures in package source.
Protocol Consumers
Direct consumers in this checkout’s package manifests include tba-workspace, tigrbl-base, tigrbl-kernel, tigrbl-runtime, tigrbl-concrete, tigrbl. These edges describe declared dependencies, not protocol-conformance evidence.
Extensions
For tigrbl-atoms, use the source-declared public interfaces (EGRESS_PHASES, EdgeTarget, ErrorCtx, HANDLER_PHASES, HookPhase, HookPhases, HookPredicate, INGRESS_PHASES, PHASE_SEQUENCE, PhaseTreeEdge, PhaseTreeNode, StepFn, TypedErr, VALID_HOOK_PHASES, build_error_ctx) when composing or extending behavior. Its entry-point section below is authoritative for registered plugins; no additional extension loader is inferred from the package name.
Operations and Readiness
Operational Requirements
Operate tigrbl-atoms according to its actual entry points and collaborators. The dependency and Python requirements in the manifest are prerequisites; deployment topology, credentials, and readiness remain the responsibility of the consuming application unless explicitly documented above.
Health and Observability
This README does not establish a standalone health endpoint for tigrbl-atoms. Observe the concrete caller’s results, exceptions, and existing test reports. An application that embeds this package must define its own health and telemetry contract.
Security and Resource Limits
Apply the input, credential, and resource constraints implemented in package source. The tigrbl-atoms README gate is a documentation check, not a security review or a substitute for the implementation’s limits and caller authorization.
Compatibility
This source version of tigrbl-atoms declares Python >=3.10,<3.15. Consult its dependency constraints before upgrading. Source-version and registry-version badges have separate meanings; this migration makes no additional platform or interoperability certification claim.
Verification
Tests
Run python -m pytest docs/readme/test_examples.py from the tigrbl-atoms package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
The repository README gate also checks the required heading tree, metadata, managed fragments, and referenced files.
Certification Status
- Package status: governed package in the
tigrbl/tigrbl workspace.
- Governance source: SSOT registry.
- Release evidence: publish workflow validates package builds, tests, GitHub release assets, and PyPI publication for managed packages.
- Local certification guard:
pkgs/97_tests/tigrbl_tests/tests/unit/test_package_badges_and_notices.py verifies every package README keeps the Discord badge, Apache 2.0 badge, explicit Python-version badge, LICENSE, and NOTICE.
- Scope note: this README documents the package boundary. Runtime feature support remains governed by
.ssot/ entities and the conformance docs linked below.
Evidence
The README standards CI records mechanical documentation results for its tested commit. The package source and example sources support the package-boundary description; external runtime behavior requires its own test evidence.
FAQ
Why
Why select this package? tigrbl-atoms provides runtime atom package for Tigrbl stages, phases, typed contexts, event anchors, protocol execution, and composable pipeline algebra; use its own API boundary rather than assuming neighboring packages are bundled or configured automatically.
How
How do I start? Install or synchronize the environment under Getting Started, follow the maintained example for tigrbl-atoms, and consult package source for the exact types and signatures involved.
When
When should I validate an upgrade? Recheck tigrbl-atoms whenever its source version, declared collaborators, configuration, or caller changes. Run relevant behavioral tests in addition to the README gate before promotion.
Documentation and Related Packages
More Documentation
Related Packages
Project Links