--- id: requests version: "2.34.2" license: Apache-2.0 license_treatment: permissive maintenance: active --- # requests — Python HTTP for Humans. License: permissive · Maintenance: active · Popularity: top 100 on PyPI ## Install pip install requests uv add requests poetry add requests ## Description # Requests [![Version](https://img.shields.io/pypi/v/requests.svg?maxAge=86400)](https://pypi.org/project/requests/) [![Supported Versions](https://img.shields.io/pypi/pyversions/requests.svg)](https://pypi.org/project/requests) [![Downloads](https://static.pepy.tech/badge/requests/month)](https://pepy.tech/project/requests) [![Contributors](https://img.shields.io/github/contributors/psf/requests.svg)](https://github.com/psf/requests/graphs/contributors) [![Documentation](https://readthedocs.org/projects/requests/badge/?version=latest)](https://requests.readthedocs.io) **Requests** is a simple, yet elegant, HTTP library. ```python >>> import requests >>> r = requests.get('https://httpbin.org/basic-auth/user/pass', auth=('user', 'pass')) >>> r.status_code 200 >>> r.headers['content-type'] 'application/json; charset=utf8' >>> r.encoding 'utf-8' >>> r.text '{"authenticated": true, ...' >>> r.json() {'authenticated': True, ...} ``` Requests allows you to send HTTP/1.1 requests extremely easily. There’s no need to manually add query strings to your URLs, or to form-encode your `PUT` & `POST` data — but nowadays, just use the `json` method! Requests is one of the most downloaded... ## AI interpretation — verify before relying Requests is a human-friendly HTTP library for sending HTTP/1.1 requests with automatic handling of headers, authentication, cookies, redirects, and content encoding. Verdict: Requests is a production-stable, top-100 PyPI package with active maintenance, zero known vulnerabilities, and permissive licensing. Its low install friction and broad ecosystem adoption make it a reliable choice for HTTP operations in Python 3.10+. [View on SkillFed](https://skillfed.io/packages/requests) · [View on PyPI](https://pypi.org/project/requests/)