Package profile
starlette-context
- Summary: Middleware for Starlette that allows you to store and access the context data of a request. Can be used with logging so logs automatically use request headers such as x-request-id or x-correlation-id.
- Author: Tom Wojcik <starlette-context-pkg@tomwojcik.com>
- License: MIT
- Homepage: https://github.com/tomwojcik/starlette-context
- Documentation: https://starlette-context.readthedocs.io/
- Source: https://github.com/tomwojcik/starlette-context
- Number of releases: 20
- First release: 0.1 on 2019-12-27
- Latest release: 0.5.1 on 2026-02-28
- Latest release size: 12.5 KB (pure Python wheel)
Dependencies
Starlette-context has one dependency (non-optional).View all 1 dependencies →Dependent packages
| Package | Optional | Group |
|---|---|---|
| llama-cpp-python | true | server |
Similar packages
- asgi-correlation-idMiddleware correlating project logs to individual requests
- logbookA logging replacement for Python
- spacy-loggersLogging utilities for SpaCy
- logzeasy log use for extra infos
- logistroSimple wrapper over logging for a couple basic features
- gapic-google-cloud-logging-v2GAPIC library for the Stackdriver Logging API
- splunk-handlerA Python logging handler that sends your logs to Splunk