Skip to main content

HTTO is high performance and simple HTTP library.

install htto library on windows/linux

pip install htto

how to use:

# 1 import htto library
import htto

# 2 creat client to save your connections session
cn = htto.client(timeout=10)
cn_without_timeout = cn()

# 3 send http request
response = cn.get('https://httpbin.org/ip')

# 4 take response with any format
print(response.json()['origin'])
print(response.text())
print(response.body())
print(response.headers().get('User-Agent'))

# 5 close connection after finish
cn.close_host('httpbin.org')

# 6 close all connections in the client
cn.close()

send http request directly

import htto

# send http request without client
response = htto.get('https://httpbin.org')
print(response.text())

soon htto will support proxies HTTP, HTTPS, SOCKS4, SOCKS5

Metadata

Release files for htto 1.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 htto 1.0
File Size Uploaded Provenance Actions
htto-1.0.tar.gz 3.2 kB Without provenance Details for htto-1.0.tar.gz

Built distribution (wheel)

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

Total release size: 6.7 kB

Release files / htto-1.0.tar.gz

Download URL htto-1.0.tar.gz
Size 3.2 kB
Tags Source
SHA-256 checksum
How to use checksums
f7d50634daab4c27c4b902fec4d86eb774319f793bda2e3bf4e0871cf43fed3b
BLAKE2b-256 checksum
How to use checksums
4495620a4efa4be65dacc77efc2379fd44de507a8c85dd2b1e2126e12cf20075
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Release files / htto-1.0-py3-none-any.whl

Download URL htto-1.0-py3-none-any.whl
Size 3.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7837e63fcb741d0690690878ccb52d1d16a63dd7cb01aae098260659e19af0cb
BLAKE2b-256 checksum
How to use checksums
7d493ca79de58c62ec779dc169dfa57b55ad2216eff4d0d3581cecfcd83a6195
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/5.1.1 CPython/3.12.5

Security for htto 1.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0 This release

2 release files No provenance

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