Metadata-Version: 2.1
Name: aureus
Version: 0.0.2
Summary: a simple python web framework
Home-page: https://github.com/YouwangDeng/aureus
Author: Youwang Deng
Author-email: dengyouwang@gmail.com
Maintainer: Youwang Deng
Maintainer-email: dengyouwang@gmail.com
License: BSD License
Description: # Aureus
        
        Aureus is a lightweight web application framework. It supports
        Model-View-Controller (MVC) architectural pattern. It is designed to
        make getting started quick and easy, with the ability to scale up to
        complex applications.
        
        ## Installing
        
        Install and update using
        [pip](https://pip.pypa.io/en/stable/quickstart/):
        
        ```bash
        pip install -U aureus
        ```
        
        ## A Simple Example
        
        ```Python
        from aureus import AUREUS
        
        app = AUREUS()
        
        @app.route('/index', methods=['GET'])
        def index():
            return 'Hello Aureus!'
        
        app.run()
        ```
        
        ```bash
        $ python3 main.py
         * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)
        ```
        
        ## A MVC pattern Example
        
        ```Python
        from aureus import AUREUS
        from aureus.view import Controller
        
        from core.base_view import BaseView
        
        
        class Index(BaseView):
            def get(self, request):
                return 'Hello, Aureus!'
        
        
        app = AUREUS()
        
        aureus_url_map = [
            {
                'url': '/index',
                'view': Index,
                'endpoint': 'index'
            },
        ]
        
        index_controller = Controller('index', aureus_url_map)
        app.load_controller(index_controller)
        
        app.run()
        ```
        
        ```bash
        $ python3 main.py
         * Running on http://127.0.0.1:8080/ (Press CTRL+C to quit)
        ```
        
        ## Links
        
        -   License:
            [BSD](https://github.com/YouwangDeng/Aureus/blob/master/LICENCE)
        -   Releases: <https://pypi.org/project/Aureus/>
        -   Code: <https://github.com/YouwangDeng/Aureus>
        -   Issue tracker: <https://github.com/YouwangDeng/Aureus/issues>
        
        
Platform: all
Classifier: Development Status :: 3 - Alpha
Classifier: Operating System :: OS Independent
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: Implementation
Classifier: Programming Language :: Python :: 2
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.4
Classifier: Programming Language :: Python :: 3.5
Classifier: Programming Language :: Python :: 3.6
Classifier: Topic :: Software Development :: Libraries
Description-Content-Type: text/markdown
