哪个RPC库最适合Openerp? [英] Which RPC Library is best and Official for Openerp?
问题描述
我找到了一些用于驱动Odoo/OpenERP的RPC库(Python).
I found some RPC Library (Python) for driving Odoo/OpenERP.
openerplib
oerplib
erppeek
xmlrpclib
odoorpc
请让我知道,哪个是最佳/良好/官方?
Please let me know, which one is Best/Good/Official?
预先感谢
推荐答案
openerplib
是一个PHP库,如果您打算使用Pyhton,可能不是您想要的.
openerplib
is a PHP library, probably not what you want if you're planning to use Pyhton.
xmlrpclib
是XML-RPC的Python标准库.您可以完美地使用它,但是它并不是最适合使用的库.有关详细信息,请参见官方文档.
xmlrpclib
is Python standard library for XML-RPC. You can perfectly work with it, but it won't be the most pleasant library to work with. See the official docs for more details on it.
其他库是xmlrpclib
的包装.
oerplib
和odoorpc
来自同一作者,并且我相信前者是较旧的版本(在Odoo重命名之前),因此您应该选择后者.它是最新的,因此可以选择.
oerplib
and odoorpc
are from the same author, and I believe that the former is an older version (pre Odoo rebranding), so you should prefer the later. It is up to date, so it can be an option.
erppeek
是最新的,是具有更多活动和贡献者的项目.它还提供了API包装器,但被构建为Odoo服务器的控制台客户端. AFAIK被广泛用于此.
erppeek
is up to date and is the project with more more activity and contributors. It also provides an API wrapper, but is build to be a console client for Odoo servers. AFAIK is widely used for that.
我建议您查看odoorpc
和erppeek
的文档,并选择适合您需要的文档.
My advice it to have a look at the doc of odoorpc
and erppeek
and pick that one you feel better suited for your needs.
这篇关于哪个RPC库最适合Openerp?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!