Correlation ID middleware and structured logging for FastAPI — zero project-specific dependencies
Project description
fastapi-correlation
Name reserved — active development coming soon.
Correlation ID middleware and structured logging for FastAPI.
Planned Features
CorrelationMiddleware— injects a uniqueX-Correlation-IDheader per request (generates one if absent)get_correlation_id()— context-var accessor usable anywhere in the request lifecycle- Structured logging integration — automatically attaches
correlation_idto every log record - WebSocket support — propagates correlation ID through WebSocket connections
- Zero project-specific dependencies (only Starlette/FastAPI)
Status
This package is a name reservation. Implementation will follow.
Follow progress at: https://github.com/acikabubo/fastapi-correlation
License
MIT
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 fastapi_correlation-0.0.1.tar.gz.
File metadata
- Download URL: fastapi_correlation-0.0.1.tar.gz
- Upload date:
- Size: 1.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260219","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7fcba5385e1a2cf8b677cdcd1b1b3e41170f20818c8cd90b608f40352cdaaa45
|
|
| MD5 |
0ccbe09bb583aabdca0dd5ac44bd5b47
|
|
| BLAKE2b-256 |
c7b788b772d8c141cfd555c084ba6e2c7a23891785fc26cf6907205ab51c6036
|
File details
Details for the file fastapi_correlation-0.0.1-py3-none-any.whl.
File metadata
- Download URL: fastapi_correlation-0.0.1-py3-none-any.whl
- Upload date:
- Size: 1.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.10.4 {"installer":{"name":"uv","version":"0.10.4","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"openSUSE Tumbleweed","version":"20260219","id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9eab15a41caf43aee0bb12b1a221d54af3010c83c8be2830efc854c944392f4f
|
|
| MD5 |
aeeb3a14f2f049a5358918596e81b5df
|
|
| BLAKE2b-256 |
253cc050999e69864efdc41c6f83ad70d7d47b37e50ed96b00134b597838abf0
|