reqeuts


Namereqeuts JSON
Version 2.32.2 PyPI version JSON
download
home_pagehttps://requests.readthedocs.io
SummaryA small examaple package
upload_time2024-12-25 10:25:43
maintainerNone
docs_urlNone
authorKenneth Reitz
requires_python>=3.8
licenseMIT License
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # 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://static.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.8+.

## 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": "reqeuts",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": null,
    "keywords": null,
    "author": "Kenneth Reitz",
    "author_email": "George Floyd <aauthor@example.com>",
    "download_url": "https://files.pythonhosted.org/packages/77/61/92005a9f9f04f238a21eb6e738251078dc90a5d7acd080a2c389d61f49d4/reqeuts-2.32.2.tar.gz",
    "platform": null,
    "description": "# Requests\r\n\r\n**Requests** is a simple, yet elegant, HTTP library.\r\n\r\n```python\r\n>>> import requests\r\n>>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))\r\n>>> r.status_code\r\n200\r\n>>> r.headers['content-type']\r\n'application/json; charset=utf8'\r\n>>> r.encoding\r\n'utf-8'\r\n>>> r.text\r\n'{\"authenticated\": true, ...'\r\n>>> r.json()\r\n{'authenticated': True, ...}\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\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[![Downloads](https://static.pepy.tech/badge/requests/month)](https://pepy.tech/project/requests)\r\n[![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests)\r\n[![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors)\r\n\r\n## Installing Requests and Supported Versions\r\n\r\nRequests is available on PyPI:\r\n\r\n```console\r\n$ python -m pip install requests\r\n```\r\n\r\nRequests officially supports Python 3.8+.\r\n\r\n## Supported Features & Best\u2013Practices\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- Keep-Alive & Connection Pooling\r\n- International Domains and URLs\r\n- Sessions with Cookie Persistence\r\n- Browser-style TLS/SSL Verification\r\n- Basic & Digest Authentication\r\n- Familiar `dict`\u2013like Cookies\r\n- Automatic Content Decompression and Decoding\r\n- Multi-part File Uploads\r\n- SOCKS Proxy Support\r\n- Connection Timeouts\r\n- Streaming Downloads\r\n- Automatic honoring of `.netrc`\r\n- Chunked HTTP Requests\r\n\r\n## API Reference and User Guide available on [Read the Docs](https://requests.readthedocs.io)\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## Cloning the repository\r\n\r\nWhen cloning the Requests repository, you may need to add the `-c\r\nfetch.fsck.badTimezone=ignore` flag to avoid an error about a bad commit (see\r\n[this issue](https://github.com/psf/requests/issues/2690) for more background):\r\n\r\n```shell\r\ngit clone -c fetch.fsck.badTimezone=ignore https://github.com/psf/requests.git\r\n```\r\n\r\nYou can also apply this setting to your global Git config:\r\n\r\n```shell\r\ngit config --global fetch.fsck.badTimezone ignore\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",
    "bugtrack_url": null,
    "license": "MIT License",
    "summary": "A small examaple package",
    "version": "2.32.2",
    "project_urls": {
        "Homepage": "https://requests.readthedocs.io"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "82926b229a3bb04436e9d8ff6527585040361786b95b098c30d6ac770d575e8e",
                "md5": "f718602a09ce0a744b7c6e4a5eb5ca09",
                "sha256": "e13073dcf9905021f0ab48870d592474cc92c52a8c6990a017bcf095ced268b1"
            },
            "downloads": -1,
            "filename": "reqeuts-2.32.2-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f718602a09ce0a744b7c6e4a5eb5ca09",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 62236,
            "upload_time": "2024-12-25T10:25:42",
            "upload_time_iso_8601": "2024-12-25T10:25:42.199322Z",
            "url": "https://files.pythonhosted.org/packages/82/92/6b229a3bb04436e9d8ff6527585040361786b95b098c30d6ac770d575e8e/reqeuts-2.32.2-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "776192005a9f9f04f238a21eb6e738251078dc90a5d7acd080a2c389d61f49d4",
                "md5": "5dc1120291089de2e89028b133f36572",
                "sha256": "d355a30b7b2f8395bea6487ae53041d301fea178de4692699cb3211ad410d970"
            },
            "downloads": -1,
            "filename": "reqeuts-2.32.2.tar.gz",
            "has_sig": false,
            "md5_digest": "5dc1120291089de2e89028b133f36572",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 125069,
            "upload_time": "2024-12-25T10:25:43",
            "upload_time_iso_8601": "2024-12-25T10:25:43.860012Z",
            "url": "https://files.pythonhosted.org/packages/77/61/92005a9f9f04f238a21eb6e738251078dc90a5d7acd080a2c389d61f49d4/reqeuts-2.32.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-12-25 10:25:43",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "reqeuts"
}
        
Elapsed time: 0.49359s