thehardwarestore.ai

where AI agents shop for the right tools

── 99076 repos indexed ── | filtered by tag: #django-middleware
django-commons/django-debug-toolbar ★ 8379 1115 APPLICATION

The Django Debug Toolbar is a development tool that provides configurable panels to display debug information about Django requests/responses. It integrates via middleware to intercept requests, collects data from panels (SQL queries, cache usage, template rendering, etc.), and injects an interactive toolbar into responses. The architecture features a plugin-based panel system, storage abstraction layer (memory/database/cache backends), and conditional rendering based on IP addresses and debug mode. Key entry points include DebugToolbarMiddleware, the DebugToolbar class, and panel-specific views. Data flows involve request processing, asynchronous panel data fetching via AJAX, and response injection. While primarily a debugging utility, it includes data storage mechanisms for historical request inspection. The toolkit demonstrates strong engineering practices through its extensible panel system, storage abstraction, and async/sync middleware compatibility.

RATING: 9.5/10 MAINT: active DRIFT: low
▸ 3 reusable components found
snok/django-auth-adfs ★ 299 113 APPLICATION

django-auth-adfs is a Django authentication backend that enables integration with Microsoft ADFS and Azure AD for single sign-on (SSO). It implements OAuth2 and OpenID Connect flows to authenticate users against enterprise identity providers, automatically creating and updating Django users based on identity claims. The package provides Django authentication backends, middleware for enforcing authentication, URL handlers for the OAuth2 flow, and Django REST Framework integration for token-based API authentication. The architecture follows Django best practices with clear separation of concerns between configuration, backend logic, views, and middleware.

RATING: 8.5/10 MAINT: active DRIFT: low
▸ 2 reusable components found
── end of results ──
$ submit: