The library for management events
Project description
tapp
Asyncio library for creating applications for handling events from the user.
Documentation:
Quick start
Install:
pip install tapp
Example:
# !/usr/bin/python
# content examples/some.py
import asyncio
from tapp import TApp
app = TApp()
@app.route(method="method")
async def method_handler(message: str, version: str) -> None:
print(message, version)
async def main() -> None:
await app("method", "message", version="version")
if __name__ == "__main__":
asyncio.run(main())
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tapp-1.2.tar.gz
(10.4 kB
view hashes)
Built Distribution
tapp-1.2-py3-none-any.whl
(15.7 kB
view hashes)