Skip to main content

blipit

Blipit error monitoring for Python. Know your app broke before your users tell you.

Built on Blipit's own core, blipit-nuggets. No third-party monitoring library, no extra dependencies: the standard library only.

Install

pip install blipit

Quick start

Call init once at startup, before the app is created. For Django, put it at the top of settings.py.

import blipit

blipit.init(key="<public key>", environment="production", release="myapp@1.4.2")

The key is on the project's Keys page at app.blipit.io. project= is still accepted for older setups and no longer needed. If the key is empty (for example an unset environment variable), init logs a warning on the blipit logger, returns False and Blipit stays off; it never raises, so a missing key cannot stop the app from starting.

What is reported on its own

  • Uncaught exceptions (sys.excepthook and threads), sent before the process exits.
  • logging: records at ERROR and above become events, INFO and above become breadcrumbs. Change with logging_event_level= and logging_breadcrumb_level= (None turns either off).
  • HTTP calls made with http.client (so urllib, requests, urllib3) and httpx become breadcrumbs.
  • Django, Flask, FastAPI and Starlette: unhandled view errors with the request (URL, method, user agent; never cookies, auth headers or bodies), one isolated scope per request.
  • Celery: task failures, tagged with the task name.
  • Django ORM and SQLAlchemy queries become breadcrumbs with literals replaced by ?.

Pass default_integrations=False to turn all of this off and only send what you capture yourself.

Manual capture

blipit.capture_exception(err)
blipit.capture_message("cache miss rate above 50%", level="warning")
blipit.set_user({"id": "42", "email": "ana@example.com"})
blipit.set_tag("region", "ap-southeast-1")
blipit.set_context("order", {"id": 1042, "total": 99.5})
blipit.add_breadcrumb(message="cache cleared", category="cache")
blipit.capture_security("login_failed", actor=email, ip=client_ip, outcome="bad_password")

Login attempts (capture_security) need the project's secret key (init with it on the server) and the Scale plan; with the public key ingest refuses them with 403 security_needs_secret_key.

Options

Option Default
environment, release production, none Shown on every issue.
sample_rate 1.0 Share of error events to send.
traces_sample_rate 0.0 Share of requests and tasks traced for Pulse.
before_send(event, hint) none Change the event (a dict in Blipit's format) or return None to drop it.
before_breadcrumb(crumb, hint) none Same for breadcrumbs.
ignore_errors [] Exception classes or class names never sent.
server_name none Tag server on events, service name on spans.
max_breadcrumbs 100
include_source_context True Five lines of source around each frame.
shutdown_timeout 2.0 Seconds to wait for unsent events at exit.
debug False Logs rejected sends and rate limits.

Other options from older versions are accepted and ignored.

Pulse (performance)

Pass traces_sample_rate=0.2 to init. Django, Flask, FastAPI and Starlette requests, Celery tasks, outgoing HTTP calls and SQL queries show up on the Pulse page, and errors link to their trace.

How sending works

Events go to POST /api/v1/events and spans to /v1/traces from one background thread, with a queue of at most 100 events (the oldest is dropped first). A 429 pauses sending for the Retry-After the server gives; a 5xx or network error is retried twice. Keys and values that look like passwords, tokens, cookies, sessions or card numbers are replaced with [Filtered] before anything leaves the process.

Updates

In development Blipit logs one line on the blipit logger when a newer version is out, with the reason and the command. Update with pip install -U blipit. Details: https://docs.blipit.io/updates

Tests

pip install pytest
python -m pytest

Framework smoke tests run when Django, Flask, FastAPI, Celery or SQLAlchemy are installed, and are skipped otherwise.

Docs: https://docs.blipit.io/python

Metadata

Release files for blipit 0.3.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 blipit 0.3.0
File Size Uploaded Provenance Actions
blipit-0.3.0.tar.gz 21.4 kB With provenance Details for blipit-0.3.0.tar.gz

Built distribution (wheel)

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

Total release size: 39.3 kB

Release files / blipit-0.3.0.tar.gz

Download URL blipit-0.3.0.tar.gz
Size 21.4 kB
Tags Source
SHA-256 checksum
How to use checksums
c61c1e330ece6aaea7bea6bc0da9c0cedd68c7b3a5993f78c0b61fdd9c25b257
BLAKE2b-256 checksum
How to use checksums
b47837e261ec3e12230cf997fd288dd8c81f48dd41d9331248263f9c75376013
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 22, 2026.

Transparency log

Release files / blipit-0.3.0-py3-none-any.whl

Download URL blipit-0.3.0-py3-none-any.whl
Size 17.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
39003e1e8817ded16b32affe43732423360d19e1c1a9d6c224dbf157693bd831
BLAKE2b-256 checksum
How to use checksums
f14a85588c98b9ba22193b36eee5d8553047c4c6a96748ababee4bbd7f394566
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/7.0.0 CPython/3.13.14

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 Oct 22, 2026.

Transparency log

Security for blipit 0.3.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 blipit-0.3.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 Oct 22, 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