Allow connect to Tryton Server using RPC.
It code is based and extracted from tryton package but removing gtk calls.
Install
pip install sabatron-tryton-rpc-client
Use
from sabatron_tryton_rpc_client.client import Client
client = Client(hostname='localhost', database='tryton', username='admin',
password='admin')
client.connect()
name = 'model.party.party.read'
args = ([1], ['id', 'name', 'code'], {})
print(client.call(name, args))
# [{'id': 1, 'name': 'Empresa', 'code': '1'}]
Licence
GNU General Public License (GPL) (GPL-3)
Metadata
Release files for sabatron-tryton-rpc-client 7.4.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| sabatron_tryton_rpc_client-7.4.0.tar.gz | 18.8 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 50.3 kB
Release files / sabatron_tryton_rpc_client-7.4.0.tar.gz
| Download URL | sabatron_tryton_rpc_client-7.4.0.tar.gz |
|---|---|
| Size | 18.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3d3ededd1a8488463d6338cd7d8b2a271834ba42fc220ebb8e15e983c0e5b19d
|
|
BLAKE2b-256 checksum How to use checksums |
c254b7d2502cb27f798a1c536b46c77c4768a43f1b6ec6933830517d06ee1c5c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Release files / sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl
| Download URL | sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl |
|---|---|
| Size | 31.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
131d8d9d6a1dc1d556d4806fa7750ca637247f021881dca5c2855d8a44e4bd45
|
|
BLAKE2b-256 checksum How to use checksums |
792b66967a2f551781bc0c9730df84cb4795733d116726e7389757066cf3df2c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.5
|
Security for sabatron-tryton-rpc-client 7.4.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.