17 مستودعات
Web frameworks that implement the Asynchronous Server Gateway Interface for interoperability with various ASGI servers.
Distinct from Web Server Frameworks: Distinct from Web Server Frameworks: specifically focuses on the ASGI standard for asynchronous interoperability.
Explore 17 awesome GitHub repositories matching web development · ASGI Frameworks. Refine with filters or upvote what's useful.
Sanic is a Python ASGI web framework and asynchronous HTTP server. It is designed to build high-performance web applications and servers that handle concurrent requests using non-blocking logic. The framework implements the Asynchronous Server Gateway Interface standard, allowing applications to be deployed across various ASGI-compatible servers. It utilizes an asyncio-based event loop and integrates a Cython-based runtime wrapper around libuv to manage I/O operations. The system manages traffic through route-based request dispatching and a middleware-based request pipeline. These components
Serves as an ASGI-compatible framework for building asynchronous web applications.
Starlette is an asynchronous web framework and toolkit for building high-performance web services based on the ASGI specification. It serves as a lightweight foundation for creating web applications with a focus on asynchronous request and response handling. The framework provides specialized toolkits for managing persistent bidirectional WebSocket communication and an asynchronous HTTP server toolkit for routing and middleware. It distinguishes itself by offering a non-blocking background task queue that executes functions after a response has been sent to the client. The project covers a b
Implements the ASGI specification to enable high-performance, non-blocking asynchronous web service development.
Starlette is a lightweight ASGI web framework and asynchronous HTTP toolkit used to build high-performance HTTP and WebSocket services. It functions as a WebSocket server framework and a collection of ASGI middleware components for managing network requests through non-blocking asynchronous logic. The framework provides tools for real-time communication via persistent bidirectional channels and infrastructure for high-performance APIs. It includes specialized capabilities for response compression, incremental data streaming, and the execution of non-blocking background tasks after a response
Implements a lightweight web framework based on the ASGI specification for high-performance asynchronous services.
Falcon is a minimalist Python web API framework and high-performance microservices framework. It serves as a resource-oriented API toolkit designed for building RESTful APIs and data plane services that prioritize low overhead, reliability, and scale. The framework implements an ASGI web server interface to handle both synchronous and asynchronous HTTP requests and WebSockets. It features a dedicated HTTP middleware system for intercepting network traffic and executing shared processing logic across multiple API endpoints. Its capability surface covers resource-based routing, HTTP specificat
Implements the ASGI specification to provide interoperability between asynchronous Python applications and web servers.
Litestar is a high-performance Python ASGI web framework designed for building asynchronous APIs and web services. It functions as a type-safe toolkit that leverages Python type hints to provide automatic request validation and response serialization, while natively generating interactive API documentation based on the OpenAPI specification. The framework is distinguished by its integrated dependency injection system, which manages shared resources and resolves complex nested service chains directly within request handlers. It further organizes API development through class-based controllers
Functions as a high-performance Python web framework implementing the ASGI standard for asynchronous interoperability.
Octokit.js is a GitHub API SDK used to interact with GitHub via REST and GraphQL interfaces. It serves as a client for executing typed queries and mutations, managing authenticated REST requests, and handling signed webhooks across Node.js, Deno, and browser environments. The library features a plugin-based request pipeline and an adapter-based HTTP client, allowing the interception of requests and responses across different runtimes. It employs strategy-based authentication to separate credential management from request logic, supporting static tokens, OAuth flows, and GitHub App installatio
Provides pre-built server middleware to handle webhook endpoints and process OAuth redirect routes.
Hono is a minimal JavaScript HTTP framework designed for building web servers across multiple runtimes, including Node.js, edge runtimes, and serverless platforms. It functions as a cross-runtime web server and a web standard API wrapper, normalizing various runtime request and response objects into standard Web API signatures. The project serves as an HTTP middleware orchestrator and request handler, utilizing a middleware-based request pipeline and hierarchical route mounting to create modular server structures. It distinguishes itself through a runtime-agnostic event wrapper that ensures c
Connects existing third-party middleware to the modern server environment to maintain compatibility with older libraries.
FastStream is an asynchronous Python framework designed for building event-driven microservices. It provides a unified abstraction layer for interacting with various message brokers, enabling developers to manage event production and consumption through a consistent interface while maintaining access to native provider-specific features. The framework centers on a decorator-based routing model that binds application logic directly to broker topics, supported by a built-in dependency injection container that resolves resources at runtime. The framework distinguishes itself through its deep int
Executes startup and shutdown routines to initialize connections or clean up resources in sync with application lifecycles.
deployd هو إطار عمل API في الوقت الفعلي وخلفية MongoDB كخدمة تسمح بإنشاء واجهات شبكية تزامن البيانات والأحداث بين العملاء والخوادم. يعمل كبرمجية وسيطة لـ JavaScript API يمكن دمجها مع خوادم HTTP لتوفير المصادقة، ومعترضات الطلبات، وقدرات الوقت الفعلي. يتميز المشروع بلوحة تحكم إدارة API ذاتية الاستضافة لتكوين إعدادات الموارد، وإدارة مجموعات البيانات، ومراقبة حالة الخادم من خلال واجهة قائمة على الويب. يتضمن محرك مزامنة بيانات في الوقت الفعلي يدفع تحديثات قاعدة البيانات الحية إلى العملاء المتصلين باستخدام المقابس (sockets). يغطي النظام إدارة بيانات الخلفية مع التحقق من المخطط والاستعلام المتكرر، بالإضافة إلى سير عمل مصادقة المستخدم التي تتتبع الجلسات عبر الطلبات عديمة الحالة والاتصالات المستمرة. كما يوفر قدرات لبث الأحداث في الوقت الفعلي، وتوسيع البرمجية الوسيطة لـ API المخصصة عبر الوحدات، والتحكم في الوصول الإداري. يتضمن المشروع CLI لتمهيد مشاريع جديدة وتشغيل خوادم التطوير.
Integrates as middleware to add real-time API capabilities and request handling to existing web servers.
This is a dependency injection framework and inversion of control container for Python. It decouples object creation from business logic by managing how services and their dependencies are assembled, delivered, and linked within an application. The framework is distinguished by its ability to perform automated component wiring, using import hooks and decorators to inject dependencies into functions and classes across different modules. It supports non-blocking flows through an asynchronous dependency resolver and manages the initialization and shutdown sequences of shared external resources a
Binds resource initialization and shutdown sequences to the ASGI application lifecycle to ensure components start and stop correctly.
Strawberry هي مكتبة GraphQL آمنة من حيث النوع لـ Python تتيح تصميم المخططات باستخدام تعليقات النوع (type annotations) و dataclasses في Python. تعمل كخادم GraphQL غير متزامن ومحرك تنفيذ، مما يوفر جسرًا لعرض المخططات عبر أطر عمل الويب المتوافقة مع ASGI مثل FastAPI و Django و Flask و Litestar. ينفذ المشروع GraphQL Federation، مما يسمح بإنشاء مخططات وكيانات موزعة تندمج في مخطط فائق موحد عبر خدمات متعددة. كما يتضمن مجموعة أدوات مخصصة لمواصفات Relay، تدعم تحديد الكائنات عالميًا والترقيم القائم على الاتصال. يغطي إطار العمل مجموعة واسعة من القدرات، بما في ذلك تدفق البيانات في الوقت الفعلي عبر WebSockets و Server-Sent Events، ورسم خرائط نماذج Pydantic، وتوليد الكود التلقائي. يوفر أدوات متكاملة للأمان والمراقبة، مثل تحديد تعقيد الاستعلام، والتحكم في الوصول القائم على الأدوار، وتتبع مقاييس التنفيذ. يمكن للمطورين إنشاء نماذج أولية باستخدام خادم تطوير مدمج مع واجهة فحص مخطط تفاعلية.
Exposes GraphQL schemas over HTTP and WebSockets using the ASGI specification for asynchronous server interoperability.
Connexion is a specification-driven framework for building APIs that automatically maps OpenAPI specifications to application logic. It uses these specifications to automate routing, request validation, and response serialization, linking API operations to backend handler functions via operation IDs. The project differentiates itself by providing a schema-driven mock server that simulates API behavior using example responses from the specification without requiring backend logic. It also includes a dynamic documentation hosting system that translates the API specification into a live interact
Provides hooks to execute initialization and teardown code during the application lifecycle.
Connexion is a spec-first Python web framework designed to derive server behavior and validation logic directly from a predefined API contract. It enables the development of web services by using an OpenAPI specification to automatically handle routing, request validation, and response serialization. The framework distinguishes itself by acting as an OpenAPI request validator and mock server. It can simulate API behavior by serving example responses based on specification schemas, allowing for frontend development and prototyping before a backend implementation is completed. Additionally, it
Integrates resource initialization and cleanup logic with the ASGI application lifecycle events.
Nominatim is a self-hosted geospatial search engine and geocoding server that utilizes OpenStreetMap data. It provides a complete infrastructure for forward geocoding, converting addresses or place names into geographic coordinates, and reverse geocoding, translating coordinates into human-readable physical addresses. The project features a dedicated data importer that parses raw map data into a PostgreSQL geospatial database. It distinguishes itself through a configurable import pipeline that uses style files to filter map features and an importance-based ranking system to prioritize search
Runs as a web application using an ASGI framework to serve geocoding requests over HTTP.
Quart is an asynchronous Python web framework that implements the ASGI specification. It is used to build high-performance HTTP and WebSocket services, JSON REST APIs, and web applications using async and await syntax for non-blocking request handling. The framework supports persistent bidirectional communication via WebSocket API servers and enables the proactive delivery of assets through HTTP server push. It also includes a template engine for rendering dynamic HTML web pages and supports incremental request and response streaming to manage large payloads. General capabilities cover reque
Implements the ASGI specification to ensure interoperability with various asynchronous Python web servers.
Provides guidance on implementing middleware directly on the ASGI interface for better performance.
AWS Powertools for Python is a utility framework designed for building production-ready Python functions on AWS Lambda. It provides a comprehensive suite of tools for observability, event parsing, routing, and idempotency management to streamline the development of serverless applications. The project distinguishes itself through specialized capabilities for event-driven architectures and AI agent orchestration. It enables the implementation of AI agents by exposing functions as tools via OpenAPI schemas and managing conversation states. Additionally, it features an idempotency library that p
Implements the ASGI specification to enable local testing and execution of serverless APIs.