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

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

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

requests/requests

0
View on GitHub↗
54,070 星标·9,987 分支·Python·Apache-2.0·11 次浏览requests.readthedocs.io/en/latest↗

Requests

Requests is a Python HTTP client library used for sending HTTP requests and handling responses. It serves as a network client providing fundamental components for session management, proxy routing, multi-part uploading, and SSL/TLS certificate verification.

The project distinguishes itself through a session manager that maintains cookies and reuses TCP connections to improve network performance. It also includes a dedicated multi-part form uploader for transmitting binary data and an integrated SSL/TLS certificate verifier to ensure encrypted and trusted communication.

The library covers a broad range of networking capabilities, including RESTful service communication, automated web scraping, and request authentication. It also provides traffic management tools such as connection timeout control, proxy connection routing, and incremental response streaming for handling large data volumes.

Features

  • HTTP API Integrations - Serves as a comprehensive library for sending HTTP requests to remote servers and parsing responses for API integration.
  • Connection Pooling - Reuses TCP connections across multiple requests through connection pooling to reduce network latency and overhead.
  • HTTP Client Libraries - Provides a human-readable Python library for performing synchronous HTTP requests and managing connection pools.
  • Request Data Transmission - Provides comprehensive capabilities for sending HTTP requests with various data types and body formats to remote servers.
  • Certificate Verification - Validates SSL/TLS certificates during HTTPS connections to ensure server authenticity and prevent man-in-the-middle attacks.
  • Connection Certificate Verifiers - Ensures secure network communication by validating digital certificates during HTTPS connections against trusted authorities.
  • Standard Web Authentication Schemes - Implements standard HTTP authentication schemes such as Basic and Digest for accessing protected remote resources.
  • Session State Persistence - Manages cookies and security credentials across multiple requests to maintain a persistent authenticated user state.
  • Persistent Session Managers - Maintains persistent session data and authentication tokens across multiple network requests to ensure a consistent user state.
  • Session Connection Pooling - Maintains cookies and reuses TCP connections across multiple requests to improve overall network performance.
  • RESTful Services - Facilitates communication with RESTful services using standard HTTP methods and structured JSON payloads.
  • Request Timeouts - Allows setting maximum wait durations for server responses to prevent the application from freezing during network failures.
  • Response Decoders - Automatically detects character sets and applies decoding logic to convert incoming network data into readable text.
  • Multipart File Uploads - Enables the transfer of binary files and multipart form data to remote servers for storage or processing.
  • Proxy-Compatible Clients - Implements a client-side mechanism capable of routing all outbound HTTP traffic through specified proxy servers.
  • Multipart Form Encoding - Serializes binary files and text fields into a single stream using boundary markers for server-side file uploads.
  • Multipart Form Uploaders - Provides a dedicated tool for transmitting files and binary data to remote servers via multi-part form encoding.
  • Multipart Form Uploads - Implements a dedicated multi-part form uploader for transmitting binary assets and files to remote servers.
  • Traffic Routing Proxies - Directs outgoing network traffic through intermediate proxy servers to bypass restrictions or obscure the client origin.
  • Proxy Routing - Directs outgoing network traffic through specified intermediary proxy servers to bypass network restrictions.
  • Response Streaming - Provides the ability to stream large HTTP response bodies incrementally to minimize memory consumption.
  • Content-Type Based Deserializers - Detects the Content-Type header of server responses to determine the appropriate character encoding and decompression strategy.
  • Web Scraping - Provides the fundamental tools for downloading and decoding web page content for programmatic data extraction.
  • Example Projects - Reference implementation of a robust test suite.

Star 历史

requests/requests 的 Star 历史图表requests/requests 的 Star 历史图表

AI 搜索

探索更多 awesome 仓库

用简单的语言描述您的需求 —— AI 将根据相关性为您从数千个精选开源项目中进行排序。

Start searching with AI

Requests 的开源替代方案

相似的开源项目,按与 Requests 的功能重合度排序。
  • shazow/urllib3shazow 的头像

    shazow/urllib3

    4,026在 GitHub 上查看↗

    urllib3 is a Python HTTP client library used to send network requests and receive responses. It provides core components for managing HTTP connection pools, routing traffic through proxies, validating TLS certificates, and executing automatic request retries. The library focuses on network reliability and efficiency by maintaining a system that reuses established connections to multiple hosts to reduce latency. It ensures secure communication through client-side certificate verification and handles transient network errors using policy-based retry logic. The project covers broad networking c

    Python
    在 GitHub 上查看↗4,026
  • libcpr/cprlibcpr 的头像

    libcpr/cpr

    7,367在 GitHub 上查看↗

    C++ is a high-level HTTP client library and wrapper for libcurl. It provides a C++ interface for making network requests, managing network sessions, and implementing data transfers. The library distinguishes itself by offering an asynchronous HTTP client capable of executing non-blocking requests via callback interfaces. It also functions as a multipart form uploader for transmitting files and structured data, as well as an SSE stream handler for processing real-time server-sent events over persistent connections. Its broader capabilities cover secure web communication through SSL encryption

    C++
    在 GitHub 上查看↗7,367
  • 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

    Pythonhttphttp-clientpython
    在 GitHub 上查看↗4,026
  • guzzle/guzzleguzzle 的头像

    guzzle/guzzle

    23,453在 GitHub 上查看↗

    Guzzle is a PHP HTTP client used for sending synchronous and asynchronous requests to web services. It serves as a concurrent HTTP request manager, an HTTP stream handler, and a middleware-based HTTP pipeline. The project is a PSR-7 compliant client, utilizing standardized PHP interfaces for requests, responses, and streams. The library differentiates itself through a customizable functional handler stack that allows for the interception and modification of the request and response lifecycle. It features an adapter-based transport system that enables swapping between network implementations,

    PHP
    在 GitHub 上查看↗23,453
查看 Requests 的所有 30 个替代方案→

常见问题解答

requests/requests 是做什么的?

Requests is a Python HTTP client library used for sending HTTP requests and handling responses. It serves as a network client providing fundamental components for session management, proxy routing, multi-part uploading, and SSL/TLS certificate verification.

requests/requests 的主要功能有哪些?

requests/requests 的主要功能包括:HTTP API Integrations, Connection Pooling, HTTP Client Libraries, Request Data Transmission, Certificate Verification, Connection Certificate Verifiers, Standard Web Authentication Schemes, Session State Persistence。

requests/requests 有哪些开源替代品?

requests/requests 的开源替代品包括: shazow/urllib3 — urllib3 is a Python HTTP client library used to send network requests and receive responses. It provides core… libcpr/cpr — C++ is a high-level HTTP client library and wrapper for libcurl. It provides a C++ interface for making network… urllib3/urllib3 — urllib3 is a Python HTTP client library used for sending network requests and receiving responses. It functions as an… guzzle/guzzle — Guzzle is a PHP HTTP client used for sending synchronous and asynchronous requests to web services. It serves as a… node-fetch/node-fetch — node-fetch is a promise-based HTTP client library that provides a lightweight implementation of the Fetch API for the… jnunemaker/httparty — HTTParty is a Ruby HTTP client library designed for building standardized API clients. It abstracts low-level network…