The OERPLib module defines the OERP class.
The OERP class manage the client-side operations which are related to an OpenERP server. You can use this one to write Python programs that performs a variety of automated jobs that communicate with an OpenERP server.
Here’s a sample session using this module:
>>> import oerplib
>>> oerp = oerplib.OERP('localhost') # connect to localhost, default port
>>> user = oerp.login('admin', 'admin', 'my_database') # login returns an user object
>>> user.name
'Administrator'