Metadata-Version: 1.1
Name: cleaREST
Version: 0.1.0
Summary: Light-weight Python framework for building REST APIs.
Home-page: https://github.com/petr-s/cleaREST
Author: Petr Skramovsky
Author-email: petr.skramovsky@gmail.com
License: MIT
Description: .. image:: https://travis-ci.org/petr-s/cleaREST.svg?branch=master
          :target: https://travis-ci.org/petr-s/cleaREST
        
        .. image:: https://coveralls.io/repos/github/petr-s/cleaREST/badge.svg?branch=master
          :target: https://coveralls.io/github/petr-s/cleaREST?branch=master
        
        ========
        cleaREST
        ========
        **Light-weight Python framework for building REST APIs**
        
        Examples:
        ---------
        **GET Hello world:** ::
        
          from wsgiref.simple_server import make_server
          from clearest import application, GET
        
        
          @GET("/")
          def hello():
              return "hello world!"
        
           httpd = make_server("", 8000, application)
           httpd.serve_forever()
        
        Output:
        
          curl localhost:8000
        
          hello world!
        
        **POST var:** ::
        
          from wsgiref.simple_server import make_server
          from clearest import application, POST
        
        
          @POST("/")
          def hello(what):
              return "hello {what}!".format(what=what)
        
        
          httpd = make_server("", 8000, application)
          httpd.serve_forever()
        
        Output:
        
          curl --data "what=world" localhost:8000
        
          hello world!
        
Keywords: rest api framework json xml
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.0
Classifier: Programming Language :: Python :: 3.1
Classifier: Programming Language :: Python :: 3.2
Classifier: Programming Language :: Python :: 3.3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Topic :: Internet :: WWW/HTTP :: WSGI
