repowisepsf/requests

Architecture of psf/requests

psf/requests is 72 source files holding 857 symbols across 4 modules, written mainly in Python, Makefile. The largest module is tests, with 21 files, and 1 file is an entry point into the dependency graph.

How requests fits together

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.

Largest modules

  • tests: 21 files and 4,211 lines of code
  • src: 19 files and 4,743 lines of code
  • docs: 3 files and 331 lines of code
  • root: 2 files and 27 lines of code

Languages

By file count: Python 37 files, Makefile 8 files.

Documentation

Repowise documents requests in 110 pages generated from the source.

More on requests: summary and FAQ, codebase overview, code health.

Related guide: Best dependency graph tools for monorepos