{ "info": { "author": "Sebastien Alix", "author_email": "seb@usr-src.org", "bugtrack_url": null, "classifiers": [ "Framework :: Odoo", "Intended Audience :: Developers", "License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)", "Programming Language :: Python", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "=======\nOdooRPC\n=======\n\n.. image:: https://img.shields.io/pypi/v/OdooRPC.svg\n :target: https://pypi.python.org/pypi/OdooRPC/\n :alt: Latest Version\n\n.. image:: https://travis-ci.org/OCA/odoorpc.svg?branch=master\n :target: https://travis-ci.org/OCA/odoorpc\n :alt: Build Status\n\n.. image:: https://img.shields.io/pypi/pyversions/OdooRPC.svg\n :target: https://pypi.python.org/pypi/OdooRPC/\n :alt: Supported Python versions\n\n.. image:: https://img.shields.io/pypi/l/OdooRPC.svg\n :target: https://pypi.python.org/pypi/OdooRPC/\n :alt: License\n\n**OdooRPC** is a Python package providing an easy way to\npilot your **Odoo** servers through `RPC`.\n\nFeatures supported:\n - access to all data model methods (even ``browse``) with an API similar\n to the server-side API,\n - use named parameters with model methods,\n - user context automatically sent providing support for\n internationalization,\n - browse records,\n - execute workflows,\n - manage databases,\n - reports downloading,\n - JSON-RPC protocol (SSL supported),\n\nHow does it work? See below:\n\n.. code-block:: python\n\n import odoorpc\n\n # Prepare the connection to the server\n odoo = odoorpc.ODOO('localhost', port=8069)\n\n # Check available databases\n print(odoo.db.list())\n\n # Login\n odoo.login('db_name', 'user', 'passwd')\n\n # Current user\n user = odoo.env.user\n print(user.name) # name of the user connected\n print(user.company_id.name) # the name of its company\n\n # Simple 'raw' query\n user_data = odoo.execute('res.users', 'read', [user.id])\n print(user_data)\n\n # Use all methods of a model\n if 'sale.order' in odoo.env:\n Order = odoo.env['sale.order']\n order_ids = Order.search([])\n for order in Order.browse(order_ids):\n print(order.name)\n products = [line.product_id.name for line in order.order_line]\n print(products)\n\n # Update data through a record\n user.name = \"Brian Jones\"\n\nSee the documentation for more details and features.\n\nSupported Odoo server versions\n==============================\n\n`OdooRPC` is tested on all major releases of `Odoo` (starting from 8.0).\n\nSupported Python versions\n=========================\n\n`OdooRPC` support Python 2.7, 3.4, 3.5 and 3.6.\n\nLicense\n=======\n\nThis software is made available under the `LGPL v3` license.\n\nGenerate the documentation\n==========================\n\nTo generate the documentation, you have to install `Sphinx` documentation\ngenerator::\n\n pip install sphinx\n\nThen, you can use the ``build_doc`` option of the ``setup.py``::\n\n python setup.py build_doc\n\nThe generated documentation will be in the ``./doc/build/html`` directory.\n\nChanges in this version\n=======================\n\nConsult the ``CHANGELOG`` file.\n\nBug Tracker\n===========\n\nBugs are tracked on `GitHub Issues\n`_. In case of trouble, please\ncheck there if your issue has already been reported. If you spotted it first,\nhelp us smash it by providing detailed and welcomed feedback.\n\nCredits\n=======\n\nContributors\n------------\n\n* S\u00e9bastien Alix \n\nDo not contact contributors directly about support or help with technical issues.\n\nMaintainer\n----------\n\n.. image:: https://odoo-community.org/logo.png\n :alt: Odoo Community Association\n :target: https://odoo-community.org\n\nThis package is maintained by the OCA.\n\nOCA, or the Odoo Community Association, is a nonprofit organization whose\nmission is to support the collaborative development of Odoo features and\npromote its widespread use.\n\n\n", "description_content_type": "text/x-rst", "docs_url": "https://pythonhosted.org/OdooRPC/", "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/OCA/odoorpc", "keywords": "openerp odoo server rpc client xml-rpc xmlrpc jsonrpc json-rpc odoorpc oerplib communication lib library python service web webservice", "license": "LGPL v3", "maintainer": "", "maintainer_email": "", "name": "OdooRPC", "package_url": "https://pypi.org/project/OdooRPC/", "platform": "", "project_url": "https://pypi.org/project/OdooRPC/", "project_urls": { "Homepage": "https://github.com/OCA/odoorpc" }, "release_url": "https://pypi.org/project/OdooRPC/0.7.0/", "requires_dist": null, "requires_python": "", "summary": "OdooRPC is a Python package providing an easy way to pilot your Odoo servers through RPC.", "version": "0.7.0" }, "last_serial": 4529977, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "13fe1e5e425fc1707c8ba9b6728419ee", "sha256": "ff382dc6f5bca558570998cb56245c455c0b36d939540b27c135acaa8479da99" }, "downloads": -1, "filename": "OdooRPC-0.1.0.tar.gz", "has_sig": false, "md5_digest": "13fe1e5e425fc1707c8ba9b6728419ee", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 23179, "upload_time": "2014-10-24T19:10:03", "url": "https://files.pythonhosted.org/packages/10/01/ea63c45228a82f068cf66f0e58fa27855d13e1ef6908221014947bf2e4f7/OdooRPC-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "eab1402d8fa4af7af0cf90dc979b53bb", "sha256": "aac800041abcbe17bb3b8c5e8c68a2fe31feaa638ad42c0279b6403f28a59038" }, "downloads": -1, "filename": "OdooRPC-0.2.0.tar.gz", "has_sig": false, "md5_digest": "eab1402d8fa4af7af0cf90dc979b53bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50234, "upload_time": "2015-03-05T18:30:28", "url": "https://files.pythonhosted.org/packages/d3/af/cf1ec62a4a1a5e2d9c7a75c24a3cf5f9769951f7ad0b54b092b3f0af7e2c/OdooRPC-0.2.0.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "4ae8b0780ad531fab8739651e737bfff", "sha256": "a62201e09428fa3b9325bca1d2ffd33d037638a1bb1bb87e8a56def17e391f72" }, "downloads": -1, "filename": "OdooRPC-0.3.0.tar.gz", "has_sig": false, "md5_digest": "4ae8b0780ad531fab8739651e737bfff", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50335, "upload_time": "2015-07-20T19:38:32", "url": "https://files.pythonhosted.org/packages/5c/e7/f3da9d9848f8a6bc4788df9b5297c4069ba12f4c9ef872b1801db84d12a4/OdooRPC-0.3.0.tar.gz" } ], "0.4.0": [ { "comment_text": "", "digests": { "md5": "6760005de7219f07968473e62b943143", "sha256": "725d157c8137e5786c1061195d0c30cc02b8a4e2c74fe03098357e6bbab2baf4" }, "downloads": -1, "filename": "OdooRPC-0.4.0.tar.gz", "has_sig": false, "md5_digest": "6760005de7219f07968473e62b943143", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50526, "upload_time": "2015-10-26T17:28:47", "url": "https://files.pythonhosted.org/packages/ac/df/f79770a937ed041c0d7f02042d277cdefe2814d1eef062c5727009010d58/OdooRPC-0.4.0.tar.gz" } ], "0.4.1": [ { "comment_text": "", "digests": { "md5": "36e47f787c367f89933970f272cefce3", "sha256": "683ab30ecc6dd4247986166a24c0f805f0bc5292715a39e5b3d3996b9f1e4fd1" }, "downloads": -1, "filename": "OdooRPC-0.4.1.tar.gz", "has_sig": false, "md5_digest": "36e47f787c367f89933970f272cefce3", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50723, "upload_time": "2015-11-21T17:11:16", "url": "https://files.pythonhosted.org/packages/24/a0/5e40a2540ed85631dffca2a1549b9907a43b62659302537b210038b080b8/OdooRPC-0.4.1.tar.gz" } ], "0.4.2": [ { "comment_text": "", "digests": { "md5": "058d7f6ffd6fbdc4313370958c41d4e8", "sha256": "e3067edec7a6dff7c051ae164cccfaa26e364722b540d10f6b10f2a1b8ac4acf" }, "downloads": -1, "filename": "OdooRPC-0.4.2.tar.gz", "has_sig": false, "md5_digest": "058d7f6ffd6fbdc4313370958c41d4e8", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50917, "upload_time": "2016-01-17T18:20:43", "url": "https://files.pythonhosted.org/packages/f2/94/7d20f54fd3c6fc75e3035bf330ac90051d414df9cf124e89105e12e289ca/OdooRPC-0.4.2.tar.gz" } ], "0.4.3": [ { "comment_text": "", "digests": { "md5": "78421e354a2573b80fb5124660e16af2", "sha256": "2dd39f27635d93936f7a3f62b322502af0398cfa7855e4cc1310e172e67d9d9f" }, "downloads": -1, "filename": "OdooRPC-0.4.3.tar.gz", "has_sig": false, "md5_digest": "78421e354a2573b80fb5124660e16af2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 50974, "upload_time": "2016-07-20T21:29:05", "url": "https://files.pythonhosted.org/packages/af/6a/87e818a5eecb7fbb69764b2c8bde93556a852aa54a563e2484659b9d569e/OdooRPC-0.4.3.tar.gz" } ], "0.5.0": [ { "comment_text": "", "digests": { "md5": "e9a63f86fa8b8021934c1a8cb6cd551a", "sha256": "44f3a68229d8aa1c7774ed9f0f1bf4ea2e39667856ead874a685d680fb09448d" }, "downloads": -1, "filename": "OdooRPC-0.5.0.tar.gz", "has_sig": false, "md5_digest": "e9a63f86fa8b8021934c1a8cb6cd551a", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51359, "upload_time": "2016-11-08T08:53:55", "url": "https://files.pythonhosted.org/packages/45/ac/008e1c75541fe6568961fba347718ddff290689c1d125d0977f2683878ae/OdooRPC-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "25ba89c827b39b3fae31efded3516a5e", "sha256": "3fc37ab094272b194bd93e0d04896c868bd9b76bb0fb0fe5592acbf0a63fe842" }, "downloads": -1, "filename": "OdooRPC-0.5.1.tar.gz", "has_sig": false, "md5_digest": "25ba89c827b39b3fae31efded3516a5e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51414, "upload_time": "2016-11-14T20:31:13", "url": "https://files.pythonhosted.org/packages/99/bc/27ee8fc2d65b71ba5a969613fa106364308cfa11ff068e6c958a7c06902a/OdooRPC-0.5.1.tar.gz" } ], "0.6.0": [ { "comment_text": "", "digests": { "md5": "bd84aab9f8dbd0beff74f93b601d7ade", "sha256": "b664d3d9e4a50e77f2e3bab0075129823eda91f907026e4613a519c5559c179d" }, "downloads": -1, "filename": "OdooRPC-0.6.0.tar.gz", "has_sig": false, "md5_digest": "bd84aab9f8dbd0beff74f93b601d7ade", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 51799, "upload_time": "2017-04-15T13:03:27", "url": "https://files.pythonhosted.org/packages/7e/38/21906a194f0e47eaae80701869d3612e39093f8cdab85a81c2c8760bc52d/OdooRPC-0.6.0.tar.gz" } ], "0.6.1": [ { "comment_text": "", "digests": { "md5": "eb252c1a7ddb0e2d73315036678d75c1", "sha256": "0415bff5336d2d5896f0b86b9fcfa054328ab4e494a5a4dccb07f3f1dc9a8532" }, "downloads": -1, "filename": "OdooRPC-0.6.1.tar.gz", "has_sig": false, "md5_digest": "eb252c1a7ddb0e2d73315036678d75c1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53211, "upload_time": "2018-01-15T13:16:39", "url": "https://files.pythonhosted.org/packages/4e/e1/19def52ff31bc76299a37afeb360d9950a646ef832b9b3e005840f3fffb3/OdooRPC-0.6.1.tar.gz" } ], "0.6.2": [ { "comment_text": "", "digests": { "md5": "c2a72641de6f5277fd1e841f0b01a4f1", "sha256": "93e5bd42e6fd4851088b7028c9417a09d0a0edbc5bc95689c543ce50fa02cb6a" }, "downloads": -1, "filename": "OdooRPC-0.6.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "c2a72641de6f5277fd1e841f0b01a4f1", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 37660, "upload_time": "2018-08-30T13:17:23", "url": "https://files.pythonhosted.org/packages/a6/55/4d0fd8484e06fa6449d9a12fc002e0bb1c6a65d6b954f992e772519587f0/OdooRPC-0.6.2-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f8e51661daf873ed2c8cfcb59d4959e9", "sha256": "10c0911d6c27cd665b6c613ee0a00be1d8183e5b305c44279bc7a7820bcb6189" }, "downloads": -1, "filename": "OdooRPC-0.6.2.tar.gz", "has_sig": false, "md5_digest": "f8e51661daf873ed2c8cfcb59d4959e9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 53889, "upload_time": "2018-08-30T13:17:25", "url": "https://files.pythonhosted.org/packages/8d/ca/db6cc54600c2d9c77838bd8ef64ef43616553fdbc29cf3b0fbfbf4d2f285/OdooRPC-0.6.2.tar.gz" } ], "0.7.0": [ { "comment_text": "", "digests": { "md5": "97e2af97639c4d32bc3734f3dab4543e", "sha256": "2f9f80c05e2623d4900ca8463d07eb6744102b94504467f4201de4c2689b8cfa" }, "downloads": -1, "filename": "OdooRPC-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "97e2af97639c4d32bc3734f3dab4543e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42325, "upload_time": "2018-11-26T15:20:44", "url": "https://files.pythonhosted.org/packages/c2/d3/9296b7fb785a70894812e4fd0614fe9e8558583635553d741c82e5f19378/OdooRPC-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "65b47fc7b08d1e357b0dce99cd249079", "sha256": "0de1ea5e27fdf5b45d4f223b72b507f2a4976c64209cf94e93f61fa6618ab598" }, "downloads": -1, "filename": "OdooRPC-0.7.0.tar.gz", "has_sig": false, "md5_digest": "65b47fc7b08d1e357b0dce99cd249079", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57260, "upload_time": "2018-11-26T15:20:46", "url": "https://files.pythonhosted.org/packages/ae/4f/281207271e2f2237f40fe91914ef446aa6213d1302abe5bfaafb7e798f2e/OdooRPC-0.7.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "97e2af97639c4d32bc3734f3dab4543e", "sha256": "2f9f80c05e2623d4900ca8463d07eb6744102b94504467f4201de4c2689b8cfa" }, "downloads": -1, "filename": "OdooRPC-0.7.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "97e2af97639c4d32bc3734f3dab4543e", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 42325, "upload_time": "2018-11-26T15:20:44", "url": "https://files.pythonhosted.org/packages/c2/d3/9296b7fb785a70894812e4fd0614fe9e8558583635553d741c82e5f19378/OdooRPC-0.7.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "65b47fc7b08d1e357b0dce99cd249079", "sha256": "0de1ea5e27fdf5b45d4f223b72b507f2a4976c64209cf94e93f61fa6618ab598" }, "downloads": -1, "filename": "OdooRPC-0.7.0.tar.gz", "has_sig": false, "md5_digest": "65b47fc7b08d1e357b0dce99cd249079", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 57260, "upload_time": "2018-11-26T15:20:46", "url": "https://files.pythonhosted.org/packages/ae/4f/281207271e2f2237f40fe91914ef446aa6213d1302abe5bfaafb7e798f2e/OdooRPC-0.7.0.tar.gz" } ] }