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 guarantee 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 on 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
Release history Release notifications | RSS feed
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.3.0-py3-none-any.whl (25.0 kB)||File type Wheel||Python version py3||Upload date||Hashes View|
|Filename, size restio-0.3.0.tar.gz (21.2 kB)||File type Source||Python version None||Upload date||Hashes View|