HttpMax 1.2
pip install HttpMax
Latest version
Released:
Python HTTP Client for All.
Navigation
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Shayan Heidari
- Requires: Python >=3.7, <4
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Project description
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!
Project details
Unverified details
These details have not been verified by PyPIProject links
Meta
- License: Apache Software License (Apache 2.0)
- Author: Shayan Heidari
- Requires: Python >=3.7, <4
Classifiers
- Development Status
- Environment
- Intended Audience
- License
- Natural Language
- Operating System
- Programming Language
- Topic
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file HttpMax-1.2.tar.gz
.
File metadata
- Download URL: HttpMax-1.2.tar.gz
- Upload date:
- Size: 61.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 174b7b11410dbeab4beaf20e0e5a7758fb0d226026b2371e44adbf5d6cd74072 |
|
MD5 | 03bcbfabb864e5d0b5ea4b7c9f8c671a |
|
BLAKE2b-256 | cdb2e338e7be907babc22924776d0650880f8395354efb13eb4ca272fa2119ee |