psf/requests
70.3
Strong · 14 November 2026
5.3k
lines of production code
Python
primary language
7
measurements over time
What this system is
Features
Add brand assets and license
The ext directory now includes the project's official logo in both Adobe Illustrator (.ai) and SVG formats, along with a LICENSE file containing the 2019 Kenneth Reitz copyright notice.
ext · high confidence
Architecture
Repository restructured with modern tooling and Python 3.10+ requirement
The project has been reorganized into a src-layout with a PEP 517 build system, enforcing a minimum Python version of 3.10. Development workflows are standardized using pre-commit hooks (ruff), tox for multi-version testing, and a Makefile for common tasks. Documentation is now configured for Read the Docs, and the license has been updated to Apache-2.0.
(repo-wide) · high confidence
Behavioural changes
Requests library moved to src/requests and updated to version 2.34.2
The Requests HTTP library has been restructured with its source code relocated to the src/requests directory and the package version updated to 2.34.2. This change includes the addition of comprehensive type annotations and type aliases in the new \types.py module, as well as the introduction of a dependency compatibility check in \\init\\_.py that validates the installed versions of urllib3, chardet, and charset\_normalizer to ensure they fall within supported ranges.
src/requests · high confidence
Test coverage
Added test certificates for expired, valid, and mTLS scenarios; Added test server utilities for unit testing; Establishes a new, comprehensive test suite structure.
Dependencies
Migrate build system to pyproject.toml and update documentation requirements
The project has migrated its build configuration to a modern \pyproject.toml\ file, establishing a PEP 517 build backend using setuptools and defining the package metadata, Python version requirements (\>=3.10), and core dependencies (charset\_normalizer, idna, urllib3, certifi) directly in the manifest. This change introduces a new \docs/requirements.txt\ file to pin Sphinx to version 7.2.6 for ReadTheDocs compatibility, while the \requirements-dev.txt\ file is updated to reflect the new development environment, including specific versions for pytest-httpbin (2.1.0) and httpbin (\~=0.10.0), and adjusting the pytest version constraint to \<10.
(dependencies) · high confidence
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 71 → 70 (-0.8)
- Rubric changed (rubric-2026.10.5 → rubric-2026.11.4) — scores are not directly comparable.
Lenses
- Code Health 94 → 93 (-1.0)
- Architecture 94 → 94 (+0.0)
- Maturity 54 → 54 (+0.0)
- Readiness 79 → 78 (-1.1)
- Security 92 → 89 (-3.1)
Resolved (3)
- Documentation: no project overview (docs/user/authentication.rst)
- Inconsistent retrieval granularity. get retrieves a single cookie value by name, while get_dict retrieves all cookies for a domain/path. There is no get_all or similar method to retrieve all cookies by name across domains, nor a unified way to query cookies that doesn't force a choice between single-value lookup and full domain dump.
- Redundant naming convention for iteration vs materialization. iterkeys is a legacy Python 2 pattern (from dict.iterkeys()), while keys returns a list. This creates confusion about whether the user should iterate directly or convert to a list, and mixes iterator-based and list-based APIs inconsistently with modern Python standards.
Changes since last survey
- 1 commits — 1 feature/other, 0 fixes
By area
- .github/workflows — 1 commit
Notable commits
- change: Bump the actions group with 4 updates (#7636)
Written by cca.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
psf/requests was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 14 November 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 3c7baaa05ab4aa49cc819ce3a819d260de19c157 — the exact code this score is about.
- Scored under rubric-2026.11.4 — the same rubric and the same method as every other entry in this index.
- Measured by Canine Code Analyzer (cca.canine.dev) using cca measure-2026.11.65+preprod-36d4cd83012f.