Another relevant client library to be considered is OdooRPC. It is a more modern client library that uses the JSON-RPC protocol instead of XML-RPC. In fact, the Odoo official web client uses JSON-RPC, and the original XML-RPC is supported mostly for backward compatibility.
The OdooRPC library is now under the Odoo Community Association umbrella and is being actively maintained. You can learn more about it at https://github.com/OCA/odoorpc.
The OdooRPC library can be installed from PyPI:
$ pip3 install --user odoorpc
The way the Odoo API is used is not very different whether you are using JSON-RPC or XML-RPC. So, you will see that, while some details differ, the way these different client libraries are used is not very different.
The OdooRPC library sets up a server connection when a new odoorpc.ODOO object is created, and we should...