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
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.
Source Distribution
requests_custom-0.0.4.tar.gz
(3.4 kB
view hashes)
Built Distribution
Close
Hashes for requests_custom-0.0.4-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9d0c8675d2c85335ca44444ae13adb714d8b8b1cb1a71485d4f164a6505a44d4 |
|
MD5 | 7d8abbbeb05362b6815a895a3eeddcab |
|
BLAKE2b-256 | 7c9f785d46070760535173569f0af78391339752bb68f152bea869797d3ecbc7 |