Skip to main content

observr — Python SDK

Zero-config observability for Python services. One line to start tracing.

import observr
observr.init(service="my-api")  # HTTP tracing + logs + dashboard. Done.

Install

pip install observr

Quickstart

Flask

import observr
from flask import Flask

observr.init(service="my-api")
app = Flask(__name__)

FastAPI

import observr
from fastapi import FastAPI

observr.init(service="my-api")
app = FastAPI()

Manual spans

with observr.get_client().span("db.query", table="users") as span:
    rows = db.execute("SELECT ...")
    span.set_attribute("row_count", len(rows))

Configuration

observr.init(
    service="my-api",           # Service name shown in dashboard
    collector_url="http://localhost:7676",  # observrd collector URL
    auto_instrument=True,       # Auto-detect Flask / FastAPI
    log_level="DEBUG",          # Minimum log level to capture
)

Metadata

Release files for observr 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for observr 0.5.0
File Size Uploaded Provenance Actions
observr-0.5.0.tar.gz 16.5 kB With provenance Details for observr-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for observr 0.5.0
File Interpreter ABI Platform Actions
observr-0.5.0-py3-none-any.whl Python 3 none any Details for observr-0.5.0-py3-none-any.whl

Total release size: 30.2 kB

Release files / observr-0.5.0.tar.gz

Download URL observr-0.5.0.tar.gz
Size 16.5 kB
Tags Source
SHA-256 checksum
How to use checksums
9a6ed8409d3091710bcbb1180921b7d988a940306da0ea0257c185c032089d4c
BLAKE2b-256 checksum
How to use checksums
6c396d25e475bfe8b6d4a8f7523eb5d62201b93f0ce0c18b9fc9065b759a056a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 18, 2026.

Transparency log

Release files / observr-0.5.0-py3-none-any.whl

Download URL observr-0.5.0-py3-none-any.whl
Size 13.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
10f4c0f310a127e03fdea6f2c662ef10ba5dd91071b788c3d831ecec003e5347
BLAKE2b-256 checksum
How to use checksums
90b724dc8f7b8f42bbe4b4700fe7c5e4fb98966614ff93a744e793514742572b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 18, 2026.

Transparency log

Security for observr 0.5.0

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.

Full provenance

Both files in this release have been uploaded with provenance metadata.

Select from 2 files

Attestation for observr-0.5.0.tar.gz

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 18, 2026.

Transparency log

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.

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