Requests

A simple, yet elegant, HTTP library.
Alternatives To Requests
Project NameStarsDownloadsRepos Using ThisPackages Using ThisMost Recent CommitTotal ReleasesLatest ReleaseOpen IssuesLicenseLanguage
Requests51,070152,22857,00320 hours ago151July 20, 2023267apache-2.0Python
A simple, yet elegant, HTTP library.
Werkzeug6,50467,7222,04520 days ago95November 08, 202322bsd-3-clausePython
The comprehensive WSGI web application library.
Xutils35,91490512 years ago87June 18, 202026otherJava
Android orm, bitmap, http, view inject...
Req3,843423232 months ago192November 20, 202332mitGo
Simple Go HTTP client with Black Magic
Evercookie3,798
6 years agoFebruary 22, 202153JavaScript
Produces persistent, respawning "super" cookies in a browser, abusing over a dozen techniques. Its goal is to identify users after they've removed standard cookies and other privacy data such as Flash cookies (LSOs), HTML5 storage, SilverLight storage, and others.
Rxeasyhttp3,022
2 years ago29apache-2.0Java
本库是一款基于RxJava2+Retrofit2实现简单易用的网络请求框架,结合android平台特性的网络封装库,采用api链式调用一点到底,集成cookie管理,多种缓存模式,极简https配置,上传下载进度显示,请求错误自动重试,请求携带token、时间戳、签名sign动态配置,自动登录成功后请求重发功能,3种层次的参数设置默认全局局部,默认标准ApiResult同时可以支持自定义的数据结构,已经能满足现在的大部分网络请求。
Auth Boss2,843
7 years ago
🔒 Become an Auth Boss. Learn about different authentication methodologies on the web.
Must Know About Frontend2,547
9 months ago
:mortar_board: 취준생이라면 알면 좋을 프론트엔드 관련 지식들
Httpoison2,1894,0191,7373 months ago51November 24, 202330mitElixir
Yet Another HTTP client for Elixir powered by hackney
Htty1,750325 years ago25December 10, 201534otherRuby
htty is the HTTP TTY, a console application for interacting with web servers.
Alternatives To Requests
Select To Compare


Alternative Project Comparisons
Readme

Requests

Requests is a simple, yet elegant, HTTP library.

>>> import requests
>>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))
>>> r.status_code
200
>>> r.headers['content-type']
'application/json; charset=utf8'
>>> r.encoding
'utf-8'
>>> r.text
'{"authenticated": true, ...'
>>> r.json()
{'authenticated': True, ...}

Requests allows you to send HTTP/1.1 requests extremely easily. Theres no need to manually add query strings to your URLs, or to form-encode your PUT & POST data but nowadays, just use the json method!

Requests is one of the most downloaded Python packages today, pulling in around 30M downloads / week according to GitHub, Requests is currently depended upon by 1,000,000+ repositories. You may certainly put your trust in this code.

Downloads Supported Versions Contributors

Installing Requests and Supported Versions

Requests is available on PyPI:

$ python -m pip install requests

Requests officially supports Python 3.8+.

Supported Features & BestPractices

Requests is ready for the demands of building robust and reliable HTTPspeaking applications, for the needs of today.

  • Keep-Alive & Connection Pooling
  • International Domains and URLs
  • Sessions with Cookie Persistence
  • Browser-style TLS/SSL Verification
  • Basic & Digest Authentication
  • Familiar dictlike Cookies
  • Automatic Content Decompression and Decoding
  • Multi-part File Uploads
  • SOCKS Proxy Support
  • Connection Timeouts
  • Streaming Downloads
  • Automatic honoring of .netrc
  • Chunked HTTP Requests

API Reference and User Guide available on Read the Docs

Read the Docs

Cloning the repository

When cloning the Requests repository, you may need to add the -c fetch.fsck.badTimezone=ignore flag to avoid an error about a bad commit (see this issue for more background):

git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git

You can also apply this setting to your global Git config:

git config --global fetch.fsck.badTimezone ignore

Kenneth Reitz Python Software Foundation

Popular Http Projects
Popular Cookie Projects
Popular Networking Categories
Related Searches

Get A Weekly Email With Trending Projects For These Categories
No Spam. Unsubscribe easily at any time.
Python
Http
Cookie
Http Requests
Python Requests