starlette-context 0.3.6
0
Middleware for Starlette that allows you to store and access the context data of a request. Can be u
Contents
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.
Stars: 442, Watchers: 442, Forks: 24, Open Issues: 14The tomwojcik/starlette-context
repo was created 4 years ago and the last code push was 3 months ago.
The project is popular with 442 github stars!
How to Install starlette-context
You can install starlette-context using pip
pip install starlette-context
or add it to a project with poetry
poetry add starlette-context
Package Details
- Author
- Tom Wojcik
- License
- MIT
- Homepage
- https://github.com/tomwojcik/starlette-context
- PyPi:
- https://pypi.org/project/starlette-context/
- Documentation:
- https://starlette-context.readthedocs.io/
- GitHub Repo:
- https://github.com/tomwojcik/starlette-context
Classifiers
- Internet
Related Packages
Errors
A list of common starlette-context errors.
Code Examples
Here are some starlette-context
code examples and snippets.
GitHub Issues
The starlette-context package has 14 open issues on GitHub
- wip: drop error_response, add error detail and support for serialization
- Improved logging