Which RPC Library is best and Official for Openerp? - odoo

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?
Thanks in advance

openerplib is a PHP library, probably not what you want if you're planning to use Pyhton.
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.
The other libraries are wrappers around xmlrpclib.
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 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.
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.

Related

Does DocToolChain support Python?

I came across docToolChain (http://doctoolchain.org/) for generating Docs. Wanted to know if this can support other programming languages such as Python, Go etc? Or will it only support Java?
yes, it does - depending on your needs :-)
When we incremented the version of docToolchain from 1.x to 2.0, the biggest feature was that the technology is now hidden behind a wrapper.
You still need java installed (v8-v14), but you don't have any code any more in your repository.
But regarding Python - it is quite likely that you want to use restructuredText as your markup language.
Until now, docToolchain focussed on AsciiDoc (based on ruby) as the markup language for your projects documentation.
There is now a feature coming up: jBake, the static site generator used by docToolchain is already able to render markdown.
But there is now also a PoC which shows that it can also render restructuredText with a little help of a small python script:
http://doctoolchain.org/multi-markup-demo/demo/asciidoc.html
PS: I am the maintainer of docToolchain, so my answer might be biased

Best way to communicate to Catia via Browser

I have a question and was hoping that you could maybe help me out. I currently built an API to communicate between Catia (CAD-Application) and my browser so I can create parts/products read and write parameters etc.
One of my problems is that the only way I know to do this is via ActiveX which I really don't wanna do as it forces everyone to use IE11. Since CatiaV5 is a pretty old Software there won't be any elegant way to use it via some sort of Restful api or similar.
Since I've been working with JavaScript for a while now, did apps for phones but have no idea about browser extensions my question was this. Is it possible to write a Chrome Extension that actually uses com dlls and enables me to set up a connection to a piece of software (in this case Catia) and work with it.
NPAPI plug-ins could be the solution for my problem as it looks from the information I found but it's also supposed to also being phased out.
Do you think it's still worth looking into deeper and studying on writing such an NPAPI app or is there maybe a more elegant way you can think of?
Would be happy for some ideas and suggestions. Thanks in advance and
Greetings Chris
In modern browsers the only way to do this would be using native messaging:
Chrome
Firefox
Edge
FireBreath2 has an abstraction for building c++ plugins which supports native messaging, though the docs are still a little sparse.
Zetakey browser support NPAPI.
We provide HTML5 browser embedded system for industrial and enterprise application.
Www.zetakey.com
Best regards,
Jack Wong

How does the Jedi API help in using the Windows API?

I have an idea of what the Jvcl is..it's a set of components and you install them, but what I'm really interested in is the Jedi win32 API conversion stuff. I'm unsure what to do with them or how to use them.
You don't install them do you? Say, for instance, I want to use the API SendInput or similar; how do I find how to use it within Jedi API? Is that what Jedi API is even for?
I've looked all over their site and searched for tutorials with no luck. I even downloaded all the help files I could find but I'm still lost.
The JEDI API is made up of a number of header translations of the Windows API. The Delphi RTL has a good portion of the Windows API translated. This is implemented in a number of units, the main one being the Windows unit.
However, the Delphi header translations are incomplete. What's more each new version of Windows comes with a swathe of new APIs. Embarcadero catches up slowly and in some cases chooses not to translate.
The JEDI API project attempts to be a more complete set of header translations. It is still incomplete, but it has more coverage than the units shipped with Delphi. It is particularly useful if you are using an older version of Delphi where the supplied header translations are very out of date.

Evernote API in Unity3D

Since I haven't got any response on the Unity3d or Evernote forums, I'll try it here.
The last year I have worked a lot with Unity3D, mostly because the good integration with the Vuforia Augmented Reality library and the fact that publishing for multiple platforms is a piece of cake.
Now I want to show notes in an AR setting and am looking at the Evernote API for this. I couldn't find anything about using this with Unity, I can see why this is not the most common combination.
My question is: do you think I can access the Evernote API through Unity? If so, how should I do this? Or is it for this purpose perhaps wiser to make (parts of) the application with Eclipse/xCode?
Hope to hear from you!
Link to Evernote API: http://dev.evernote.com/doc/
The Evernote API has a C# SDK which you should be able to call through Unity. In terms of how to do it, you will probably need to download the SDK and follow the instructions yourself. Their github seems like a good starting point.
One thing to note is that Unity's .Net library for mobile clients are quite limited and with webplayer you will need to deal with sandbox security issues. But start with the standalone build first and see how you go

cmakeable version of protocol buffers

StackOverflow community!
I want to embed protocol buffers into some project that supports cmake.
As I undrestood, google doesn't provide this
Any suggestions? Who tried to create cmakeable protocol buffers library?
Are there lots of not cross-platform places at the source or there is no at all.
Where can I take it if it exists?
What else cmakeable is there instead of protocol buffers?
Pls, don't ask me why I don't install protocol buffers, and just use compiled libraries,
I need to embed it inside the project.
If it is really bad idea, then, please, explain why.
I created a set of CMakeLists.txt for protobufs for embedding into our build systems, and offered to contribute these to protobufs, but the people at Google weren't interested.
If you'd like, I can provide them "as-is". They work for 2.2.0, but you will probably have to do some hacking on your own to tweak them for your specific build system.