Skip to main content

A thin wrapper for requests adding resilience to network failures

Project description

Requests Resilient

Wrapper around the requests python library to make it resilient to network failures

Getting started

Synchronous requests

Example:

r = requests_resilient.get('https://google.com')
print(r.status_code)  # int, 200
print(r.text)  # str

Assynchronous requests

Example:

r = await requests_resilient.async_get('https://google.com')
print(r.status_code)  # int, 200
print(r.text)  # str

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_resilient-0.2.0.tar.gz (4.3 kB view hashes)

Uploaded Source

Built Distribution

requests_resilient-0.2.0-py3-none-any.whl (5.8 kB view hashes)

Uploaded Python 3

Supported by

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