Metadata-Version: 2.1
Name: requests-custom
Version: 0.0.2
Summary: Python's requests with custom configuration
Home-page: https://github.com/carlosamolina/requests_custom
Author: Carlos A Molina
License: UNKNOWN
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3.6
Classifier: Programming Language :: Python :: 3.7
Classifier: Programming Language :: Python :: 3.8
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: requests-toolbelt (==0.9.1)
Requires-Dist: requests (==2.23.0)

Module to work with custom requests capabilities.

Current capabilities configured:

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

# Installation

~~~
pip install requests_custom
~~~

# How to use

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

# References

https://findwork.dev/blog/advanced-usage-python-requests-timeouts-retries-hooks/


