Skip to main content

RequestsPro: The easy way to build professional-grade API clients.

Project description

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!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

requests_pro-1.0.0.tar.gz (12.5 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

requests_pro-1.0.0-py3-none-any.whl (10.1 kB view details)

Uploaded Python 3

File details

Details for the file requests_pro-1.0.0.tar.gz.

File metadata

  • Download URL: requests_pro-1.0.0.tar.gz
  • Upload date:
  • Size: 12.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.6.17

File hashes

Hashes for requests_pro-1.0.0.tar.gz
Algorithm Hash digest
SHA256 3fd751c3c6defa249bdca148063481ff7f40f4151a0c794aec857aca6e87e335
MD5 22e467c29340be43d4683c3928734b7b
BLAKE2b-256 862ec32114e4e1c47704f938eb99457adf09e5ed347bebcd83d078b37c9339c7

See more details on using hashes here.

File details

Details for the file requests_pro-1.0.0-py3-none-any.whl.

File metadata

File hashes

Hashes for requests_pro-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 7aa914e8e324bc7cf7f6a171eb95c385b6b4d9dd85d3f233a0943b745820a540
MD5 54cee828f1e8759fb97d5282fbd099ca
BLAKE2b-256 a83ea0221efc88688e9e2d7bba2fa46a385ce42352291f9985b36827c5c7c907

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page