starlette-context

Request Context Library

Middleware for storing and accessing request context data in Starlette applications

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.

GitHub

450 stars
7 watching
24 forks
Language: Python
last commit: 7 days ago
Linked from 1 awesome list

fastapimiddlewarepythonpython3starlettestarlette-context

Backlinks from these awesome lists:

Related projects:

Repository Description Stars
acidjunk/starlette-opentracing Provides Opentracing support for Starlette and FastAPI frameworks 65
jowilf/starlette-admin A framework for building user-friendly admin interfaces in web applications 633
kthwaite/fastapi-websocket-broadcast A FastAPI application that enables real-time communication between clients through WebSockets. 133
1set/starlet A Go wrapper that simplifies the usage of Starlark by providing an easier-to-use interface and additional libraries for scripting and data conversion. 20
stavroskasidis/blazorcontextmenu A Blazor component that provides a customizable context menu 532
stefanm8/kubectl-select-context A light plugin for kubectl that prompts the user to select a config context. 0
snok/asgi-correlation-id Middleware that adds correlation IDs to logs of HTTP requests 431
timandy/routine Provides a set of goroutine context access interfaces to simplify the management of coroutine-specific information 235
melvinkcx/fastapi-events An event dispatching/handling library for FastAPI and Starlette applications 444
posener/ctxutil A collection of utility functions for managing Go contexts, particularly for handling asynchronous tasks and signal notifications. 25
3sidedcube/thunderrequest A networking framework that simplifies HTTP and HTTPS requests with support for OAuth2 authentication 16
zolomatok/johnny A caching library for Swift that supports various data types and provides features like automatic cache eviction and multiplatform support. 37
stephenhillier/starlette_exporter A tool to collect and export metrics from Starlette and FastAPI applications to Prometheus 316
osuked/elexondataportal A Python wrapper for retrieving data from the Elexon/BMRS API 52
erikgeiser/promptkit A collection of reusable command line prompts and widgets for building interactive programs 251