Apirelio Python Core
Dependency-free, fail-safe asynchronous delivery core shared by official Apirelio Python 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.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file apirelio-0.2.0.tar.gz.
File metadata
- Download URL: apirelio-0.2.0.tar.gz
- Upload date:
- Size: 9.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
33e52a6a4885d2e87316f400d615e36cca671324bc82d32d1b53ed8e6a58b90b
|
|
| MD5 |
2bad25623c2de2ebaec4d3f3e4162452
|
|
| BLAKE2b-256 |
88e99adf2339fb5f0e28916f128714edfd1e56ddc3f5fc7bc19269763910c754
|
Provenance
The following attestation bundles were made for apirelio-0.2.0.tar.gz:
Publisher:
release-packages.yml on pryznar/apirelio-app
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apirelio-0.2.0.tar.gz -
Subject digest:
33e52a6a4885d2e87316f400d615e36cca671324bc82d32d1b53ed8e6a58b90b - Sigstore transparency entry: 2304551579
- Sigstore integration time:
-
Permalink:
pryznar/apirelio-app@1c84d6d2681d542f50b7711063472fda6fe7ac88 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pryznar
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packages.yml@1c84d6d2681d542f50b7711063472fda6fe7ac88 -
Trigger Event:
release
-
Statement type:
File details
Details for the file apirelio-0.2.0-py3-none-any.whl.
File metadata
- Download URL: apirelio-0.2.0-py3-none-any.whl
- Upload date:
- Size: 9.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2fd8aa2614a175bd5a406e1413b4bcd96f64382157ed5012e1feb3a6df2f50d0
|
|
| MD5 |
c84fd5badae136d3400751b80275b375
|
|
| BLAKE2b-256 |
b522e7047705a2e699fdd2f0b00e3f8710e6b7b9a3b0a6add38057c7cbd892eb
|
Provenance
The following attestation bundles were made for apirelio-0.2.0-py3-none-any.whl:
Publisher:
release-packages.yml on pryznar/apirelio-app
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
apirelio-0.2.0-py3-none-any.whl -
Subject digest:
2fd8aa2614a175bd5a406e1413b4bcd96f64382157ed5012e1feb3a6df2f50d0 - Sigstore transparency entry: 2304551642
- Sigstore integration time:
-
Permalink:
pryznar/apirelio-app@1c84d6d2681d542f50b7711063472fda6fe7ac88 -
Branch / Tag:
refs/tags/v0.2.0 - Owner: https://github.com/pryznar
-
Access:
private
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release-packages.yml@1c84d6d2681d542f50b7711063472fda6fe7ac88 -
Trigger Event:
release
-
Statement type: