aethellayer (Python)
Probe for AethelLayer. Catch silent FastAPI, Starlette, Flask-style, and CLI failures.
Install
pip install aethellayer
export AETHEL_API_KEY=aethel_live_...
FastAPI
from fastapi import FastAPI
from aethellayer import Probe
app = FastAPI()
probe = Probe.from_env(environment="api_middleware", app_name="payments-api")
app.add_middleware(probe.fastapi_middleware())
Capture manually
probe.capture(
error_code="RATE_LIMIT_429",
endpoint_path="GET /v1/keys",
taxonomy="RateLimit",
message="Starter quota burned before noon",
)
CLI
aethellayer init
aethellayer run -- python your_cli.py
Or in code:
from aethellayer import Probe
with Probe.from_env(environment="cli").wrap_cli():
main()
Publish (maintainers)
cd packages/python
python -m pip install build twine
python -m build
python -m twine upload dist/*
Metadata
Release files for aethellayer 0.1.0
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 | |
|---|---|---|---|---|
| aethellayer-0.1.0.tar.gz | 3.9 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| aethellayer-0.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 8.5 kB
Release files / aethellayer-0.1.0.tar.gz
| Download URL | aethellayer-0.1.0.tar.gz |
|---|---|
| Size | 3.9 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e33fd8726235f8f122f935fe613083efb186bda5c6e2b1726308eec62af4aa71
|
|
BLAKE2b-256 checksum How to use checksums |
e4c6507e00ce46bdce80818e4a377d6a31e32a81feb295b69f237c6e7763aab1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Release files / aethellayer-0.1.0-py3-none-any.whl
| Download URL | aethellayer-0.1.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
ccca33a7a8234929304e6210c2c1a51593dad22767b28483ce5f8fe44ceb4a60
|
|
BLAKE2b-256 checksum How to use checksums |
84e5695ef920a4db2340578a250d1f829212650d2e4c41f32601c101aafba534
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.5
|
Security for aethellayer 0.1.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.
No provenance found
None of the files in this release were uploaded with provenance metadata.
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.