# Requests
**Requests** is a simple, yet elegant, HTTP library.
```python
>>> 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. 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](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `1,000,000+` repositories. You may certainly put your trust in this code.
[![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests)
[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests)
[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors)
## Installing Requests and Supported Versions
Requests is available on PyPI:
```console
$ python -m pip install requests
```
Requests officially supports Python 3.7+.
## 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](https://requests.readthedocs.io)
[![Read the Docs](https://raw.githubusercontent.com/psf/requests/main/ext/ss.png)](https://requests.readthedocs.io)
## 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](https://github.com/psf/requests/issues/2690) for more background):
```shell
git clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git
```
You can also apply this setting to your global Git config:
```shell
git config --global fetch.fsck.badTimezone ignore
```
---
[![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf)
Raw data
{
"_id": null,
"home_page": "https://requests.readthedocs.io",
"name": "requests-freeproxy",
"maintainer": "",
"docs_url": null,
"requires_python": ">=3.7",
"maintainer_email": "",
"keywords": "",
"author": "Kenneth Reitz",
"author_email": "me@kennethreitz.org",
"download_url": "https://files.pythonhosted.org/packages/35/9e/64c3577829ab5e37547014643013d0aa308f21814933d2642230f4a58b51/requests_freeproxy-2.31.0.tar.gz",
"platform": null,
"description": "# Requests\r\n\r\n\r\n\r\n**Requests** is a simple, yet elegant, HTTP library.\r\n\r\n\r\n\r\n```python\r\n\r\n>>> import requests\r\n\r\n>>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))\r\n\r\n>>> r.status_code\r\n\r\n200\r\n\r\n>>> r.headers['content-type']\r\n\r\n'application/json; charset=utf8'\r\n\r\n>>> r.encoding\r\n\r\n'utf-8'\r\n\r\n>>> r.text\r\n\r\n'{\"authenticated\": true, ...'\r\n\r\n>>> r.json()\r\n\r\n{'authenticated': True, ...}\r\n\r\n```\r\n\r\n\r\n\r\nRequests allows you to send HTTP/1.1 requests extremely easily. There\u2019s no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data \u2014 but nowadays, just use the `json` method!\r\n\r\n\r\n\r\nRequests is one of the most downloaded Python packages today, pulling in around `30M downloads / week`\u2014 according to GitHub, Requests is currently [depended upon](https://github.com/psf/requests/network/dependents?package_id=UGFja2FnZS01NzA4OTExNg%3D%3D) by `1,000,000+` repositories. You may certainly put your trust in this code.\r\n\r\n\r\n\r\n[![Downloads](https://pepy.tech/badge/requests/month)](https://pepy.tech/project/requests)\r\n\r\n[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests)\r\n\r\n[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors)\r\n\r\n\r\n\r\n## Installing Requests and Supported Versions\r\n\r\n\r\n\r\nRequests is available on PyPI:\r\n\r\n\r\n\r\n```console\r\n\r\n$ python -m pip install requests\r\n\r\n```\r\n\r\n\r\n\r\nRequests officially supports Python 3.7+.\r\n\r\n\r\n\r\n## Supported Features & Best\u2013Practices\r\n\r\n\r\n\r\nRequests is ready for the demands of building robust and reliable HTTP\u2013speaking applications, for the needs of today.\r\n\r\n\r\n\r\n- Keep-Alive & Connection Pooling\r\n\r\n- International Domains and URLs\r\n\r\n- Sessions with Cookie Persistence\r\n\r\n- Browser-style TLS/SSL Verification\r\n\r\n- Basic & Digest Authentication\r\n\r\n- Familiar `dict`\u2013like Cookies\r\n\r\n- Automatic Content Decompression and Decoding\r\n\r\n- Multi-part File Uploads\r\n\r\n- SOCKS Proxy Support\r\n\r\n- Connection Timeouts\r\n\r\n- Streaming Downloads\r\n\r\n- Automatic honoring of `.netrc`\r\n\r\n- Chunked HTTP Requests\r\n\r\n\r\n\r\n## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io)\r\n\r\n\r\n\r\n[![Read the Docs](https://raw.githubusercontent.com/psf/requests/main/ext/ss.png)](https://requests.readthedocs.io)\r\n\r\n\r\n\r\n## Cloning the repository\r\n\r\n\r\n\r\nWhen cloning the Requests repository, you may need to add the `-c\r\n\r\nfetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit (see\r\n\r\n[this issue](https://github.com/psf/requests/issues/2690) for more background):\r\n\r\n\r\n\r\n```shell\r\n\r\ngit clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git\r\n\r\n```\r\n\r\n\r\n\r\nYou can also apply this setting to your global Git config:\r\n\r\n\r\n\r\n```shell\r\n\r\ngit config --global fetch.fsck.badTimezone ignore\r\n\r\n```\r\n\r\n\r\n\r\n---\r\n\r\n\r\n\r\n[![Kenneth Reitz](https://raw.githubusercontent.com/psf/requests/main/ext/kr.png)](https://kennethreitz.org) [![Python Software Foundation](https://raw.githubusercontent.com/psf/requests/main/ext/psf.png)](https://www.python.org/psf)\r\n\r\n",
"bugtrack_url": null,
"license": "Apache 2.0",
"summary": "Python HTTP for Humans.",
"version": "2.31.0",
"project_urls": {
"Documentation": "https://requests.readthedocs.io",
"Homepage": "https://requests.readthedocs.io",
"Source": "https://github.com/psf/requests"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "7eab02e0888f535fc9a7ec07c603130771983d3cb7512a752353fb98c57d7f3c",
"md5": "8cb902929b0dff2c2df7f971bfb0e6b3",
"sha256": "f53e5910d834438c6e36e452eb5dff7dffe3c2673051ca647d711f4065c5d123"
},
"downloads": -1,
"filename": "requests_freeproxy-2.31.0-py3.10.egg",
"has_sig": false,
"md5_digest": "8cb902929b0dff2c2df7f971bfb0e6b3",
"packagetype": "bdist_egg",
"python_version": "2.31.0",
"requires_python": ">=3.7",
"size": 379168,
"upload_time": "2023-07-04T12:05:22",
"upload_time_iso_8601": "2023-07-04T12:05:22.328318Z",
"url": "https://files.pythonhosted.org/packages/7e/ab/02e0888f535fc9a7ec07c603130771983d3cb7512a752353fb98c57d7f3c/requests_freeproxy-2.31.0-py3.10.egg",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "aba7627d07a053d9129d63bfb45867b7e3e5abfaf7fa3a305d485d161ce7d0b1",
"md5": "6e83c26ac32f2288863c38ed4bc4c779",
"sha256": "be146533304f5697f426df8cfa3c16a81a2fda7b2432850a7397c4978df3d24d"
},
"downloads": -1,
"filename": "requests_freeproxy-2.31.0-py3-none-any.whl",
"has_sig": false,
"md5_digest": "6e83c26ac32f2288863c38ed4bc4c779",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.7",
"size": 175314,
"upload_time": "2023-07-04T12:05:19",
"upload_time_iso_8601": "2023-07-04T12:05:19.115094Z",
"url": "https://files.pythonhosted.org/packages/ab/a7/627d07a053d9129d63bfb45867b7e3e5abfaf7fa3a305d485d161ce7d0b1/requests_freeproxy-2.31.0-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "359e64c3577829ab5e37547014643013d0aa308f21814933d2642230f4a58b51",
"md5": "79e7913288bc13168d1f38e0ed8d158a",
"sha256": "16e58fa41c43dc5d1c01207f7627ceb492217a8c9d7fe46a01bbba397f6833d2"
},
"downloads": -1,
"filename": "requests_freeproxy-2.31.0.tar.gz",
"has_sig": false,
"md5_digest": "79e7913288bc13168d1f38e0ed8d158a",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.7",
"size": 112578,
"upload_time": "2023-07-04T12:05:24",
"upload_time_iso_8601": "2023-07-04T12:05:24.463983Z",
"url": "https://files.pythonhosted.org/packages/35/9e/64c3577829ab5e37547014643013d0aa308f21814933d2642230f4a58b51/requests_freeproxy-2.31.0.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-07-04 12:05:24",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "psf",
"github_project": "requests",
"travis_ci": false,
"coveralls": true,
"github_actions": true,
"tox": true,
"lcname": "requests-freeproxy"
}