HttpMax


NameHttpMax JSON
Version 1.2 PyPI version JSON
download
home_pagehttps://github.com/shayanheidari01/HttpMax
SummaryPython HTTP Client for All.
upload_time2023-07-23 22:06:52
maintainer
docs_urlNone
authorShayan Heidari
requires_python>=3.7, <4
licenseApache 2.0
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # HttpMax

**HttpMax** is a simple, asynchronous, fast and beautiful HTTP library.

```python
import HttpMax
import asyncio

async def main():
    r = await HttpMax.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, ...}

asyncio.run(main())
```

HttpMax 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!

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/shayanheidari01/HttpMax",
    "name": "HttpMax",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7, <4",
    "maintainer_email": "",
    "keywords": "",
    "author": "Shayan Heidari",
    "author_email": "me@shayanheidari.info",
    "download_url": "https://files.pythonhosted.org/packages/cd/b2/e338e7be907babc22924776d0650880f8395354efb13eb4ca272fa2119ee/HttpMax-1.2.tar.gz",
    "platform": null,
    "description": "# HttpMax\r\n\r\n**HttpMax** is a simple, asynchronous, fast and beautiful HTTP library.\r\n\r\n```python\r\nimport HttpMax\r\nimport asyncio\r\n\r\nasync def main():\r\n    r = await HttpMax.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))\r\n    r.status_code\r\n    >>>200\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\nasyncio.run(main())\r\n```\r\n\r\nHttpMax 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",
    "bugtrack_url": null,
    "license": "Apache 2.0",
    "summary": "Python HTTP Client for All.",
    "version": "1.2",
    "project_urls": {
        "Documentation": "https://github.com/shayanheidari01/HttpMax",
        "Homepage": "https://github.com/shayanheidari01/HttpMax",
        "Source": "https://github.com/shayanheidari01/HttpMax"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "cdb2e338e7be907babc22924776d0650880f8395354efb13eb4ca272fa2119ee",
                "md5": "03bcbfabb864e5d0b5ea4b7c9f8c671a",
                "sha256": "174b7b11410dbeab4beaf20e0e5a7758fb0d226026b2371e44adbf5d6cd74072"
            },
            "downloads": -1,
            "filename": "HttpMax-1.2.tar.gz",
            "has_sig": false,
            "md5_digest": "03bcbfabb864e5d0b5ea4b7c9f8c671a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7, <4",
            "size": 61833,
            "upload_time": "2023-07-23T22:06:52",
            "upload_time_iso_8601": "2023-07-23T22:06:52.303918Z",
            "url": "https://files.pythonhosted.org/packages/cd/b2/e338e7be907babc22924776d0650880f8395354efb13eb4ca272fa2119ee/HttpMax-1.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-07-23 22:06:52",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "shayanheidari01",
    "github_project": "HttpMax",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "httpmax"
}
        
Elapsed time: 0.10104s