Zubbl Runtime
Core Python runtime client for Zubbl Runtime Guard.
zubbl-runtime provides the shared runtime, bootstrap, signing, policy enforcement, resilience and transport components used by the Zubbl framework adapters.
Requirements
- Python 3.10+
Installation
pip install zubbl-runtime
Most developers should install a framework adapter such as zubbl-fastapi, which installs this package automatically.
API keys
Supply the API key through the application environment. Never place a real Zubbl key in source code, Git, logs or screenshots.
export ZUBBL_API_KEY="zubbl_sk_..."
For local development, use an uncommitted environment file loaded by your application. Hosted applications should use their platform-managed environment variables or secrets.
Bootstrap errors
BootstrapError.retryable distinguishes temporary network, timeout, HTTP 408, HTTP 429 and HTTP 5xx failures from non-retryable credential or configuration errors. This bootstrap policy is separate from the remotely supplied runtime_fail_mode.
Trusted network context
When a framework adapter supplies a client IP, Runtime Guard uses a signed Zubbl Worker request to resolve trusted country, ASN, VPN and hosting information before local policy enforcement. Results are cached by IP to avoid a remote lookup for every request.
If trusted network information is temporarily unavailable, country remains XX. Geo policies allow unknown countries by default; applications can explicitly set unknown_country_default to deny when strict handling is required.
This normal path does not require trusting user-supplied proxy headers.
Policy refresh
Runtime Guard periodically refreshes effective policies using the polling interval supplied during bootstrap. Policy changes therefore take effect without restarting the protected application. The longer cache lifetime remains available for last-known-good policy recovery when Zubbl is temporarily unavailable.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file zubbl_runtime-0.1.9.tar.gz.
File metadata
- Download URL: zubbl_runtime-0.1.9.tar.gz
- Upload date:
- Size: 53.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
057408c29d2fd371e542abc4d54954d2bcff0f54ded23650560527ad29418385
|
|
| MD5 |
2b790fc56d156c3ec727fe00c820e3ba
|
|
| BLAKE2b-256 |
e784810898f8411fa4cd6a66c14e4c2f739a6dce192fb8c786a18c1f69078d95
|
File details
Details for the file zubbl_runtime-0.1.9-py3-none-any.whl.
File metadata
- Download URL: zubbl_runtime-0.1.9-py3-none-any.whl
- Upload date:
- Size: 40.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/6.1.0 CPython/3.8.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b7f25ad9128d71e96ee4c495080c4ed939be00ff0e8e2c926e524638cfd0785
|
|
| MD5 |
d103214d222930d99c1c128359e7fca0
|
|
| BLAKE2b-256 |
79fa22df43db5546887ab95f7b8726d041b1e1d2cc5b5859ca6e35419aaf0ec8
|