Contents

starlette-context 0.4.0

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: 610, Watchers: 610, Forks: 29, Open Issues: 27

The tomwojcik/starlette-context repo was created 6 years ago and the last code push was 4 weeks ago.
The project is popular with 610 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 27 open issues on GitHub

  • Bump the linters group across 1 directory with 4 updates
  • Bump sphinx-rtd-theme from 3.0.2 to 3.1.0
  • Bump virtualenv from 20.29.2 to 20.36.1
  • Bump types-requests from 2.32.0.20250328 to 2.32.4.20260107
  • Bump urllib3 from 2.3.0 to 2.6.3
  • Bump the test-dependencies group across 1 directory with 2 updates

See more issues on GitHub

Related Packages & Articles

authx 1.5.0

Ready to use and customizable Authentications and Oauth2 management for FastAPI

piccolo 1.32.0

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

fastapi 0.129.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.1

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.