Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

Simple & fast event library. MIT licensed

Project Description

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

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

Author

Scott Doucet / Duroktar / traBpUkciP

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

History

0.1.3 (2017-06-10)

  • Added ‘threadpool’ backend
  • Fix error message on failed set_backend

0.1.2 (2017-06-09)

  • Kuai is now being built on travis.ci

0.1.1 (2017-06-09)

  • added backend ‘signal’
  • improved docs
  • PR #2 closed

0.1.0 (2017-06-08)

  • First release on PyPI.

Release History

This version
History Node

0.1.3

History Node

0.1.2

History Node

0.1.1

History Node

0.1.0

Download Files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, Size & Hash SHA256 Hash Help File Type Python Version Upload Date
Kuai-0.1.3-py2.py3-none-any.whl
(9.3 kB) Copy SHA256 Hash SHA256
Wheel py2.py3 Jun 10, 2017
Kuai-0.1.3.tar.gz
(16.7 kB) Copy SHA256 Hash SHA256
Source None Jun 10, 2017

Supported By

Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Google Google Cloud Servers DreamHost DreamHost Log Hosting