Appier Framework

1.45.2 · active · verified Tue Apr 14

Appier is an object-oriented Python web framework designed for rapid application development. It focuses on being lightweight while providing capabilities comparable to larger frameworks. It is WSGI compliant and ASGI ready, supports templating with Jinja2, offers data model layers for databases like MongoDB and TinyDB, includes automatic JSON response encoding, and features an auto-generated admin interface via `appier-extras`. The current version is 1.45.2, with active development on its GitHub repository.

Warnings

Install

Imports

Quickstart

This minimal example creates a simple Appier application that responds with 'Hello World' on the root path. To run it, save as `app.py` and execute `python app.py`. For asynchronous routes (using `async def`), Python 3.5+ and an ASGI server like Uvicorn (`SERVER=uvicorn python app.py`) are required.

import appier

class HelloApp(appier.App):
    @appier.route("/", "GET")
    def hello(self):
        return "Hello World"

if __name__ == "__main__":
    HelloApp().serve()

view raw JSON →