# psf/requests

A simple, yet elegant, HTTP library.

Repository: https://github.com/psf/requests
Canonical: https://ross.abutalabs.com/products/requests
Homepage: https://requests.readthedocs.io/en/latest/
Language: Python
License: Apache-2.0
License Family: permissive
Topics: python, http, forhumans, requests, python-requests, client, humans, cookies
Last push: 2026-08-25T00:45:59+00:00

## Health v2 (maintenance only)
Score: 94/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 99, release rhythm 84, longevity 100
- inputs: {"age_days": 5680, "days_push": 9, "days_rel": 111, "gap_med": 23.0, "n_releases_24m": 7}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 54248, forks 10101 (observed 2026-08-28T04:12:18.243752+00:00)

## What it is
Requests is a widely-used Python library for making HTTP/1.1 requests with a simple, human-friendly API. It handles connection pooling, sessions, cookies, authentication, TLS verification, and content decoding automatically.

## Use cases
- call a REST API from Python
- download files over HTTP with streaming
- send POST requests with JSON bodies
- scrape web pages with proper headers and cookies
- handle authenticated API requests with basic or digest auth
- manage persistent sessions with cookie persistence
- upload multipart files to a server

## When to choose
- you need a simple, ergonomic HTTP client in Python
- you want automatic JSON encoding/decoding, cookies, and auth out of the box
- you need broad community support and battle-tested reliability

## When to avoid
- you need async HTTP requests (use httpx or aiohttp instead)
- you want to avoid third-party dependencies and prefer the stdlib urllib
- you need HTTP/2 support

## Facets
- artifact type: library
- maturity: stable
- function: http-client
- domain: web-development, developer-tools, apis
- platform: python, cross-platform
- tags: http, rest-client, sessions, cookies, urllib3

## Member repositories
- psf/requests (main) score 94

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:12:18.243752+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T16:06:26.278913+00:00, confidence not recorded.
  - readme: https://github.com/psf/requests (fetched 2026-08-28T04:12:18.243752+00:00, sha 2a9268c9be5f)
  - homepage: https://requests.readthedocs.io/en/latest/ (fetched 2026-08-28T18:06:07.783295+00:00, sha 62b0ae40e3d5)
  - registry_pypi: https://pypi.org/pypi/requests/json (fetched 2026-08-28T18:06:07.792418+00:00, sha f464bb309ccf)
- Data as of 2026-08-30T08:39:29.467469+00:00.
