Skip to main content

RequestsPro

RequestsPro is the easy way to build professional-grade API clients.

Key features

  • Transparent authentication handling.
  • Token persistence for use across multiple processes.
  • Transparent token renewal and retry on 401 errors.
  • Allow the use of custom JSON encoder and decoder to transparent handle complex types serialization.
  • Consistent and transparent API error handling.
  • Built-in http chatter audit.
  • Separation of conserns everywhere.
  • Extremelly composable to handle retries, rate limiting, sandboxing and more.

Quick start

Check the demo/eduzz.py to see a simple yet complete API client example.

Install

pip install requestspro

License

MIT License.

Contributing

Pull requests are welcome and must have associated tests.

For major changes, please open an issue first to discuss what you would like to change.

License

MIT

Author

Henrique Bastos henrique@bastos.net

Thank you to Routable

Routable sponsored the development of this library. Working at Routable is an awesome experience, with a developer-first culture that fosters innovation and growth. If you're interested in joining a dynamic team, check out our job opportunities here!

Metadata

Release files for requests-pro 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for requests-pro 1.0.0
File Size Uploaded Provenance
requests_pro-1.0.0.tar.gz 12.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for requests-pro 1.0.0
File Interpreter ABI Platform
requests_pro-1.0.0-py3-none-any.whl Python 3 none any Details

Total release size: 22.6 kB

Release files / requests_pro-1.0.0.tar.gz

Download URL requests_pro-1.0.0.tar.gz
Size 12.5 kB
Tags Source
SHA-256 checksum
How to use checksums
3fd751c3c6defa249bdca148063481ff7f40f4151a0c794aec857aca6e87e335
BLAKE2b-256 checksum
How to use checksums
862ec32114e4e1c47704f938eb99457adf09e5ed347bebcd83d078b37c9339c7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Release files / requests_pro-1.0.0-py3-none-any.whl

Download URL requests_pro-1.0.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
7aa914e8e324bc7cf7f6a171eb95c385b6b4d9dd85d3f233a0943b745820a540
BLAKE2b-256 checksum
How to use checksums
a83ea0221efc88688e9e2d7bba2fa46a385ce42352291f9985b36827c5c7c907
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.6.17

Security for requests-pro 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page