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.
Wir kuratieren Open-Source GitHub Repositories passend zu „best python http libraries“. Die Ergebnisse sind nach Relevanz für deine Suche sortiert — nutze die Filter unten oder verfeinere die Suche mit KI.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
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.
| Repository | Stars | Sprache | Lizenz | Letzter Push |
|---|---|---|---|---|
| hugapi/hug | 6.9K | Python | MIT | |
| aio-libs/aiohttp | 16.4K | Python | other | |
| sanic-org/sanic | 18.6K | Python | MIT | |
| encode/httpx | 15.1K | Python | bsd-3-clause | |
| urllib3/urllib3 | 4K | Python | MIT | |
| falconry/falcon | 9.8K | Python | Apache-2.0 | |
| bottlepy/bottle | 8.8K | Python | MIT | |
| twisted/twisted | 6K | Python | NOASSERTION | |
| psf/requests | 54K | Python | Apache-2.0 | |
| tornadoweb/tornado | 22.2K | Python | Apache-2.0 |