Skip to main content

Zubbl FastAPI

The official FastAPI integration for the Zubbl Runtime Intelligence Platform.

Zubbl provides real-time runtime visibility, behavioural security and adaptive protection from inside your application.

Features

  • 5 minute integration
  • Automatic endpoint discovery
  • Runtime request telemetry
  • Behavioural security signals
  • Runtime protection policies
  • Live Runtime Viewer integration
  • Runtime Guard heartbeat
  • Zero application code changes beyond initial setup

Requirements

  • Python 3.10+
  • FastAPI 0.110+

Installation

pip install zubbl-fastapi

Quick Start

import os

from fastapi import FastAPI
from zubbl_fastapi import Zubbl

app = FastAPI()

zubbl = Zubbl(
    os.environ["ZUBBL_API_KEY"],
    identify=lambda request: request.state.user.id,
)

zubbl.attach(app)

Start your application.

Your application will automatically appear inside the Zubbl Runtime Viewer.

API keys

Supply ZUBBL_API_KEY through an uncommitted local environment file or your hosting platform managed environment-variable or secret facility. Never paste a real key into application source.

Trusted network context

Runtime Guard resolves the client IP from FastAPI and obtains trusted country, ASN, VPN and hosting information through a signed, cached Zubbl lookup before applying network policies.

trust_proxy_headers=True is not required for a normal installation. It remains an advanced option for deployments where the framework server has not already resolved the originating client IP and the proxy trust boundary is explicitly controlled.

Bootstrap availability

Recoverable bootstrap outages fail open by default: the FastAPI application starts, requests continue, and Runtime Guard retries after 30 seconds. During the outage, request.state.zubbl_skipped_reason is bootstrap_unavailable. Invalid or revoked keys and invalid configuration remain fatal.

Strict applications can set bootstrap_failure="closed". The retry interval can be changed with bootstrap_retry_seconds. This local bootstrap policy is separate from the remotely supplied runtime_fail_mode.

Documentation

https://zubbl.com

Runtime Intelligence

Unlike traditional security tooling, Zubbl observes what happens after authentication.

It continuously builds runtime evidence, behavioural intelligence and protection decisions directly from application behaviour.


Built by Zubbl.

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

zubbl_fastapi-0.1.14.tar.gz (32.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

zubbl_fastapi-0.1.14-py3-none-any.whl (22.6 kB view details)

Uploaded Python 3

File details

Details for the file zubbl_fastapi-0.1.14.tar.gz.

File metadata

  • Download URL: zubbl_fastapi-0.1.14.tar.gz
  • Upload date:
  • Size: 32.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for zubbl_fastapi-0.1.14.tar.gz
Algorithm Hash digest
SHA256 051fc077541ce80c3e3b7c65b469e5f16c68a67442b9ccebdc8f289ff29b8a0a
MD5 d49cb309c7f5580c602838b942d12a35
BLAKE2b-256 c8c909925db21e1803e4e33dc04bb4605a6d6893bb6cfcef8e2ef9a3027ee6d9

See more details on using hashes here.

File details

Details for the file zubbl_fastapi-0.1.14-py3-none-any.whl.

File metadata

  • Download URL: zubbl_fastapi-0.1.14-py3-none-any.whl
  • Upload date:
  • Size: 22.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.13

File hashes

Hashes for zubbl_fastapi-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 efe20a5f6d3f488052a01e0c7dc8e5c53adfa9a4267d52c462534c2407eb1fc2
MD5 dd3cd26c9e03b7bd7010ff6f0b900b1a
BLAKE2b-256 71bdc687f8eeba183db864bf00373a8369cccf89be1e75236cac496e5cbfa01a

See more details on using hashes here.

Release history Release notifications | RSS feed

0.1.15

2 files

This release

0.1.14 This release

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page