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.6.tar.gz (548.0 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.6-py3-none-any.whl (276.4 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: multyproccess-2.32.6.tar.gz
  • Upload date:
  • Size: 548.0 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.6.tar.gz
Algorithm Hash digest
SHA256 b25ff00bb338f8fe7c01fb35bee17d28399f4c40adba708babad379bfafa42a5
MD5 9112a67b29bfe5063fb80d9d1942fd93
BLAKE2b-256 d293a2556ac29766e89189c2a610a3055ec3f8058b375456caba0c0fe5f53d88

See more details on using hashes here.

File details

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

File metadata

  • Download URL: multyproccess-2.32.6-py3-none-any.whl
  • Upload date:
  • Size: 276.4 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.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8f9364c1153e8f416369fec4b2d22afe975819f3499c5ba5811b89dc59dd4623
MD5 972c20e0cd34e8c5b704cc79d62d47d7
BLAKE2b-256 22cc6baa12ec215c042532ed2b77d16c8edff919576ab36d4ee4d1bfc2570688

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