grequests


Namegrequests JSON
Version 0.7.0 PyPI version JSON
download
home_pagehttps://github.com/spyoungtech/grequests
SummaryRequests + Gevent
upload_time2023-06-08 00:04:29
maintainer
docs_urlNone
authorKenneth Reitz
requires_python
licenseBSD
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
GRequests allows you to use Requests with Gevent to make asynchronous HTTP
Requests easily.

Usage
-----

Usage is simple::

    import grequests

    urls = [
        'http://www.heroku.com',
        'http://tablib.org',
        'http://httpbin.org',
        'http://python-requests.org',
        'http://kennethreitz.com'
    ]

Create a set of unsent Requests::

    >>> rs = (grequests.get(u) for u in urls)

Send them all at the same time::

    >>> grequests.map(rs)
    [<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/spyoungtech/grequests",
    "name": "grequests",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Kenneth Reitz",
    "author_email": "me@kennethreitz.com",
    "download_url": "https://files.pythonhosted.org/packages/8a/6a/95616ce27c8b7c58f7dd0e5eba61ac873ecaae082d73e515904803fe73e7/grequests-0.7.0.tar.gz",
    "platform": "any",
    "description": "\nGRequests allows you to use Requests with Gevent to make asynchronous HTTP\nRequests easily.\n\nUsage\n-----\n\nUsage is simple::\n\n    import grequests\n\n    urls = [\n        'http://www.heroku.com',\n        'http://tablib.org',\n        'http://httpbin.org',\n        'http://python-requests.org',\n        'http://kennethreitz.com'\n    ]\n\nCreate a set of unsent Requests::\n\n    >>> rs = (grequests.get(u) for u in urls)\n\nSend them all at the same time::\n\n    >>> grequests.map(rs)\n    [<Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>, <Response [200]>]\n\n\n\n",
    "bugtrack_url": null,
    "license": "BSD",
    "summary": "Requests + Gevent",
    "version": "0.7.0",
    "project_urls": {
        "Homepage": "https://github.com/spyoungtech/grequests"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1c6abb015faedfb65ed728d7ccf15888e82ab46f980430d3c506fb3824388d1d",
                "md5": "dcd7fc19608891223a9a7aa7235a7052",
                "sha256": "4733edfcece027de25ae8eff86a87f563d7e829fdacbf3ce8b3aeea507694287"
            },
            "downloads": -1,
            "filename": "grequests-0.7.0-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dcd7fc19608891223a9a7aa7235a7052",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 5687,
            "upload_time": "2023-06-08T00:04:27",
            "upload_time_iso_8601": "2023-06-08T00:04:27.669445Z",
            "url": "https://files.pythonhosted.org/packages/1c/6a/bb015faedfb65ed728d7ccf15888e82ab46f980430d3c506fb3824388d1d/grequests-0.7.0-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "8a6a95616ce27c8b7c58f7dd0e5eba61ac873ecaae082d73e515904803fe73e7",
                "md5": "98b64472b87185a64d32f6f8abf75c3a",
                "sha256": "5c33f14268df5b8fa1107d8537815be6febbad6ec560524d6a404b7778cf6ba6"
            },
            "downloads": -1,
            "filename": "grequests-0.7.0.tar.gz",
            "has_sig": false,
            "md5_digest": "98b64472b87185a64d32f6f8abf75c3a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 6524,
            "upload_time": "2023-06-08T00:04:29",
            "upload_time_iso_8601": "2023-06-08T00:04:29.222481Z",
            "url": "https://files.pythonhosted.org/packages/8a/6a/95616ce27c8b7c58f7dd0e5eba61ac873ecaae082d73e515904803fe73e7/grequests-0.7.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-08 00:04:29",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "spyoungtech",
    "github_project": "grequests",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "requirements": [],
    "lcname": "grequests"
}
        
Elapsed time: 0.11882s