Awesome Lists

starlette-context

by tomwojcik

Pythonpushed almost 2 years ago

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.

AI summary

Request Context Library

Middleware for storing and accessing request context data in Starlette applications

stars
454
forks
24
watching
7
awesome list
1
View on GitHubstarlette-context.readthedocs.io/en/latest

Embed the badge

Show how many awesome lists link to your project. The count updates automatically.

Awesome Lists badge
Markdown
[![Awesome Lists Badge](https://awesome.facts.dev/shield/tomwojcik/starlette-context/links.svg)](https://awesome.facts.dev/awesome/tomwojcik/starlette-context)
HTML
<a href="https://awesome.facts.dev/awesome/tomwojcik/starlette-context"><img src="https://awesome.facts.dev/shield/tomwojcik/starlette-context/links.svg" alt="Awesome Lists Badge" /></a>
Image URL
https://awesome.facts.dev/shield/tomwojcik/starlette-context/links.svg

Add a GitHub project

Missing a project or an awesome list? Paste its GitHub URL and we fetch it right away.