testflag


Nametestflag JSON
Version 2.30.0 PyPI version JSON
download
home_pagehttps://requests.readthedocs.io
SummaryPython HTTP for Humans.
upload_time2023-05-14 08:18:27
maintainer
docs_urlNone
authorKenneth Reitz
requires_python>=3.7
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            # 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": "testflag",
    "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/06/84/a05fe61eac43e90009707db302966b845b748f3c21a73ef210fe302d471a/testflag-2.30.0.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://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.7+.\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": "Apache 2.0",
    "summary": "Python HTTP for Humans.",
    "version": "2.30.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": "feee3ed6b2b7ec39901ed613ffe5cfb2489fa35f538cc299c2331167970874ec",
                "md5": "27bc9833402b529a83c7ed1f7605a2e4",
                "sha256": "ba962bd4693ca8207fa5a80d8a69e011448984751db7f6504cf72e32d1d74bec"
            },
            "downloads": -1,
            "filename": "testflag-2.30.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "27bc9833402b529a83c7ed1f7605a2e4",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 58829,
            "upload_time": "2023-05-14T08:18:25",
            "upload_time_iso_8601": "2023-05-14T08:18:25.237748Z",
            "url": "https://files.pythonhosted.org/packages/fe/ee/3ed6b2b7ec39901ed613ffe5cfb2489fa35f538cc299c2331167970874ec/testflag-2.30.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "0684a05fe61eac43e90009707db302966b845b748f3c21a73ef210fe302d471a",
                "md5": "a91f43a0028c965a625200b258947a04",
                "sha256": "ce6ff9aac7420f26ffcc45a3da087c3346d95d01ef7041e5000732b842ea583f"
            },
            "downloads": -1,
            "filename": "testflag-2.30.0.tar.gz",
            "has_sig": false,
            "md5_digest": "a91f43a0028c965a625200b258947a04",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 54297,
            "upload_time": "2023-05-14T08:18:27",
            "upload_time_iso_8601": "2023-05-14T08:18:27.992109Z",
            "url": "https://files.pythonhosted.org/packages/06/84/a05fe61eac43e90009707db302966b845b748f3c21a73ef210fe302d471a/testflag-2.30.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-05-14 08:18:27",
    "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": "testflag"
}
        
Elapsed time: 0.06930s