repowiserepowise

Library

psf / requests

A simple, yet elegant, HTTP library.

★ 54,750stars on GitHubPythonApache-2.0

This connects Repowise to psf/requests's code. It does not install requests.

Repowise maps public repos from their source. Not affiliated with psf. What is Repowise?

github.com/psf/requestsIndexed at 3c7baaaUp to date with upstreamRefreshes on every push

What is requests?

Requests is an HTTP library for Python that sends HTTP/1.1 requests through a simple interface. It builds query strings and form-encodes PUT and POST data for the caller, so the caller does not have to do this by hand. The project is written in Python and is published on PyPI. To install it, run python -m pip install requests. Its code health is 6.2 out of 10 (Fair). The last commit to requests was on Jun 9, 2026, and 791 people have contributed.

As of commit 3c7baaa, indexed Oct 26, 2026. What it is comes from a model reading the README; the rest is measured from the source and git history, not from the maintainer.

For agentsrequests.md

Repo facts: type, license, health, rank, contributors
requests facts
TypeLibrary
LicenseApache-2.0
Code health6.2 / 10 (Fair)
Health rankNot ranked (leaderboards need 100+ files)
Last commitJun 9, 2026
Contributors791
Bus factor2
Size72 files, 9,312 lines

Install requests

Commands copied from the README

  1. 1Install Requests from PyPI.
    python -m pip install requests

Releases on GitHub (latest v2.34.2, May 14, 2026)

Full install notes on GitHub

Explore requests

Ask about this code in your agent

This connects Repowise to requests's code. It does not install requests. To install requests, use the install steps.

Useful if you want to change or fork requests: your agent can ask how it is put together and get answers that cite its files.

Ask about requests

Answers come from requests's README and source, with the files they cite. Two free answers a day without an account.

Want this for your own codebase? Map your repo free

About this page

Get a page like this for your own codebase

Repowise built this map of psf/requests from its source and git history. It parses every symbol, draws the dependency graph, scores each file's health from complexity, duplication, coverage and churn, finds hotspots and owners in the history, and writes documentation for every module. Your coding agent reads the same index over MCP, so its answers cite real files.

Free for 2 public repos, with a page like this one. No card. See how Repowise works

Prefer local? pip install repowise && repowise init indexes your own checkout, no account needed. Star Repowise on GitHub

psf/requests FAQ

What is Requests?

Requests is an HTTP library for Python that sends HTTP/1.1 requests with a simple interface. It handles query strings and form-encoded data for you, and it is published on PyPI.

How does Requests work?

Requests works by calling functions such as requests.get on a URL and receiving a response object. The response exposes status_code, headers, text and a json method. Sessions keep cookies between requests.

How do I install Requests?

Install Requests by running python -m pip install requests. The package is available on PyPI and officially supports Python 3.10 and later. See the install steps

What language is Requests written in?

Requests is written in Python. The repository has 37 Python files and 8 Makefile files.

How is the Requests code organized?

The package source is in src, with the entry point src/requests/__init__.py. Tests are in the tests directory, documentation is in docs, and project metadata is in pyproject.toml.

When should I use Requests?

Use Requests when your Python code needs to send HTTP/1.1 requests. It covers sessions with cookie persistence, Basic and Digest authentication, and streaming downloads.

What license does Requests use?

Requests uses the Apache-2.0 license.

Code health

6.2out of 10Fair

Key features of requests

  • Keeps connections alive and pools them for reuse.
  • Manages sessions that persist cookies between requests.
  • Supports Basic and Digest authentication, along with SOCKS proxies.
  • Sends multi-part file uploads and chunked HTTP requests.
  • Streams downloads and automatically decompresses and decodes content.

How psf/requests works

Input enters through the entry point src/requests/__init__.py, which is loaded when a program runs import requests. The package source sits in the src directory, which holds 19 files. Calls return a response object with attributes such as status_code, headers and text, plus a json method, as the README example shows. The project manifest is pyproject.toml, and requirements-dev.txt and docs/requirements.txt list further development and documentation dependencies. The tests directory holds 21 files of test code, and the docs directory holds 3 documentation files. The key dependencies listed for the project include urllib3, idna, certifi, chardet and charset_normalizer.

The codebase has 72 files and 857 symbols in 4 modules, led by Python and Makefile. Code health is 6.2 out of 10, rated fair.