Skip to main content

getcontents

A minimal HTTP/1.x client that is only used to deal with APIs. It is not designed to be bulletproof or full-featured like requests.

import asyncio

from getcontents import HTTPClient


async def main():
    async with HTTPClient('www.google.com', 80) as client:
        response = await client.send('GET /', data=b'')

        print(response.header)


if __name__ == '__main__':
    asyncio.run(main())

License

MIT License

Release files for getcontents 0.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for getcontents 0.0.0
File Size Uploaded
getcontents-0.0.0.tar.gz 3.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for getcontents 0.0.0
File Interpreter ABI Platform
getcontents-0.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 8.9 kB

Release files / getcontents-0.0.0.tar.gz

Download URL getcontents-0.0.0.tar.gz
Size 3.9 kB
Tags Source
SHA-256 checksum
How to use checksums
c6c2c7f6fec6deb44a16a5631169b7714793fd2aa2309b6b0dc27efc8b5d0421
BLAKE2b-256 checksum
How to use checksums
acfc9344bb9d48fe5106d5245c2f9e51f2f45efef969d54647343a6e9a17fd33
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release files / getcontents-0.0.0-py3-none-any.whl

Download URL getcontents-0.0.0-py3-none-any.whl
Size 5.0 kB
Tags Python 3
SHA-256 checksum
How to use checksums
3cec089bdc4d5b88d43dadee5d30e55deb95f5e187cd9fe777919cdea0c636b8
BLAKE2b-256 checksum
How to use checksums
cc6abcf617bffea1936d806c0cebefabddc51abff97cdcd7310791954752e3a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.2 CPython/3.7.9

Release history Release notifications | RSS feed

This release

0.0.0 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page