Metadata-Version: 1.1
Name: prism_rest_client
Version: 0.2
Summary: prism_rest_client
Home-page: https://github.com/elliotpeele/prism_rest_client
Author: Elliot Peele
Author-email: elliot@bentlogic.net
License: UNKNOWN
Description: prism_rest_client README
        ==================
        
        This client library is meant for interacting with REST APIs implemented using
        the prism_rest library. It may work with other REST APIs as well, but has not
        been tested against such.
        
        Getting Started
        ---------------
        
            >>> import prism_rest_client
            >>> api = prism_rest_client.open('http://example.com/api')
            >>>
            >>> distros = dict(((x.name, x.version), x) for x in api.distros)
            >>>
            >>> distro = distros.get(('centos', 6))
            >>>
            >>> pkgs = distro.query('packages', name='bash')
            >>>
            >>> assert pkgs[0].nevra.name == 'bash'
        
Keywords: web rest client
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP
