HttpMax
HttpMax is a simple, asynchronous, fast and beautiful HTTP library.
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!
Metadata
Release files for HttpMax 1.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| HttpMax-1.2.tar.gz | 61.8 kB | Details |
Release files / HttpMax-1.2.tar.gz
| Download URL | HttpMax-1.2.tar.gz |
|---|---|
| Size | 61.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
174b7b11410dbeab4beaf20e0e5a7758fb0d226026b2371e44adbf5d6cd74072
|
|
BLAKE2b-256 checksum How to use checksums |
cdb2e338e7be907babc22924776d0650880f8395354efb13eb4ca272fa2119ee
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.1 CPython/3.11.3
|