Metadata-Version: 1.1
Name: gerritrest
Version: 0.1.2
Summary: Access to Gerrit 2.6+ REST APIs
Home-page: UNKNOWN
Author: Alexander Kanevskiy
Author-email: alexander.kanevskiy@intel.com
License: GPLv2
Description: ==========
        GerritREST
        ==========
        
        GerritREST is a simple library to manipulate with Gerrit objects via REST API.
        
        Quick start
        -----------
        
        1. Define URL of your server
        
            gerrit_url = "https://mygerrit.example.com/gerrit/"
        
        2. Get credentials from ~/.netrc for that URL
        
            import netrc
            user, _, pass = netrc.netrc().hosts[urlparse.urlparse(gerrit_url).netloc]
        
        3. Create GerritREST instance with those parameters
        
            from gerritrest import GerritREST
            gerrit=GerritREST(gerrit_url, user, pass)
        
        4. Get list of projects with descriptions and parent information from Gerrit
        
            projects = gerrit.get_projects(description=True, parents=True)
        
        5. Use obtained information for something useful :)
        
Keywords: python gerrit REST api
Platform: Python 2.6 and later.
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU General Public License v2 (GPLv2)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.6
Classifier: Programming Language :: Python :: 2.7
Classifier: Topic :: Internet :: WWW/HTTP
Classifier: Topic :: Software Development :: Libraries :: Python Modules
