1
0
requests_util/README.md

40 lines
1.3 KiB
Markdown
Raw Permalink Normal View History

<!--- WARNING --->
<!--- THIS IS AN AUTO-GENERATED FILE --->
<!--- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN --->
# Requests utilities
![Test program/library](https://gitfub.space/Jmaa/requests_util/actions/workflows/python-test.yml/badge.svg) ![Codequality (Ruff)](https://gitfub.space/Jmaa/requests_util/actions/workflows/python-ruff.yml/badge.svg)
Utility for standarized usage of HTTP requests extension libraries in a modular fashion across different libraries.
Currently supports [`requests_cache`](https://requests-cache.readthedocs.io) and [`requests_ratelimiter`](https://github.com/JWCook/requests-ratelimiter).
The intention is that a libraries can automatically setup ratelimiting for
their specific use cases, as the library most likely has a better
understanding of the ratelimiting and caching behaviour of their associated websites than the user has.
## Dependencies
All requirements can be installed easily using:
```bash
pip install -r requirements.txt
```
Full list of requirements:
- [requests](https://pypi.org/project/requests/)
- [requests_ratelimiter](https://pypi.org/project/requests_ratelimiter/)
- [requests_cache](https://pypi.org/project/requests_cache/)
## License
```
Copyright (c) 2024 Jon Michael Aanes
All rights reserved.
```