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.excepthookand threads), sent before the process exits. logging: records atERRORand above become events,INFOand above become breadcrumbs. Change withlogging_event_level=andlogging_breadcrumb_level=(Noneturns either off).- HTTP calls made with
http.client(sourllib,requests,urllib3) andhttpxbecome 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.
Metadata
Release files for blipit 0.3.1
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 |
|---|---|---|---|---|
| blipit-0.3.1.tar.gz | 21.8 kB | With provenance | Details for blipit-0.3.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| blipit-0.3.1-py3-none-any.whl | Python 3 | none | any | Details for blipit-0.3.1-py3-none-any.whl |
Total release size: 39.9 kB
Release files / blipit-0.3.1.tar.gz
| Download URL | blipit-0.3.1.tar.gz |
|---|---|
| Size | 21.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
a2fcec75a49edf0de1d23b28e1c2339b502d541fe4f2001afef317548d4b1b71
|
|
BLAKE2b-256 checksum How to use checksums |
812f1bc148adae057adef8bfaa636ff5daf18f270346d5d8d810cf271129d346
|
| 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 logRelease files / blipit-0.3.1-py3-none-any.whl
| Download URL | blipit-0.3.1-py3-none-any.whl |
|---|---|
| Size | 18.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7791b61e5004c932090cecb5eb00389a64bea4d6456beb7bf960d96e38668e6d
|
|
BLAKE2b-256 checksum How to use checksums |
0f37f96756e7c2522785c2d4ef1900c6a7307b51c527a138c326ea3c84f2952c
|
| 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 logSecurity for blipit 0.3.1
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.
Attestation for blipit-0.3.1.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 logA 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.