Skip to main content

Python HTTP Client for All.

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

HttpMax-1.2.tar.gz (61.8 kB view details)

Uploaded Source

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

Hashes for HttpMax-1.2.tar.gz
Algorithm Hash digest
SHA256 174b7b11410dbeab4beaf20e0e5a7758fb0d226026b2371e44adbf5d6cd74072
MD5 03bcbfabb864e5d0b5ea4b7c9f8c671a
BLAKE2b-256 cdb2e338e7be907babc22924776d0650880f8395354efb13eb4ca272fa2119ee

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page