This release is a pre-release and may not be stable for production use.
tigrbl-runtime
tigrbl-runtime
Execution bridge for compiled Tigrbl kernel plans and narrow runtime context/carrier compatibility.
Overview · Installation · Quick Start · Usage · API · Contributing · Governance · License
Overview
Summary
tigrbl-runtime: Execution bridge for compiled Tigrbl kernel plans and narrow runtime context/carrier compatibility.
Why This Package
Use it when you need this foundational Tigrbl layer directly as a small, focused dependency.
When to Use
Choose tigrbl-runtime 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
OpChannelCapabilityError: declared in tigrbl_runtime/channel/capabilities.pyRuntimeWebSocketRoute: declared in tigrbl_runtime/channel/websocket.pyRuntimeWebSocket: declared in tigrbl_runtime/channel/websocket.pyExecutorBase: Contract for runtime executors.Request: declared in tigrbl_runtime/executors/ctx/context.pyHotCtx: declared in tigrbl_runtime/executors/ctx/hot_state.pyNumbaPackedPlanExecutor: Executes packed plans and prioritizes numba-compiled route dispatch.PackedPlanExecutor: Executes packed kernel plans via kernel-attached packed execution hooks.
Non-Goals
tigrbl-runtime owns execution bridge for compiled Tigrbl kernel plans and narrow runtime context/carrier compatibility. 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-typing, tigrbl-kernel, tigrbl-atoms, tigrbl-base, tigrbl-core. Read the example’s inputs and service requirements before execution.
Installation
uv
uv add tigrbl-runtime
pip
python -m pip install tigrbl-runtime
Poetry
poetry add tigrbl-runtime
Quick Start
Example
Source: docs/readme/quick_start.py.
import importlib
module = importlib.import_module("tigrbl_runtime")
print(module.__name__)
Expected Result
The example demonstrates the documented tigrbl-runtime 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_runtime")
print(module.__name__)
Verify the installed package
python -m pip show tigrbl-runtime
python - <<'PY'
from importlib.metadata import version
print(version("tigrbl-runtime"))
PY
Import the package boundary
Import a public symbol
from tigrbl_runtime import Runtime
print(Runtime)
Use with the facade when building applications
uv add tigrbl tigrbl-runtime
python - <<'PY'
import tigrbl
print(tigrbl.__name__)
PY
Configuration
The package source references configuration keys TX_ROLLBACK. Consult the constructor or function signature before supplying them; a referenced key is not necessarily a global environment variable.
Error Handling
The inspected tigrbl-runtime source raises AttributeError, HTTPException, KeyError, OpChannelCapabilityError, RuntimeError, SemanticReactionError, SystemStepError, TypeError, ValueError, create_standardized_error. Handle these at the calling boundary and consult the implementation for the triggering conditions.
Best Practices
Use the explicit tigrbl-runtime imports documented below and keep collaborator configuration with the caller. Run the package’s relevant tests after changing Any, annotations, import_module; an import or successful installation alone does not establish its runtime guarantees.
Package Boundary
What It Owns
tigrbl-runtime owns the compiled-plan execution boundary. It should be installed when you need the narrow bridge that runs already-planned Tigrbl work without assuming the full facade is present.
Implementation orientation:
tigrbl_runtime: compiled plan execution, runtime context compatibility, and declared carrier lifecycle bridges
Runtime authoring BCP:
- Do use this package for executing compiled kernel plans and maintaining runtime context/carrier compatibility.
- Do keep execution aligned with compiled plans.
- Do not add route matching semantics, protocol fallback policy, JSON-RPC/REST envelope policy, response rendering, chunk emission semantics, operation behavior, or new executor families.
- Do not make application route handlers, FastAPI/Starlette objects, direct SQLAlchemy session calls, or ad-hoc engine construction the runtime contract.
- Do not bypass kernel plans or lifecycle phases when adding REST, JSON-RPC, stream, SSE, WebSocket, or WebTransport behavior.
- Avoid hiding behavior in runtime wrappers that diagnostics and compiled plans cannot inspect.
This README is the package-local distribution entry point for tigrbl-runtime. 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_runtime. - Public symbols:
Runtime,RuntimeBase. - Workspace dependencies:
tigrbl-typing,tigrbl-kernel,tigrbl-atoms,tigrbl-base,tigrbl-core. - Optional Numba dependency (
numbaextra):numba>=0.61.2.
Entry Points
This package declares no command-line, GUI, or plugin entry points in its manifest.
Injected Dependencies
The direct installation dependencies of tigrbl-runtime are tigrbl-typing, tigrbl-kernel, tigrbl-atoms, tigrbl-base, tigrbl-core. 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-concrete, tigrbl. These edges describe declared dependencies, not protocol-conformance evidence.
Extensions
For tigrbl-runtime, use the source-declared public interfaces (Any, annotations, import_module) 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-runtime 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-runtime. 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-runtime 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-runtime 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-runtime package directory for the maintained example source checks (Python compilation and non-Python file presence). Existing package tests include:
- tests/test_channel_lifecycle_reactions_t012.py
- tests/test_channel_runtime_surface.py
- tests/test_ctx_promote_compat.py
- tests/test_invoke_entrypoint_modes.py
- tests/test_invoke_phase_db.py
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/tigrblworkspace. - 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.pyverifies every package README keeps the Discord badge, Apache 2.0 badge, explicit Python-version badge,LICENSE, andNOTICE. - 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-runtime provides execution bridge for compiled Tigrbl kernel plans and narrow runtime context/carrier compatibility; 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-runtime, and consult package source for the exact types and signatures involved.
When
When should I validate an upgrade? Recheck tigrbl-runtime 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
- Workspace docs
- Package catalog
- Package layout
- Current target
- Current state
- SSOT registry
- Release workflow
Related Packages
Project Links
- Community: Discord.
- Issues: GitHub Issues.
- Repository: pkgs/50_runtime/tigrbl_runtime.
Contributing
How to Contribute
Follow the contribution guide and include a focused example or regression for changes to tigrbl-runtime. Keep package behavior, its documented boundary, and its tests aligned.
Development Setup
Work from the pkgs/50_runtime/tigrbl_runtime checkout. Synchronize its declared development environment with uv, then run the relevant package tests and python -m pytest docs/readme/test_examples.py. The repository’s dedicated README job installs readme-standards==0.1.3 without resolving unrelated runtime packages.
Notes for Maintainers
What is tigrbl-runtime?
tigrbl-runtime executes compiled Tigrbl kernel plans and preserves the narrow runtime context/carrier bridge needed to run those plans. Route selection, protocol fallback policy, response shaping, transport envelopes, and operation semantics are owned by kernel, atoms, and ops packages.
When should I install tigrbl-runtime?
Install it for extension packages, package-local tests, or internals that need this boundary without the whole facade.
Who is tigrbl-runtime for?
Framework maintainers, extension authors, and advanced users composing Tigrbl from split packages.
Where does tigrbl-runtime fit?
tigrbl-runtime lives at pkgs/50_runtime/tigrbl_runtime and serves a focused layer in the split Tigrbl framework.
How does tigrbl-runtime work?
It owns a narrow layer in the split workspace and is consumed by higher-level packages through explicit dependencies.
Install
uv add tigrbl-runtime
pip install tigrbl-runtime
The base install uses the Python dispatcher. Install tigrbl-runtime[numba] to use Numba-compiled route dispatch with the numba_packed executor.
Surface Coverage
| Surface | Value |
|---|---|
| PyPI package | tigrbl-runtime |
| Repository path | pkgs/50_runtime/tigrbl_runtime |
| Python import root | tigrbl_runtime |
| Console scripts | none declared |
| Entry points | none declared |
| Optional extras | numba |
| Legal files | LICENSE, NOTICE |
| Supported Python | `3.10 |
Lowering integration
lowering_services lazily exposes canonical kernel operation-view compilation and WebSocket JSON-RPC session construction to concrete integration code. It preserves the kernel function objects and keeps kernel imports out of concrete authoring modules.
Governance
Ownership and Decision Making
Changes to tigrbl-runtime follow the maintainer review process of tigrbl/tigrbl and its contribution guide. Author attribution remains in the manifest; this README does not assign new publishing or administrative authority.
Standards and Policies
tigrbl-runtime follows the versioned package-guide-v1 outline. All fixed headings, hierarchy, order, separators, and package-specific branding are checked by CI; reviewers assess the accuracy and usefulness of authored claims.
Lifecycle and Migration
Source and published versions are identified separately in the branding badges above. This change standardizes documentation and adds a development-only gate; it does not publish a new runtime version or declare a previously unpublished package released. Preserve explicit deprecation and replacement instructions where present.
License and Attribution
License
Licensed under Apache-2.0. See LICENSE.
Licensed under the Apache License, Version 2.0. See LICENSE, NOTICE, and the official Apache 2.0 license text.
Notices
See NOTICE for attribution.
Metadata
Release files for tigrbl-runtime 0.4.6.dev4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tigrbl_runtime-0.4.6.dev4.tar.gz | 70.5 kB | Without provenance | Details for tigrbl_runtime-0.4.6.dev4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tigrbl_runtime-0.4.6.dev4-py3-none-any.whl | Python 3 | none | any | Details for tigrbl_runtime-0.4.6.dev4-py3-none-any.whl |
Total release size: 160.3 kB
Release files / tigrbl_runtime-0.4.6.dev4.tar.gz
| Download URL | tigrbl_runtime-0.4.6.dev4.tar.gz |
|---|---|
| Size | 70.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
755900c1e9bef9b0f25dbd4ef056654d1baa8029d28a25f8fbbce6b425388b36
|
|
BLAKE2b-256 checksum How to use checksums |
6fe9e1e183b52634605b2e104edaffd884c54e038799bf939fd3ff3316db9f00
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Release files / tigrbl_runtime-0.4.6.dev4-py3-none-any.whl
| Download URL | tigrbl_runtime-0.4.6.dev4-py3-none-any.whl |
|---|---|
| Size | 89.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
96e7276d3ca2783ded7928d2d3dc2f623abe86ef2a4e67c7df593a70807e8e68
|
|
BLAKE2b-256 checksum How to use checksums |
3f177975ceb38cbf5cadda64e4216f32b2d1bacbf32a7c7d494b8b0cc788b783
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.13.10 {"installer":{"name":"uv","version":"0.13.10","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"26.04","id":"resolute","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
|
Security for tigrbl-runtime 0.4.6.dev4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.