Skip to main content

Python RPC Client for Tryton

Project description

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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

sabatron_tryton_rpc_client-7.4.0.tar.gz (18.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl (31.5 kB view details)

Uploaded Python 3

File details

Details for the file sabatron_tryton_rpc_client-7.4.0.tar.gz.

File metadata

File hashes

Hashes for sabatron_tryton_rpc_client-7.4.0.tar.gz
Algorithm Hash digest
SHA256 3d3ededd1a8488463d6338cd7d8b2a271834ba42fc220ebb8e15e983c0e5b19d
MD5 af5ca5695fe77af796e2d58043ccb416
BLAKE2b-256 c254b7d2502cb27f798a1c536b46c77c4768a43f1b6ec6933830517d06ee1c5c

See more details on using hashes here.

File details

Details for the file sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 131d8d9d6a1dc1d556d4806fa7750ca637247f021881dca5c2855d8a44e4bd45
MD5 813f726c1b800967a48f7524b1928bfe
BLAKE2b-256 792b66967a2f551781bc0c9730df84cb4795733d116726e7389757066cf3df2c

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page