Contents

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

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: 14

The 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
No  starlette-context  pypi packages just yet.

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

See more issues on GitHub

Related Packages & Articles

authx 1.3.1

Ready to use and customizable Authentications and Oauth2 management for FastAPI

piccolo 1.20.0

A fast, user friendly ORM and query builder which supports asyncio.

fastapi 0.115.0

FastAPI framework, high performance, easy to learn, fast to code, ready for production

fastapi-jwt-auth 0.5.0

FastAPI extension that provides JWT Auth support (secure, easy to use and lightweight)

secure 1.0.0

A lightweight package that adds security headers for Python web frameworks.

fastapi-redis-cache 0.2.5

A simple and robust caching solution for FastAPI endpoints, fueled by the unfathomable power of Redis.