Apirelio Python Core
Documentation · PyPI · Apirelio
Build customer-aware Python API monitoring integrations with dependency-free delivery and no payload capture.
Dependency-free, fail-safe asynchronous delivery core shared by the official FastAPI, Django and Flask SDKs. It creates the same customer-aware event contract as the PHP and TypeScript SDKs without capturing bodies, credentials, cookies, query strings, email addresses or IP addresses.
pip install apirelio
Framework applications should normally install their adapter. Custom integrations can enqueue completed requests directly:
from apirelio import ApirelioClient
client = ApirelioClient(
api_key="apr_project_key",
service="billing-api",
environment="production",
metadata_keys=("region",),
)
client.capture({
"method": "GET",
"route": "/api/invoices/{invoice_id}",
"status": 200,
"duration_ms": 24,
"sdk": "custom-python",
"sdk_version": "1.0.0",
"customer": {"id": "customer_42", "plan": "growth"},
})
capture() only builds and enqueues an event. A daemon worker sends bounded batches in the
background. Network and callback failures never alter the observed API response. Call
client.shutdown() during graceful shutdown to flush pending events.
Python 3.9 and newer are supported. The core has no runtime dependencies.
Metadata
Release files for apirelio 0.2.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 | |
|---|---|---|---|
| apirelio-0.2.1.tar.gz | 9.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| apirelio-0.2.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 19.4 kB
Release files / apirelio-0.2.1.tar.gz
| Download URL | apirelio-0.2.1.tar.gz |
|---|---|
| Size | 9.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
235b6abe2c2b18c732843bce76a97c7572bbff1c5d1eb0d9120dca1e08851d8b
|
|
BLAKE2b-256 checksum How to use checksums |
8d4ecf1ea372de84db28835f8162a165bfe2793e7893f0f4eb308f3fe3299af8
|
| 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 Sep 20, 2026.
Transparency logRelease files / apirelio-0.2.1-py3-none-any.whl
| Download URL | apirelio-0.2.1-py3-none-any.whl |
|---|---|
| Size | 9.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
5cb3a938d8642cd466fab2fbe5819c91295c1a5fb26e2368bbda76f4ba0114cb
|
|
BLAKE2b-256 checksum How to use checksums |
49bff65c9ea26ef612460dcaba386c31ffb6a79e05585e13fdb2d6789fc3fb1c
|
| 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 Sep 20, 2026.
Transparency log