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.0.tar.gz (55.9 kB view details)

Uploaded Source

File details

Details for the file HttpMax-1.0.tar.gz.

File metadata

  • Download URL: HttpMax-1.0.tar.gz
  • Upload date:
  • Size: 55.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.10.8

File hashes

Hashes for HttpMax-1.0.tar.gz
Algorithm Hash digest
SHA256 12ac9739bf0f1ada4fc0e1ec0c7ce3398b7e83a7b8b10d93ca0e4f03d6009134
MD5 206fa52d02171b2088b0a162a446b314
BLAKE2b-256 92277548ef781a1a7e8b96b948684e59222a78e8ce5a7d456e2d13556f3d4c1c

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