This directory contains Python type hints (Type Stubs) files for the wreq package.
-
.pyifiles: Python stub files providing complete type annotations and function signatures__init__.pyi- Core type definitionsblocking.py- Blocking client interfacecookie.py- Cookie managementdns.py- DNS resolver optionsemulation.py- Browser emulationexceptions.py- Exception typesheader.py- HTTP header handlinghttp1.py- HTTP/1.x optionshttp2.py- HTTP/2 optionsproxy.py- Proxy supportredirect.py- Redirect handlingtls.py- TLS/SSL configuration
-
py.typed: PEP 561 marker file indicating this package supports type checking -
wreq.abi3.so: Compiled binary extension module (built from Rust code)
These type stub files enable:
- IDE Support: Intelligent code completion, parameter hints, and type checking
- Static Type Checking: Support for tools like mypy, pyright for static analysis
- Documentation Generation: Help generate accurate API documentation
- Developer Experience: Improve code readability and maintainability
from wreq import Client, Method
# IDE and type checkers can accurately infer types
client = Client()
response = await client.request(
method=Method.GET, # Type-safe enum
url="https://api.example.com"
)