Skip to content

hivesolutions/appier

Folders and files

NameName
Last commit message
Last commit date

Latest commit

7c73d78 · Feb 18, 2025
Dec 14, 2024
Jul 15, 2013
Nov 23, 2020
Jan 2, 2024
Jan 2, 2024
Jun 27, 2016
Feb 18, 2025
Apr 22, 2024
Jul 15, 2013
Nov 12, 2019
Feb 18, 2025
Oct 23, 2014
Feb 2, 2015
Aug 6, 2024
Feb 2, 2015
Apr 5, 2021
Mar 15, 2017
Jan 26, 2025
Apr 22, 2024
Apr 5, 2021
Jun 28, 2021
Jan 23, 2019
Feb 18, 2025

Repository files navigation

Appier Framework

Joyful Python Web App development

Appier is an object-oriented Python web framework built for super-fast app development. It's as lightweight as possible, but not too lightweight. It gives you the power of bigger frameworks, without their complexity.

Your first app can be just a few lines long:

import appier

class HelloApp(appier.App):

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

HelloApp().serve()

The same app using the async/await syntax (Python 3.5+) for async execution reads pretty much the same:

import appier

class HelloApp(appier.App):

    @appier.route("/", "GET")
    async def hello(self):
        await self.send("Hello World")

HelloApp().serve()

Running it is just as simple:

pip install appier
python hello.py

For the async version an ASGI compliant server should be used (eg: Uvicorn):

SERVER=uvicorn python hello.py

Your "Hello World" app is now running at http://localhost:8080.

It features the following:

  • Object-oriented
  • WSGI (Web Server Gateway Interface) compliant
  • ASGI (Asynchronous Server Gateway Interface) ready
  • Modular, using dynamically loaded parts
  • Python 3 compatible
  • RESTful request dispatching
  • Asynchronous request handling support
  • Templating, using Jinja2
  • Data model layer, currently supports MongoDB and TinyDB
  • Automatic JSON response encoding for fast API development
  • Automatic admin interface, using Appier Extras
  • Internationalization (i18n) support
  • Flexible project configuration
  • Out-of-the-box support for multiple WSGI and ASGI servers: Netius, Uvicorn, Hypercorn, Daphne, etc.

For the purposes of rapid web development, Appier goes well with Netius (web-server) and UXF (client-side graphical library) as a whole stack.

Learn more

Basic

Advanced

  • Events - how to send information across the app
  • Logging - how to log your app's activity
  • Email - how to send emails

License

Appier is currently licensed under the Apache License, Version 2.0.

Build Automation

Build Status PyPi Status License