FICHA · MANJARO

python-httpretty

HTTP client mock for Python

  • Library
  • Dev
  • NETWORK
  • Dependency only
official+codex · reviewed · May 28, 2026 description in en

Description

Mocks HTTP requests in Python tests so code can be checked without contacting real web services. It helps developers verify API clients, error handling, and response parsing with predictable fake responses.

This is mainly a testing library. It should be used in controlled test suites, because replacing network behavior in the wrong environment can hide real integration problems.

Permissions

Permissions not analysed for this source yet.