awesome-repositories.com
博客
awesome-repositories.com

通过 AI 驱动的搜索,发现最优秀的开源仓库。

探索精选搜索开源替代品自托管软件博客网站地图
项目关于排名机制媒体报道MCP 服务器
法律隐私政策服务条款
© 2026 Bringes Technology SRL·VAT RO45896025·hello@awesome-repositories.com
·

17 个仓库

Awesome GitHub RepositoriesASGI Frameworks

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.

Awesome ASGI Frameworks GitHub Repositories

用 AI 发现最棒的仓库。我们将通过 AI 为您搜索最匹配的仓库。
  • channelcat/sanicchannelcat 的头像

    channelcat/sanic

    18,628在 GitHub 上查看↗

    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.

    Python
    在 GitHub 上查看↗18,628
  • encode/starletteencode 的头像

    encode/starlette

    12,397在 GitHub 上查看↗

    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.

    Python
    在 GitHub 上查看↗12,397
  • kludex/starletteKludex 的头像

    Kludex/starlette

    12,397在 GitHub 上查看↗

    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.

    Pythonasgiasynchttp
    在 GitHub 上查看↗12,397
  • falconry/falconfalconry 的头像

    falconry/falcon

    9,794在 GitHub 上查看↗

    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.

    Pythonapiapi-restasgi
    在 GitHub 上查看↗9,794
  • litestar-org/litestarlitestar-org 的头像

    litestar-org/litestar

    8,302在 GitHub 上查看↗

    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.

    Pythonapiasgiasyncio
    在 GitHub 上查看↗8,302
  • octokit/octokit.jsoctokit 的头像

    octokit/octokit.js

    7,795在 GitHub 上查看↗

    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.

    TypeScriptgithubhacktoberfestjavascript
    在 GitHub 上查看↗7,795
  • h3js/h3h3js 的头像

    h3js/h3

    5,353在 GitHub 上查看↗

    Hono 是一个极简的 JavaScript HTTP 框架,旨在跨多个运行时(包括 Node.js、边缘运行时和无服务器平台)构建 Web 服务器。它作为一个跨运行时 Web 服务器和 Web 标准 API 包装器,将各种运行时的请求和响应对象标准化为标准的 Web API 签名。 该项目作为 HTTP 中间件编排器和请求处理器,利用基于中间件的请求管道和分层路由挂载来创建模块化服务器结构。它通过一个运行时无关的事件包装器脱颖而出,确保无论部署环境如何,行为都保持一致。 该框架涵盖了广泛的功能,包括带有动态参数捕获的 HTTP 请求路由、实时 WebSocket 通信,以及 CORS 管理和基本身份验证等全面的安全措施。它还提供了通过 Cookie 进行会话管理、静态资产服务以及通过请求代理和 URL 重定向进行流量管理的实用程序。 该项目使用 TypeScript 实现。

    Connects existing third-party middleware to the modern server environment to maintain compatibility with older libraries.

    TypeScript
    在 GitHub 上查看↗5,353
  • airtai/faststreamairtai 的头像

    airtai/faststream

    5,234在 GitHub 上查看↗

    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.

    Python
    在 GitHub 上查看↗5,234
  • deployd/deployddeployd 的头像

    deployd/deployd

    4,942在 GitHub 上查看↗

    deployd 是一个实时 API 框架和 MongoDB 后端即服务 (BaaS),允许创建在客户端和服务器之间同步数据和事件的网络化接口。它作为一个 JavaScript API 中间件,可以与 HTTP 服务器集成,以提供身份验证、请求拦截器和实时功能。 该项目具有一个自托管的 API 管理仪表板,用于通过 Web 界面配置资源设置、管理数据集合和监控服务器状态。它包括一个实时数据同步引擎,使用 Socket 将实时数据库更新推送到连接的客户端。 该系统涵盖了具有模式验证和递归查询的后端数据管理,以及跨无状态请求和持久连接跟踪会话的用户身份验证工作流。它还提供实时事件广播、通过模块扩展自定义 API 中间件以及管理访问控制的功能。 该项目包含一个用于引导新项目和运行开发服务器的 CLI。

    Integrates as middleware to add real-time API capabilities and request handling to existing web servers.

    JavaScript
    在 GitHub 上查看↗4,942
  • ets-labs/python-dependency-injectorets-labs 的头像

    ets-labs/python-dependency-injector

    4,805在 GitHub 上查看↗

    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.

    Pythonaiohttpasynciodependency-injection
    在 GitHub 上查看↗4,805
  • strawberry-graphql/strawberrystrawberry-graphql 的头像

    strawberry-graphql/strawberry

    4,674在 GitHub 上查看↗

    Strawberry 是一个用于 Python 的类型安全 GraphQL 库,支持使用 Python 类型注解和数据类(dataclasses)来设计 Schema。它作为一个异步 GraphQL 服务器和执行引擎,提供了将 Schema 暴露给 ASGI 兼容 Web 框架(如 FastAPI、Django、Flask 和 Litestar)的桥梁。 该项目实现了 GraphQL Federation,允许创建分布式 Schema 和实体,并将它们合并为跨多个服务的统一超图(supergraph)。它还包含一个专用的 Relay 规范工具包,支持全局对象标识和基于连接的分页。 该框架涵盖了广泛的能力,包括通过 WebSocket 和服务器发送事件(SSE)进行实时数据流传输、Pydantic 模型映射以及自动代码生成。它为安全性和可观测性提供了集成工具,例如查询复杂度限制、基于角色的访问控制(RBAC)和执行指标追踪。 开发者可以使用内置的开发服务器和交互式 Schema 检查界面进行原型设计。

    Exposes GraphQL schemas over HTTP and WebSockets using the ASGI specification for asynchronous server interoperability.

    Pythonasgiasynciodjango
    在 GitHub 上查看↗4,674
  • zalando/connexionzalando 的头像

    zalando/connexion

    4,600在 GitHub 上查看↗

    Connexion 是一个规范驱动的框架,用于构建自动将 OpenAPI 规范映射到应用逻辑的 API。它使用这些规范来自动化路由、请求验证和响应序列化,并通过操作 ID 将 API 操作链接到后端处理函数。 该项目通过提供一个模式驱动的 Mock 服务器来区分开来,该服务器使用规范中的示例响应来模拟 API 行为,而无需后端逻辑。它还包括一个动态文档托管系统,将 API 规范转换为实时交互式控制台,用于探索和测试端点。 该框架涵盖了广泛的功能领域,包括通过基于中间件的身份验证和作用域验证实施安全性、可插拔的请求和响应验证逻辑,以及向类型化函数参数自动注入参数。它还提供了用于应用生命周期管理、自定义中间件集成和请求模拟测试的实用工具。 该项目可用于引导独立 Web 应用,或包装在现有框架周围以添加规范驱动的功能。

    Provides hooks to execute initialization and teardown code during the application lifecycle.

    Python
    在 GitHub 上查看↗4,600
  • spec-first/connexionspec-first 的头像

    spec-first/connexion

    4,600在 GitHub 上查看↗

    Connexion 是一个规范优先(Spec-first)的 Python Web 框架,旨在直接从预定义的 API 契约中派生服务器行为和验证逻辑。它通过使用 OpenAPI 规范自动处理路由、请求验证和响应序列化,从而实现 Web 服务的开发。 该框架通过充当 OpenAPI 请求验证器和 Mock 服务器而脱颖而出。它可以通过基于规范模式提供示例响应来模拟 API 行为,从而允许在后端实现完成之前进行前端开发和原型设计。此外,它还托管一个交互式 API 文档界面,为用户提供可视化和测试端点的控制台。 该项目涵盖了广泛的功能,包括基于契约定义的自动路由注册、参数注入和安全性实施。它还提供了用于请求和响应模式验证的工具,以及将应用异常映射到标准化机器可读错误响应的能力。

    Integrates resource initialization and cleanup logic with the ASGI application lifecycle events.

    Pythonapi-firstapi-restflask-extensions
    在 GitHub 上查看↗4,600
  • osm-search/nominatimosm-search 的头像

    osm-search/Nominatim

    4,334在 GitHub 上查看↗

    Nominatim 是一个自托管的地理空间搜索引擎和地理编码服务器,利用 OpenStreetMap 数据。它为正向地理编码(将地址或地名转换为地理坐标)和反向地理编码(将坐标转换为人类可读的物理地址)提供了完整的基础设施。 该项目具有一个专门的数据导入器,可将原始地图数据解析为 PostgreSQL 地理空间数据库。它的独特之处在于一个可配置的导入管道,该管道使用样式文件过滤地图特征,并使用基于重要性的排名系统根据流行度和特征类型对搜索结果进行优先级排序。 该系统涵盖了广泛的能力,包括空间索引、分层地址计算以及用于模糊查找的基于标记的搜索索引。它支持集成用于门牌号和邮政编码中心点的外部数据集,以及用于使本地数据集与全球源保持同步的增量数据复制。 该服务作为基于 ASGI 的 Web 应用部署,提供支持多种输出格式(包括 JSON、GeoJSON 和 XML)的地理空间搜索 API。

    Runs as a web application using an ASGI framework to serve geocoding requests over HTTP.

    Pythongeocodingopenstreetmaposm
    在 GitHub 上查看↗4,334
  • pallets/quartpallets 的头像

    pallets/quart

    3,599在 GitHub 上查看↗

    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.

    Pythonasgiasyncioflask
    在 GitHub 上查看↗3,599
  • kludex/fastapi-tipsKludex 的头像

    Kludex/fastapi-tips

    3,432在 GitHub 上查看↗

    Provides guidance on implementing middleware directly on the ASGI interface for better performance.

    在 GitHub 上查看↗3,432
  • aws-powertools/powertools-lambda-pythonaws-powertools 的头像

    aws-powertools/powertools-lambda-python

    3,267在 GitHub 上查看↗

    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.

    Pythonawsaws-lambdalambda
    在 GitHub 上查看↗3,267
  1. Home
  2. Web Development
  3. Web Server Frameworks
  4. ASGI Frameworks

探索子标签

  • Lifespan Integration2 个子标签Binds resource initialization and shutdown to the ASGI application lifecycle. **Distinct from ASGI Frameworks:** Focuses on the specific lifespan events of ASGI rather than general framework interoperability.
  • Middleware Libraries3 个子标签Collections of pluggable components that process requests and responses in an ASGI environment. **Distinct from Middleware Configuration:** Distinct from Middleware Configuration: provides the actual implementation of middleware components rather than the API for registering them.