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

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

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

Python HTTP Libraries

排名更新于 2026年7月13日

For a python library for making http requests, the strongest matches are hugapi/hug (Hug is a Python web framework designed for building), aio-libs/aiohttp (This library provides a comprehensive, high-performance framework for both) and sanic-org/sanic (Sanic is a high-performance, asynchronous Python web framework that). encode/httpx and urllib3/urllib3 round out the shortlist. Each is ranked by relevance to your query, popularity and recent activity.

我们为您精选了匹配 “best python http libraries” 的开源 GitHub 仓库。结果按与您查询的相关性进行排名 — 您可以使用下方筛选器缩小范围,或通过 AI 进行优化。

Python HTTP Libraries

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

    hugapi/hug

    6,883在 GitHub 上查看↗

    Hug is a Python API framework used for building web services by mapping functions to HTTP endpoints via decorators and type annotations. It functions as a type-based validator that automatically converts and validates incoming request data based on Python type hints and serves as a WSGI-compliant web framework for deployment on production servers. The project is distinguished by its ability to automatically generate API specifications and user-facing documentation derived from function signatures. It further extends the utility of internal logic by exposing functions as terminal commands thro

    Hug is a Python web framework designed for building APIs that leverages type hints for validation and supports asynchronous execution, making it a suitable tool for developing web services.

    PythonAsynchronous Request HandlersContent Negotiation UtilitiesRequest Middleware
    在 GitHub 上查看↗6,883
  • aio-libs/aiohttpaio-libs 的头像

    aio-libs/aiohttp

    16,351在 GitHub 上查看↗

    This project is an asynchronous network framework for Python that provides both a client and a server for HTTP communication. It is designed to handle high-concurrency network operations by leveraging cooperative multitasking, allowing for the management of thousands of simultaneous connections without the overhead of traditional thread-per-request models. The framework distinguishes itself through its focus on efficient resource management and persistent communication. It utilizes connection pooling to reuse network sockets, which reduces latency during sequential requests, and supports full

    This library provides a comprehensive, high-performance framework for both asynchronous HTTP clients and servers, featuring built-in connection pooling, middleware support, and streaming capabilities that align perfectly with your requirements.

    PythonConnection Pooling
    在 GitHub 上查看↗16,351
  • sanic-org/sanicsanic-org 的头像

    sanic-org/sanic

    18,624在 GitHub 上查看↗

    Sanic is an asynchronous Python web framework designed for building high-performance APIs and services. It operates as a production-ready ASGI web server, utilizing a non-blocking event loop to handle concurrent requests and maximize throughput. The framework is built to support scalable architectures, offering built-in worker process management to distribute traffic across available CPU cores. What distinguishes Sanic is its focus on modularity and developer-centric tooling. It features a blueprint-based system for organizing complex applications into pluggable components, alongside a robust

    Sanic is a high-performance, asynchronous Python web framework that provides the necessary tools for building scalable web services, including built-in support for request/response middleware, streaming, and type hinting.

    PythonAsynchronous Request HandlersMiddlewareRequest Middleware
    在 GitHub 上查看↗18,624
  • encode/httpxencode 的头像

    encode/httpx

    15,090在 GitHub 上查看↗

    This project is a comprehensive Python network request framework designed for both synchronous and asynchronous HTTP communication. It provides a high-performance client capable of executing non-blocking requests within event-driven applications, while also supporting standard blocking calls for simpler scripts. The library is built to operate natively across diverse asynchronous runtimes, automatically detecting and utilizing the underlying event loop for concurrency. What distinguishes this library is its modular architecture, which decouples request construction from network execution thro

    This library provides a high-performance, asynchronous-first HTTP client that natively supports connection pooling, streaming, and type hinting, making it a comprehensive solution for modern Python network requests.

    PythonConnection PoolingMultipart Upload Utilities
    在 GitHub 上查看↗15,090
  • urllib3/urllib3urllib3 的头像

    urllib3/urllib3

    4,026在 GitHub 上查看↗

    urllib3 is a Python HTTP client library used for sending network requests and receiving responses. It functions as an HTTP connection pool manager and a TLS certificate validator to ensure secure communication between endpoints. The library provides a system for maintaining reusable network connections to reduce the overhead of repeated handshakes. It also serves as an HTTP proxy client capable of routing requests through proxy servers to manage origin identity or bypass firewalls. The tool covers programmatic file uploads via multipart encoding and automated network resilience through the u

    This is a foundational Python HTTP client library that provides robust connection pooling and request handling, though it lacks native asynchronous support and the server-side capabilities requested.

    PythonHTTP Connection Pools
    在 GitHub 上查看↗4,026
  • 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

    Falcon is a high-performance web framework designed for building RESTful APIs and microservices, providing the necessary middleware, ASGI support, and request handling capabilities to serve as a robust foundation for web services.

    PythonAsynchronous Request HandlersRequest Middleware
    在 GitHub 上查看↗9,794
  • bottlepy/bottlebottlepy 的头像

    bottlepy/bottle

    8,772在 GitHub 上查看↗

    Bottle is a lightweight Python web micro-framework and template engine. It functions as a WSGI web framework that routes HTTP requests to Python functions to generate dynamic content. The framework is distributed as a single Python file with no external dependencies. This minimalist distribution model allows for rapid application prototyping and the creation of web services with a small footprint. The project provides capabilities for dynamic request routing, REST API development, and dynamic HTML rendering. It includes a built-in HTTP development server for web application hosting and a plu

    Bottle is a lightweight, single-file web framework for building services, though it lacks the native asynchronous support and advanced connection pooling found in modern, high-performance Python libraries.

    PythonRequest Middleware
    在 GitHub 上查看↗8,772
  • twisted/twistedtwisted 的头像

    twisted/twisted

    5,969在 GitHub 上查看↗

    Twisted is an event-driven networking engine for Python that provides a framework for building asynchronous network applications. At its core, it uses a reactor-based event loop to drive all input and output, dispatching callbacks in a single thread without blocking. The library implements a deferred promise chain for composing asynchronous logic, along with a protocol and factory pattern that separates connection state management from protocol handling, enabling reusable handlers for different network protocols. The framework supports multiple event loops across platforms, including select,

    Twisted is a mature, event-driven networking framework that provides robust asynchronous HTTP client and server capabilities, though it uses its own deferred-based concurrency model rather than modern Python async/await syntax.

    PythonAsynchronous Network Clients
    在 GitHub 上查看↗5,969
  • psf/requestspsf 的头像

    psf/requests

    54,044在 GitHub 上查看↗

    Requests is a high-level HTTP client library designed to simplify web communication and API integration. It provides an intuitive, human-readable interface for performing standard network operations, including request execution, connection pooling, and stateful session management. By encapsulating raw network data into structured objects, the library automates the complexities of headers, cookies, and payload transmission. The library distinguishes itself through a modular transport adapter layer that allows for custom protocol handling and extensible authentication hooks. It supports a wide

    Requests is a widely-used, robust HTTP client library that handles connection pooling and content decoding, though it lacks native asynchronous support as it is built on a synchronous architecture.

    PythonHTTP ClientsHTTP Interaction FrameworksWeb API Integration
    在 GitHub 上查看↗54,044
  • tornadoweb/tornadotornadoweb 的头像

    tornadoweb/tornado

    22,185在 GitHub 上查看↗

    Tornado is a Python web framework and asynchronous networking library used to build scalable web applications and high-performance servers. It provides a non-blocking HTTP server capable of handling thousands of simultaneous connections. The project functions as a WebSocket server framework, enabling real-time bidirectional communication and persistent connections between clients and servers. It supports the implementation of custom networking protocols and high-performance networking services beyond standard HTTP. Its capabilities cover asynchronous web application development, concurrent A

    Tornado is a mature, high-performance asynchronous web framework and networking library that provides the core server-side capabilities and non-blocking HTTP handling required for building scalable web services.

    PythonWeb ApplicationsAsynchronous Event LoopsAsynchronous I/O Libraries
    在 GitHub 上查看↗22,185
  • pallets/werkzeugpallets 的头像

    pallets/werkzeug

    6,869在 GitHub 上查看↗

    Werkzeug is a comprehensive library and toolkit for building WSGI-compliant web applications in Python. It provides the fundamental building blocks for web development, including an HTTP request and response toolkit, a rule-based URL routing engine, and a library for managing the overall web application lifecycle. The project is distinguished by its integrated development suite, which includes a WSGI development server featuring automatic code reloading and a PIN-protected interactive browser debugger for inspecting call stacks. It also includes a specialized WSGI test client that enables the

    Werkzeug provides the essential HTTP request and response utilities and WSGI-compliant tools needed to build web services, though it focuses on the server-side framework layer rather than providing a full-featured asynchronous HTTP client.

    PythonHTTP Request-Response Object LayersCustom Middleware ImplementationsEnvironment Simulations
    在 GitHub 上查看↗6,869
  • spyoungtech/grequestsspyoungtech 的头像

    spyoungtech/grequests

    4,576在 GitHub 上查看↗

    Grequests is an asynchronous HTTP client and wrapper for the Requests library that uses Gevent coroutines to execute multiple network requests concurrently. It utilizes a non-blocking connection pool to manage simultaneous outgoing requests and improve throughput compared to sequential execution. The library features an asynchronous response generator that yields HTTP responses as they complete, rather than waiting for an entire batch to finish. It provides a mechanism to limit the number of active connections to manage resource consumption and prevent destination servers from being overloade

    This library provides asynchronous HTTP client capabilities by wrapping Requests with Gevent, making it a suitable tool for high-performance concurrent requests despite lacking built-in server-side functionality.

    PythonParallel Request ExecutionsAsynchronous HTTP ClientsAsynchronous Request Execution
    在 GitHub 上查看↗4,576
一览前 10 名对比
仓库Star 数语言许可证最后推送
hugapi/hug6.9KPythonMIT2024年7月4日
aio-libs/aiohttp16.4KPythonother2026年2月19日
sanic-org/sanic18.6KPythonMIT2026年5月31日
encode/httpx15.1KPythonbsd-3-clause2026年2月11日
urllib3/urllib34KPythonMIT2026年6月15日
falconry/falcon9.8KPythonApache-2.02026年6月17日
bottlepy/bottle8.8KPythonMIT2026年3月23日
twisted/twisted6KPythonNOASSERTION2026年6月12日
psf/requests54KPythonApache-2.02026年6月15日
tornadoweb/tornado22.2KPythonApache-2.02026年6月22日

Related searches

  • a javascript library for making http requests
  • a php library for making http requests
  • an HTTP client library for Go
  • a java library for making http requests
  • an http client library for Rust
  • a C# library for making HTTP requests
  • an http client library for Flutter
  • an http client library for Dart