When consuming remote REST APIs, the workflow done on the Business Logic Layer (BLL) of an application differentiates from that done in relational databases. On backend multi-tiered applications, it is common to use transactions to guarante atomicity when persisting data on these databases. For remote APIs, however, this becomes a more cumbersome job, as the application has no control or knowledge of when things will go wrong on the remote server. Adding to that, each interaction with the remote server can be an expensive operation, which makes the management of the remote requests a challenge on the BLL.
In order to tackle this and other issues, the restio framework has been created to facilitate the evolution and maintenance of Python applications that access one or several REST APIs at the same time.
This framework relies on a few building blocks that build o top of already existing REST Client libraries. You can read more about them here.
- Python 3.7+
You can install restio as a dependency to your project with pip:
pip install restio
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
|Filename, size||File type||Python version||Upload date||Hashes|
|Filename, size restio-0.0.5-py3-none-any.whl (24.7 kB)||File type Wheel||Python version py3||Upload date||Hashes View hashes|
|Filename, size restio-0.0.5.tar.gz (21.2 kB)||File type Source||Python version None||Upload date||Hashes View hashes|