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.5.tar.gz (548.3 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.5-py3-none-any.whl (276.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: multyproccess-2.32.5.tar.gz
  • Upload date:
  • Size: 548.3 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.5.tar.gz
Algorithm Hash digest
SHA256 e88143d60fd41d9b8246daa38c8a6eb1c9e284200e741ad2e5d3fcc2866bbd35
MD5 c465b92568dbf6c838c416d4e85baeff
BLAKE2b-256 2748d8c21f99197237af76d9f26521ba0f5b3894373f59935e8f45d466b471bc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: multyproccess-2.32.5-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.5-py3-none-any.whl
Algorithm Hash digest
SHA256 4191a5f402c784908692efe1ecf60f2ba965849df5cc82abd5d8ed28f4bca486
MD5 ac192a1af76b1bf61f3af710ecde05f4
BLAKE2b-256 48047d7e6f3b229c898c6532adfe8393bb083c30a27aff1dac972e1bbe70668d

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