Metadata-Version: 1.0
Name: CorePost
Version: 0.0.5
Summary: A Twisted Web REST micro-framework
Home-page: https://github.com/jacek99/corepost
Author: Jacek Furmankiewicz
Author-email: jacek99@gmail.com
License: BSD
Description: 
        Twisted REST micro-framework
        ================================
        
        Based on *Flask* API, with integrated multiprocessing support for full usage of all CPUs. 
        Provides a more Flask/Sinatra-style API on top of the core *twisted.web* APIs.
        Integrates FormEncode for path, form and query argument validation.
        
        The simplest possible twisted.web CorePost REST application:
        
        ::
        
            from corepost.web import CorePost
            from corepost.enums import Http
            
            app = CorePost()
            
            @app.route("/",Http.GET)
            def root(request,**kwargs):
                return request.path
            
            @app.route("/test",Http.GET)
            def test(request,**kwargs):
                return request.path
            
            @app.route("/test/<int:numericid>",Http.GET)
            def test_get_resources(request,numericid,**kwargs):
                return "%s" % numericid
            
            if __name__ == '__main__':
                app.run()
        
        Links
        `````
        
        * `Website <http://github.com/jacek99/corepost>`_
        * `Twisted <http://twistedmatrix.com>`_
        * `FormEncode <http://www.formencode.org/>`_
        
        Changelog
        `````````
        
        * 0.0.5 - added FormEncode validation for arguments
        * 0.0.4 - path argument extraction, mandatory argument error checking
        
        
Keywords: twisted rest flask sinatra get post put delete web
Platform: UNKNOWN
Classifier: Development Status :: 3 - Alpha
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
