Skip to content

Duroktar/Kuai

Repository files navigation

Kuài

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

https://img.shields.io/travis/Duroktar/Kuai.svg?label=TravisCI https://img.shields.io/circleci/project/github/RedSparr0w/node-csgo-parser.svg?label=CircleCI https://api.codacy.com/project/badge/Grade/7f5e7013a7a34c09bbdae2efc78cdfb6

Simple & fast event library.

Install

$ pip install Kuai --user

Develop

$ clone https://github.com/Duroktar/Kuai.git
$ cd Kuai
$ pip install -e .

Kuai 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')

It’s as easy as

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

License

MIT

Contributors

Thank you to anyone who has helped contribute to Kuai in one form or another. If you submit any PR's don't forget to add your name to the list!

xmonader - PR #2 Cleaned up handler definition

Author

Scott Doucet / Duroktar / traBpUkciP

About

Simple & fast event library. MIT licensed

Resources

License

Contributing

Stars

Watchers

Forks

Packages

 
 
 

Contributors