We have developed a small Python library that implements the main functions of the JSON-RPC API.
You can check it out here:
Alternatively you can use the standard library of Python to access a Nuxeo repository using the Content Automation API. Here is a worked example with screen cast that demonstrate how to deploy a custom server side operation developed in Java using the Nuxeo IDE and a client python script that calls it: http://dev.blogs.nuxeo.com/2012/01/exploring-nuxeo-apis-content-automation.html
Here is the same example as the cURL example, this time using Python:
Here's a slightly more involved example, that illustrates:
- how to use a
HTTPCookieProcessorfor keeping session state - use of the
inputparameter - a few different document-related commands (
Document.Query,Document.Create,Document.Delete)