Middleware that logs requests and responses to standard output
Project description
Swarmauri Middleware Stdio
Middleware that logs requests and responses to standard output.
Usage
from fastapi import FastAPI
from swarmauri_middleware_stdio import StdioMiddleware
app = FastAPI()
app.middleware("http")(StdioMiddleware().dispatch)
@app.get("/")
async def hello() -> dict[str, str]:
return {"message": "hello"}
Project details
Release history Release notifications | RSS feed
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 swarmauri_middleware_stdio-0.8.0.dev3.tar.gz.
File metadata
- Download URL: swarmauri_middleware_stdio-0.8.0.dev3.tar.gz
- Upload date:
- Size: 6.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a4f397e9bf1dfb9f52a8924f885a4567c25a4e09f3bcda04323ee83f31d8c26f
|
|
| MD5 |
f2565e8a38efa851f509eaf1a5056ba1
|
|
| BLAKE2b-256 |
7b9e9e664a4f353b0d80712715957be14f64797871aa975b461b250776ce77cf
|
File details
Details for the file swarmauri_middleware_stdio-0.8.0.dev3-py3-none-any.whl.
File metadata
- Download URL: swarmauri_middleware_stdio-0.8.0.dev3-py3-none-any.whl
- Upload date:
- Size: 7.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.16
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6a34e5f26804b294bf10c2f78abc25ed4481db10cfe9fb3511007e9c5718e3c0
|
|
| MD5 |
5fdedd8bc203e9938f1bb2e7d7c5f070
|
|
| BLAKE2b-256 |
3b3702598c09530ccaa4132f59a318f143d6ed38359971b4ddc77dd869e599b4
|