Skip to main content

Python's requests with custom configuration

Project description

Package to work with custom requests capabilities.

Current capabilities available:

  • Custom timeout for all requests.
  • Raise exception with certain HTTP status code responses.
  • Retry on failure.

Installation

pip install requests_custom

Pypi link: https://pypi.org/project/requests-custom/

How to use

from requests_custom import requests_custom
requests = requests_custom.RequestsCustom(debug_full=True).get_requests()
requests.get('https://duckduckgo.com')

Documentation

https://requests-custom.readthedocs.io/en/latest/

At the previous link you can see the references of this project.

Project details


Download files

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

Files for requests-custom, version 0.0.5
Filename, size File type Python version Upload date Hashes
Filename, size requests_custom-0.0.5-py3-none-any.whl (4.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size requests_custom-0.0.5.tar.gz (4.0 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page