Metadata-Version: 1.0
Name: OERPLib
Version: 0.5.0
Summary: OpenERP client library which allows to easily interact with an OpenERP server.
Home-page: http://packages.python.org/OERPLib/
Author: ABF Osiell - Sebastien Alix
Author-email: sebastien.alix@osiell.com
License: LGPL v3
Download-URL: http://pypi.python.org/packages/source/O/OERPLib/OERPLib-0.5.0.tar.gz
Description: 
        =======
        OERPLib
        =======
        
        `OERPLib` is a client library to `OpenERP` server. It aims to provide an easy
        way to remotely pilot an `OpenERP` server.
        
        Features supported:
            - XML-RPC and Net-RPC protocols
            - access to all methods proposed by an OSV class (even ``browse``) with an
              API similar to that can be found in OpenERP server,
            - browse records,
            - execute workflows,
            - manage databases,
            - reports downloading.
        
        How does it work? See below::
        
            import oerplib
        
            # Prepare the connection to the OpenERP server
            oerp = oerplib.OERP('localhost', protocol='netrpc', port=8070)
        
            # Check available databases
            print(oerp.db.list())
        
            # Login (the object returned is a browsable record)
            user = oerp.login('user', 'passwd', 'db_name')
            print(user.name)            # name of the user connected
            print(user.company_id.name) # the name of its company
        
            # Simple 'raw' query
            user_data = oerp.execute('res.users', 'read', user.id)
            print(user_data)
        
            # Use all methods of an OSV class
            order_obj = oerp.get('sale.order')
            order_ids = order_obj.search([])
            for order in order_obj.browse(order_ids):
                print(order.name)
                products = [line.product_id.name for line in order.order_line]
                print(products)
        
            # Update data through a browsable record
            user.name = "Brian Jones"
            oerp.write_record(user)
        
        See the documentation for more details.
        
        Supported OpenERP versions
        --------------------------
        
        `OERPLib` is known to work with `OpenERP` server v5 and v6.
        
        Supported Python versions
        -------------------------
        
        `OERPLib` support Python versions 2.6 and 2.7.
        
        Generate the documentation
        --------------------------
        
        To generate the documentation, you have to install `Sphinx` documentation
        generator::
        
            easy_install -U sphinx
        
        Then, you can use the ``build_doc`` option of the ``setup.py``::
        
            python setup.py build_doc
        
        The generated documentation will be in the ``./doc/build/html`` directory.
        
        Bugs or suggestions
        -------------------
        
        Please, feel free to report bugs or suggestions in the `Bug Tracker
        <https://bugs.launchpad.net/oerplib/+filebug>`_!
        
        Changes in this version
        -----------------------
        
        Consult the ``CHANGES.txt`` file.
        
        
Keywords: openerp client xml-rpc xml_rpc xmlrpc net-rpc net_rpc netrpc oerplib communication lib library python service web webservice
Platform: UNKNOWN
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: License :: OSI Approved :: GNU Library or Lesser General Public License (LGPL)
Classifier: Topic :: Software Development :: Libraries :: Python Modules
