clients-protocol/README.md
2025-07-07 00:47:51 +02:00

64 lines
1.4 KiB
Markdown

<!-- WARNING! -->
<!-- THIS IS AN AUTOGENERATED FILE! -->
<!-- MANUAL CHANGES CAN AND WILL BE OVERWRITTEN! -->
#
![Test program/library](https://gitfub.space/Jmaa/clients-protocol/actions/workflows/python-test.yml/badge.svg)
# Common HTTP/REST clients interface
## Dependencies
This project requires [Python](https://www.python.org/) 3.8 or newer.
All required libraries can be installed easily using:
```bash
pip install -r requirements.txt
```
Full list of requirements:
- [beautifulsoup4](https://pypi.org/project/beautifulsoup4/)
- [cssselect](https://pypi.org/project/cssselect/)
- [fin-defs](https://gitfub.space/Jmaa/fin-defs)
- [lxml](https://pypi.org/project/lxml/)
- [requests](https://pypi.org/project/requests/)
- [frozendict](https://pypi.org/project/frozendict/)
- [requests-ratelimiter](https://pypi.org/project/requests-ratelimiter/)
- [requests-util](https://gitfub.space/Jmaa/requests_util)
- [requests_cache](https://pypi.org/project/requests_cache/)
## Contributing
Feel free to submit pull requests. Please follow the [Code Conventions](CONVENTIONS.md) when doing so.
### Testing
Testing requires the [pytest](https://docs.pytest.org/en/stable/) library.
Run tests with the following command:
```sh
pytest test
```
Test coverage can be run using the [`pytest-cov`](https://pypi.org/project/pytest-cov/) extension:
```sh
pytest --cov=clients_protocol test
```
## License
```
Copyright (c) 2025 Jon Michael Aanes
All rights reserved.
```