Kuài

/Ku·ài/

/Ku·ài/ Fast, swift, swiftness, sharp, to be satisfied, quick, rapid, rapidness, to hurry up..

https://img.shields.io/pypi/v/kuai.svg https://img.shields.io/travis/Duroktar/kuai.svg Documentation Status Updates

Simple & fast event library.

Kuài is Fast

Save in a hello.py:

from kuai import Kuai

def hello(world):
    print(f"Hello, {world}!")

Kuai.on('hello-world', hello)
Kuai.emit('hello-world', 'Kuài')

Kuài is Easy

$ pip install Kuai
$ python hello.py
Hello, Kuài!

Kuài is Cool

from kuai import Kuài

Kuài.emit('~%& Kuài &%~')

License

MIT

Author

Scott Doucet / Duroktar / traBpUkciP

Credits

pluginbase - For backend plugins

Cookicutter - For package layout