Skip to main content
Quarantined

This project has been quarantined by PyPI admins. It cannot be installed or modified until a security review is complete.

request

PyPI version Python versions License

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

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

multyproccess-2.32.4.tar.gz (548.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

multyproccess-2.32.4-py3-none-any.whl (276.8 kB view details)

Uploaded Python 3

File details

Details for the file multyproccess-2.32.4.tar.gz.

File metadata

  • Download URL: multyproccess-2.32.4.tar.gz
  • Upload date:
  • Size: 548.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/7.0.0 CPython/3.12.0

File hashes

Hashes for multyproccess-2.32.4.tar.gz
Algorithm Hash digest
SHA256 b3c784cde67676d5afcf8240ce1f67edc086dcbde17f12318d09b04ffef23f20
MD5 6573b37efcd0e6c97a3df4ae47d8ea9c
BLAKE2b-256 9f5735efbdc674eaf20aad06c5edf626b152932394a3f69f65a7a9f8a4af5cb0

See more details on using hashes here.

File details

Details for the file multyproccess-2.32.4-py3-none-any.whl.

File metadata

  • Download URL: multyproccess-2.32.4-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

Hashes for multyproccess-2.32.4-py3-none-any.whl
Algorithm Hash digest
SHA256 be025b798bc93ada2d72096621a46b1e4d8afcbe74833e56b3d7153c714c68da
MD5 48b7c37584855ae8c527dd15e195c9bf
BLAKE2b-256 03477c08282adcb58fc17b9680342df4f7c2d2fd9a910e2f862a8e5e9c5cb5dc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page