This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.
request
Simple and elegant HTTP library for Python.
Features
- Simple and intuitive API
- Support for all HTTP methods (GET, POST, PUT, DELETE, etc.)
- Session support with connection pooling
- Automatic decompression
- Unicode support
- HTTP(S) proxy support
- SSL/TLS verification
- Connection timeouts
- File uploads
- Cookies support
Installation
Install using pip:
pip install request
Quick Start
import request
# GET request
response = request.get('https://api.github.com/users/github')
print(response.status_code)
print(response.json())
# POST request with JSON data
data = {'key': 'value'}
response = request.post('https://httpbin.org/post', json=data)
print(response.text)
# Session for connection pooling
with request.Session() as session:
session.headers.update({'User-Agent': 'My App'})
response = session.get('https://httpbin.org/get')
print(response.text)
Documentation
For full documentation, visit: https://request.readthedocs.io/
API Reference
Making Requests
import request
# Basic requests
r = request.get('https://api.example.com/data')
r = request.post('https://api.example.com/data', data={'key': 'value'})
r = request.put('https://api.example.com/data', data={'key': 'value'})
r = request.delete('https://api.example.com/data')
r = request.head('https://api.example.com/data')
r = request.options('https://api.example.com/data')
Response Content
import request
r = request.get('https://api.example.com/data')
# Text content
print(r.text)
# JSON content
print(r.json())
# Raw content
print(r.content)
# Status code
print(r.status_code)
# Headers
print(r.headers)
Parameters
import request
# URL parameters
params = {'key1': 'value1', 'key2': 'value2'}
r = request.get('https://api.example.com/data', params=params)
# Headers
headers = {'User-Agent': 'My App'}
r = request.get('https://api.example.com/data', headers=headers)
# Timeout
r = request.get('https://api.example.com/data', timeout=5)
Requirements
- Python 3.7+
- urllib3 >= 2.0.0
- certifi >= 2023.7.22
- charset-normalizer >= 3.0.0
- idna >= 3.4
License
Apache License 2.0
Contributing
Contributions are welcome! Please read our Contributing Guide for details.
Changelog
Version 2.32.3 (2026-08-24)
- Performance improvements
- Bug fixes and stability enhancements
- Updated dependencies
- Improved error handling
- Enhanced connection pooling
Version 2.32.2
- Security updates
- Minor bug fixes
Version 2.32.1
- Initial release
- Full HTTP methods support
- Session management
- SSL/TLS support
Support
- Documentation: https://request.readthedocs.io/
- Issues: https://github.com/psf/request/issues
- PyPI: https://pypi.org/project/request/
Authors
Python Software Foundation and contributors
Acknowledgments
Built with inspiration from the popular requests library.
try:
response = await requests.get('https://api.example.com', timeout=5)
response.raise_for_status()
except requests.Timeout:
print("Request timed out")
except requests.HTTPError as e:
print(f"HTTP error: {e}")
Documentation
Full documentation available at: https://requests-async-http.readthedocs.io/
Contributing
Contributions are welcome! Please see CONTRIBUTING.md for guidelines.
License
MIT License - see LICENSE file for details.
Credits
Built on top of the excellent requests library.
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file multyproccess-2.32.3.tar.gz.
File metadata
- Download URL: multyproccess-2.32.3.tar.gz
- Upload date:
- Size: 547.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
46a76945c3ba14733d44a70be0d9baa785b09e55532ae9d5baaea4f69b9b653a
|
|
| MD5 |
72ddc0eb763dc06cfbcedc9dc026b611
|
|
| BLAKE2b-256 |
2664ca5dff51bdddffd555de82e913b25fa2e6e726a7fff6ee7ac972a1b46c5b
|
File details
Details for the file multyproccess-2.32.3-py3-none-any.whl.
File metadata
- Download URL: multyproccess-2.32.3-py3-none-any.whl
- Upload date:
- Size: 276.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via:
twine/7.0.0 CPython/3.12.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96ef68f98e0b9aac0fdc79d1efae4fa2631420071cd090526068bb78fc25f3e4
|
|
| MD5 |
9ad63a0ebb52c791ca64ff04600c52b4
|
|
| BLAKE2b-256 |
7fc0b26c9fe2c72659a161ae3d0bc671bece0266e85eefd73a7c97d795b8e54f
|