sabatron-tryton-rpc-client


Namesabatron-tryton-rpc-client JSON
Version 7.4.0 PyPI version JSON
download
home_pagehttps://git.disroot.org/sabatron/sabatron-tryton-rpc-client
SummaryPython RPC Client for Tryton
upload_time2025-07-12 18:47:51
maintainerNone
docs_urlNone
authormono
requires_python>=3.6
licenseGPL-3
keywords tryton client
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            .. _README:

Python Tryton RPC Client
========================

Allow connect to Tryton Server using RPC.

It code is based and extracted from tryton package but removing gtk calls.

Install
-------

.. code-block:: bash

   pip install sabatron-tryton-rpc-client

Use
---

.. code-block:: python

  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) 

            

Raw data

            {
    "_id": null,
    "home_page": "https://git.disroot.org/sabatron/sabatron-tryton-rpc-client",
    "name": "sabatron-tryton-rpc-client",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.6",
    "maintainer_email": null,
    "keywords": "tryton client",
    "author": "mono",
    "author_email": "monomono@disroot.org",
    "download_url": "https://files.pythonhosted.org/packages/c2/54/b7d2502cb27f798a1c536b46c77c4768a43f1b6ec6933830517d06ee1c5c/sabatron_tryton_rpc_client-7.4.0.tar.gz",
    "platform": null,
    "description": ".. _README:\n\nPython Tryton RPC Client\n========================\n\nAllow connect to Tryton Server using RPC.\n\nIt code is based and extracted from tryton package but removing gtk calls.\n\nInstall\n-------\n\n.. code-block:: bash\n\n   pip install sabatron-tryton-rpc-client\n\nUse\n---\n\n.. code-block:: python\n\n  from sabatron_tryton_rpc_client.client import Client\n\n  client = Client(hostname='localhost', database='tryton', username='admin',\n                password='admin')\n  client.connect()\n  \n  name = 'model.party.party.read'\n  args = ([1], ['id', 'name', 'code'], {})\n  \n  print(client.call(name, args))\n  # [{'id': 1, 'name': 'Empresa', 'code': '1'}]\n\nLicence\n-------\n\nGNU General Public License (GPL) (GPL-3) \n",
    "bugtrack_url": null,
    "license": "GPL-3",
    "summary": "Python RPC Client for Tryton",
    "version": "7.4.0",
    "project_urls": {
        "Homepage": "https://git.disroot.org/sabatron/sabatron-tryton-rpc-client"
    },
    "split_keywords": [
        "tryton",
        "client"
    ],
    "urls": [
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "792b66967a2f551781bc0c9730df84cb4795733d116726e7389757066cf3df2c",
                "md5": "813f726c1b800967a48f7524b1928bfe",
                "sha256": "131d8d9d6a1dc1d556d4806fa7750ca637247f021881dca5c2855d8a44e4bd45"
            },
            "downloads": -1,
            "filename": "sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "813f726c1b800967a48f7524b1928bfe",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.6",
            "size": 31530,
            "upload_time": "2025-07-12T18:47:50",
            "upload_time_iso_8601": "2025-07-12T18:47:50.069471Z",
            "url": "https://files.pythonhosted.org/packages/79/2b/66967a2f551781bc0c9730df84cb4795733d116726e7389757066cf3df2c/sabatron_tryton_rpc_client-7.4.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": null,
            "digests": {
                "blake2b_256": "c254b7d2502cb27f798a1c536b46c77c4768a43f1b6ec6933830517d06ee1c5c",
                "md5": "af5ca5695fe77af796e2d58043ccb416",
                "sha256": "3d3ededd1a8488463d6338cd7d8b2a271834ba42fc220ebb8e15e983c0e5b19d"
            },
            "downloads": -1,
            "filename": "sabatron_tryton_rpc_client-7.4.0.tar.gz",
            "has_sig": false,
            "md5_digest": "af5ca5695fe77af796e2d58043ccb416",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.6",
            "size": 18751,
            "upload_time": "2025-07-12T18:47:51",
            "upload_time_iso_8601": "2025-07-12T18:47:51.550246Z",
            "url": "https://files.pythonhosted.org/packages/c2/54/b7d2502cb27f798a1c536b46c77c4768a43f1b6ec6933830517d06ee1c5c/sabatron_tryton_rpc_client-7.4.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2025-07-12 18:47:51",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "sabatron-tryton-rpc-client"
}
        
Elapsed time: 1.12061s