Requests - PyPI
Có thể bạn quan tâm
pip install requests Copy PIP instructions
Latest versionReleased: Aug 18, 2025
Python HTTP for Humans.
Navigation
- Project description
- Release history
- Download files
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
- Homepage
- Documentation
- Source
Meta
- License: Apache Software License (Apache-2.0)
- Author: Kenneth Reitz
- Requires: Python >=3.9
- Provides-Extra: security , socks , use-chardet-on-py3
Classifiers
- Development Status
- 5 - Production/Stable
- Environment
- Web Environment
- Intended Audience
- Developers
- License
- OSI Approved :: Apache Software License
- Natural Language
- English
- Operating System
- OS Independent
- Programming Language
- Python
- Python :: 3
- Python :: 3 :: Only
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
- Topic
- Internet :: WWW/HTTP
- Software Development :: Libraries
- Project description
- Project details
- Release history
- Download files
Project description
RequestsRequests is a simple, yet elegant, HTTP library.
>>> importrequests >>> 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. There’s 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.
Installing Requests and Supported Versions
Requests is available on PyPI:
$ python-mpipinstallrequestsRequests officially supports Python 3.9+.
Supported Features & Best–Practices
Requests is ready for the demands of building robust and reliable HTTP–speaking 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 dict–like 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
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 timestamp (see this issue for more background):
gitclone-cfetch.fsck.badTimezone=ignorehttps://github.com/psf/requests.gitYou can also apply this setting to your global Git config:
gitconfig--globalfetch.fsck.badTimezoneignore
Project details
Verified details
These details have been verified by PyPIMaintainers
Unverified details
These details have not been verified by PyPIProject links
- Homepage
- Documentation
- Source
Meta
- License: Apache Software License (Apache-2.0)
- Author: Kenneth Reitz
- Requires: Python >=3.9
- Provides-Extra: security , socks , use-chardet-on-py3
Classifiers
- Development Status
- 5 - Production/Stable
- Environment
- Web Environment
- Intended Audience
- Developers
- License
- OSI Approved :: Apache Software License
- Natural Language
- English
- Operating System
- OS Independent
- Programming Language
- Python
- Python :: 3
- Python :: 3 :: Only
- Python :: 3.9
- Python :: 3.10
- Python :: 3.11
- Python :: 3.12
- Python :: 3.13
- Python :: 3.14
- Python :: Implementation :: CPython
- Python :: Implementation :: PyPy
- Topic
- Internet :: WWW/HTTP
- Software Development :: Libraries
Release history Release notifications | RSS feed
This version2.32.5
Aug 18, 2025
2.32.4
Jun 9, 2025
2.32.3
May 29, 2024
2.32.2
May 21, 2024
2.32.1 yanked
May 20, 2024
Reason this release was yanked:
Yanked due to conflicts with CVE-2024-35195 mitigation
2.32.0 yanked
May 20, 2024
Reason this release was yanked:
Yanked due to conflicts with CVE-2024-35195 mitigation
2.31.0
May 22, 2023
2.30.0
May 3, 2023
2.29.0
Apr 26, 2023
2.28.2
Jan 12, 2023
2.28.1
Jun 29, 2022
2.28.0
Jun 9, 2022
2.27.1
Jan 5, 2022
2.27.0
Jan 3, 2022
2.26.0
Jul 13, 2021
2.25.1
Dec 16, 2020
2.25.0
Nov 11, 2020
2.24.0
Jun 17, 2020
2.23.0
Feb 19, 2020
2.22.0
May 16, 2019
2.21.0
Dec 10, 2018
2.20.1
Nov 8, 2018
2.20.0
Oct 18, 2018
2.19.1
Jun 14, 2018
2.19.0
Jun 12, 2018
2.18.4
Aug 15, 2017
2.18.3
Aug 2, 2017
2.18.2
Jul 25, 2017
2.18.1
Jun 14, 2017
2.18.0
Jun 14, 2017
2.17.3
May 29, 2017
2.17.2
May 29, 2017
2.17.1
May 29, 2017
2.17.0
May 29, 2017
2.16.5
May 28, 2017
2.16.4
May 27, 2017
2.16.3
May 27, 2017
2.16.2
May 27, 2017
2.16.1
May 27, 2017
2.16.0
May 27, 2017
2.15.1
May 27, 2017
2.15.0
May 27, 2017
2.14.2
May 10, 2017
2.14.1
May 9, 2017
2.14.0
May 9, 2017
2.13.0
Jan 24, 2017
2.12.5
Jan 18, 2017
2.12.4
Dec 14, 2016
2.12.3
Dec 1, 2016
2.12.2
Nov 30, 2016
2.12.1
Nov 16, 2016
2.12.0
Nov 15, 2016
2.11.1
Aug 17, 2016
2.11.0
Aug 8, 2016
2.10.0
Apr 29, 2016
2.9.2
Apr 29, 2016
2.9.1
Dec 21, 2015
2.9.0
Dec 15, 2015
2.8.1
Oct 13, 2015
2.8.0
Oct 6, 2015
2.7.0
May 3, 2015
2.6.2
Apr 23, 2015
2.6.1
Apr 23, 2015
2.6.0
Mar 14, 2015
2.5.3
Feb 24, 2015
2.5.2
Feb 23, 2015
2.5.1
Dec 23, 2014
2.5.0
Dec 1, 2014
2.4.3
Oct 6, 2014
2.4.2
Oct 5, 2014
2.4.1
Sep 9, 2014
2.4.0
Aug 29, 2014
2.3.0
May 16, 2014
2.2.1
Jan 23, 2014
2.2.0
Jan 9, 2014
2.1.0
Dec 5, 2013
2.0.1
Oct 24, 2013
2.0.0
Sep 24, 2013
1.2.3
May 25, 2013
1.2.2
May 21, 2013
1.2.1
May 20, 2013
1.2.0
Mar 31, 2013
1.1.0
Jan 10, 2013
1.0.4
Dec 23, 2012
1.0.3
Dec 18, 2012
1.0.2
Dec 17, 2012
1.0.1
Dec 17, 2012
1.0.0
Dec 17, 2012
0.14.2
Oct 27, 2012
0.14.1
Oct 1, 2012
0.14.0
Sep 2, 2012
0.13.9
Aug 25, 2012
0.13.8
Aug 20, 2012
0.13.7
Aug 19, 2012
0.13.6
Aug 6, 2012
0.13.5
Jul 27, 2012
0.13.4
Jul 27, 2012
0.13.3
Jul 12, 2012
0.13.2
Jun 29, 2012
0.13.1
Jun 8, 2012
0.13.0
May 30, 2012
0.12.1
May 8, 2012
0.12.01
May 8, 2012
0.12.0
May 2, 2012
0.11.2
Apr 23, 2012
0.11.1
Mar 31, 2012
0.10.8
Mar 9, 2012
0.10.7
Mar 8, 2012
0.10.6
Feb 26, 2012
0.10.4
Feb 20, 2012
0.10.3
Feb 20, 2012
0.10.2
Feb 15, 2012
0.10.1
Jan 23, 2012
0.10.0
Jan 22, 2012
0.9.3
Jan 19, 2012
0.9.2
Jan 19, 2012
0.9.1
Jan 6, 2012
0.9.0
Dec 28, 2011
0.8.9
Dec 28, 2011
0.8.8
Dec 28, 2011
0.8.7
Dec 24, 2011
0.8.6
Dec 19, 2011
0.8.5
Dec 14, 2011
0.8.4
Dec 11, 2011
0.8.3
Nov 27, 2011
0.8.2
Nov 19, 2011
0.8.1
Nov 15, 2011
0.8.0
Nov 13, 2011
0.7.6
Nov 7, 2011
0.7.5
Nov 5, 2011
0.7.4
Oct 26, 2011
0.7.3
Oct 23, 2011
0.7.2
Oct 23, 2011
0.7.1
Oct 23, 2011
0.7.0
Oct 23, 2011
0.6.6
Oct 19, 2011
0.6.5
Oct 19, 2011
0.6.4
Oct 14, 2011
0.6.3
Oct 14, 2011
0.6.2
Oct 9, 2011
0.6.1
Aug 20, 2011
0.6.0
Aug 17, 2011
0.5.1
Jul 24, 2011
0.5.0
Jun 22, 2011
0.4.1
May 22, 2011
0.4.0
May 15, 2011
0.3.4
May 14, 2011
0.3.3
May 12, 2011
0.3.2
Apr 15, 2011
0.3.1
Apr 1, 2011
0.3.0
Feb 25, 2011
0.2.4
Feb 19, 2011
0.2.3
Feb 15, 2011
0.2.2
Feb 14, 2011
0.2.1
Feb 14, 2011
0.2.0
Feb 14, 2011
0.0.1
Feb 13, 2011
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
requests-2.32.5.tar.gz (134.5 kB view details)Uploaded Aug 18, 2025 Source
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters Copy
File name Interpreter Interpreter py3 ABI ABI none Platform Platform any requests-2.32.5-py3-none-any.whl (64.7 kB view details)Uploaded Aug 18, 2025 Python 3
File details
Details for the file requests-2.32.5.tar.gz.
File metadata
- Download URL: requests-2.32.5.tar.gz
- Upload date: Aug 18, 2025
- Size: 134.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | dbba0bac56e100853db0ea71b82b4dfd5fe2bf6d3754a8893c3af500cec7d7cf | Copy |
| MD5 | cb3d3c58f07cf23f12c345f2c96a6f12 | Copy |
| BLAKE2b-256 | c974b3ff8e6c8446842c3f5c837e9c3dfcfe2018ea6ecef224c710c85ef728f4 | Copy |
See more details on using hashes here.
File details
Details for the file requests-2.32.5-py3-none-any.whl.
File metadata
- Download URL: requests-2.32.5-py3-none-any.whl
- Upload date: Aug 18, 2025
- Size: 64.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.11.2
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 | 2462f94637a34fd532264295e186976db0f5d453d1cdd31473c85a6a161affb6 | Copy |
| MD5 | bd126794a95616a0da6192b288f9bb88 | Copy |
| BLAKE2b-256 | 1edb4254e3eabe8020b458f1a747140d32277ec7a271daf1d235b70dc0b4e6e3 | Copy |
See more details on using hashes here.
- English
- español
- français
- 日本語
- português (Brasil)
- українська
- Ελληνικά
- Deutsch
- 中文 (简体)
- 中文 (繁體)
- русский
- עברית
- Esperanto
- 한국어
Supported by
Từ khóa » Thư Viện Requests Python
-
Sử Dụng Mô-đun Requests Trong Python - Code Tutsplus
-
Python: Thư Viện Requests Của Python | V1Study
-
Python An Ninh Mạng - Bài 2: Thư Viện Requests - AnonyViet
-
Request Cơ Bản Trong Python - Làm Việc Thông Thái
-
Thư Viện Requests Trong Python - YouTube
-
Hướng Dẫn Sử Dụng Thư Viện "Requests" Trong Python - Lập Trình
-
PyMOTM: Requests - Viblo
-
Python Requests
-
[Python Cơ Bản Thường Dùng Trong Công Việc] Phần 13 : Restful Client
-
REQUESTS - TRỞ THÀNH LẬP TRÌNH VIÊN PYTHON
-
Lập Trình Python | Có Cách Nào để Sử Dụng Thư Viện Requests để ...
-
Bắt đầu Với Python - Get Request
-
Requests: HTTP For Humans™ — Requests 2.28.1 Documentation