from micropie import App class MyApp(App): async def index(self, name="world"): return f"Hello {name}!" app = MyApp()
$ pip install micropie
View source, examples and documentation on GitHub