A Python web framework built for super fast app development
appier
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