Asynchronous Server Application Boilerplate’s documentation!¶
Asynchronous Server App Boilerplate (or ASAB for short) minimizes the amount of code that one needs to write when building a server application in Python 3.5+. ASAB can also be seen as the extension to asyncio that provides a (more or less) complete application framework.
ASAB is developed on GitHub. Contributions are welcome!
ASAB is designed to be simple¶
import asab
class MyApplication(asab.Application):
async def main(self):
print("Hello world!")
self.stop()
if __name__ == "__main__":
app = MyApplication()
app.run()