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

454 stars
7 watching
24 forks
Language: Python
last commit: almost 2 years ago
Linked from 1 awesome list

fastapimiddlewarepythonpython3starlettestarlette-context

Backlinks from these awesome lists:

Related projects:

RepositoryDescriptionStars
acidjunk/starlette-opentracingTracing middleware for Starlette and FastAPI to instrument applications for distributed tracing.65
jowilf/starlette-adminA framework for building user-friendly admin interfaces in web applications645
kthwaite/fastapi-websocket-broadcastA FastAPI application that enables real-time communication between clients through WebSockets.135
1set/starletA Go wrapper that simplifies the usage of Starlark by providing an easier-to-use interface and additional libraries for scripting and data conversion.24
stavroskasidis/blazorcontextmenuA Blazor component that provides a customizable context menu531
stefanm8/kubectl-select-contextA light plugin for kubectl that prompts the user to select a config context.0
snok/asgi-correlation-idMiddleware that adds correlation IDs to logs of HTTP requests447
timandy/routineProvides a set of goroutine context access interfaces to simplify the management of coroutine-specific information240
melvinkcx/fastapi-eventsAn event dispatching/handling library for FastAPI and Starlette applications453
posener/ctxutilA collection of utility functions for managing Go contexts, particularly for handling asynchronous tasks and signal notifications.25
3sidedcube/thunderrequestA networking framework that simplifies HTTP and HTTPS requests with support for OAuth2 authentication16
zolomatok/johnnyA caching library for Swift that supports various data types and provides features like automatic cache eviction and multiplatform support.37
stephenhillier/starlette_exporterA tool to collect and export metrics from Starlette and FastAPI applications to Prometheus318
osuked/elexondataportalA Python wrapper for retrieving data from the Elexon/BMRS API52
erikgeiser/promptkitA collection of reusable command line prompts and widgets for building interactive programs255