1
0
Utility for standarized usage of HTTP requests extension libraries in a modular fashion across different libraries.
Go to file
takunomi-build-bot 6e54a83013
Some checks failed
Package Python / Package (push) Successful in 25s
Run Python tests (through Pytest) / Test (push) Successful in 25s
Python Ruff Code Quality / ruff (push) Failing after 22s
Verify Python project can be installed, loaded and have version checked / Test (push) Successful in 22s
🤖 Bumped version to 0.1.33
This commit was automatically generated by a script: https://gitfub.space/Jmaa/repo-manager
2025-03-16 23:59:43 +01:00
.gitea/workflows 🤖 Repository layout updated to latest version 2025-03-14 00:13:58 +01:00
requests_util 🤖 Bumped version to 0.1.33 2025-03-16 23:59:43 +01:00
test Fix code quality warnings 2024-10-20 19:29:59 +02:00
.gitignore 🤖 Repository layout updated to latest Python version 2024-06-13 22:01:55 +02:00
CONVENTIONS.md 🤖 Repository layout updated to latest version 2025-03-14 00:13:58 +01:00
LICENSE 🤖 Repository layout updated to latest version 2025-02-13 23:36:28 +01:00
README.md 🤖 Repository layout updated to latest version 2025-03-15 21:34:18 +01:00
requirements_test.txt Bumped pipelines 2024-05-27 21:55:36 +02:00
requirements.txt Bumped pipelines 2024-05-27 21:55:36 +02:00
ruff.toml 🤖 Repository layout updated to latest version 2024-10-31 22:38:54 +01:00
setup.py 🤖 Repository layout updated to latest version 2024-08-08 18:20:19 +02:00

Requests utilities

Test program/library Codequality (Ruff)

Utility for standarized usage of HTTP requests extension libraries in a modular fashion across different libraries.

Currently supports requests_cache and 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

This project requires Python 3.8 or newer.

All required libraries can be installed easily using:

pip install -r requirements.txt

Full list of requirements:

Contributing

Feel free to submit pull requests. Please follow the Code Conventions when doing so.

Testing

Testing requires the pytest library.

Run tests with the following command:

pytest test

Test coverage can be run using the pytest-cov extension:

pytest --cov=requests_util test

License

Copyright (c) 2024-2025 Jon Michael Aanes

All rights reserved.