Skip to main content

a simple python web framework

Project description


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.


Install and update using pip:

pip install -U aureus

A Simple Example

from aureus import AUREUS

app = AUREUS()

@app.route('/', methods=['GET'])
def hello():
    return '<h1>Hello Aureus!</h1>'
$ python3
 * Running on (Press CTRL+C to quit)

A MVC pattern Example

from aureus import AUREUS
from aureus.view import View, Controller

class BaseView(View):

    methods = ['GET, POST']

    def post(self, request, *args, **options):

    def get(self, request, *args, **options):

    def dispatch_request(self, request, *args, **options):

        methods_meta = {
            'GET': self.get,

        if request.method in methods_meta:
            return methods_meta[request.method](request, *args, **options)
            return '<h1>Unknown or unsupported require method</h1>'

class Hello(BaseView):
    def get(self, request):
        return '<h1>Hello, Aureus!</h1>'

app = AUREUS()

aureus_url_map = [
        'url': '/',
        'view': Hello,
        'endpoint': 'hello'

hello_controller = Controller('hello', aureus_url_map)
$ python3
 * Running on (Press CTRL+C to quit)


Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for aureus, version 0.0.3
Filename, size File type Python version Upload date Hashes
Filename, size aureus-0.0.3-py3-none-any.whl (14.8 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size aureus-0.0.3.tar.gz (11.7 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page