đ UtilHTTP
Simplify your HTTP requests with UtilHTTP - the lightweight yet powerful Python library.
đ Quick Start
import utilhttp
response = utilhttp.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass'))
print(f"Status Code: {response.status_code}")
print(f"Content Type: {response.headers['content-type']}")
print(f"Encoding: {response.encoding}")
print(f"Text: {response.text[:20]}...")
print(f"JSON: {response.json()}")
đ ď¸ Installation
Get UtilHTTP up and running in seconds:
pip install utilhttp
đ Note: UtilHTTP supports Python 3.8 and above.
đĽ Key Features
-
Effortless Requests: No need to manually handle query strings or form-encode data
-
JSON Support: Seamlessly work with JSON data using the json method
-
Connection Magic: Keep-Alive & Connection Pooling for optimal performance
-
Global Ready: Full support for International Domains and URLs
-
Session Handling: Cookie persistence across requests
-
Secure by Default: Browser-style TLS/SSL Verification
-
Authentication: Basic & Digest methods supported
-
Cookie Management: Intuitive dict-like interface
-
Content Handling: Automatic decompression and decoding
-
File Uploads: Hassle-free multi-part file uploads
-
Proxy Support: SOCKS proxy compatibility
-
Timeout Control: Set connection timeouts with ease
-
Streaming: Efficient streaming downloads
-
Config Integration: Automatic .netrc file recognition
-
Chunked Requests: Support for Chunked HTTP requests