Skip to main content

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

https://img.shields.io/pypi/v/kuai.svg https://travis-ci.org/Duroktar/Kuai.svg?branch=master

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.

Metadata

Release files for Kuai 0.1.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Kuai 0.1.3
File Size Uploaded Provenance
Kuai-0.1.3.tar.gz 16.7 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for Kuai 0.1.3
File Interpreter ABI Platform
Kuai-0.1.3-py2.py3-none-any.whl Python 3, Python 2 none any Details

Total release size: 26.0 kB

Release files / Kuai-0.1.3.tar.gz

Download URL Kuai-0.1.3.tar.gz
Size 16.7 kB
Tags Source
SHA-256 checksum
How to use checksums
69a7c206deae6b48484c119939f7b6ee46eb5379fc9ace6f2433d6c9b864722e
BLAKE2b-256 checksum
How to use checksums
ab15e1db3dc9d00393dfefe2bc3b48bddd0a173e374a6afda8634d29bb1b464a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / Kuai-0.1.3-py2.py3-none-any.whl

Download URL Kuai-0.1.3-py2.py3-none-any.whl
Size 9.3 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
cb5c1b90ba05fba11027e708c491d80e5eb5049d889cffc3c7d3f805855720f7
BLAKE2b-256 checksum
How to use checksums
a303a94074cac4132b1c5687812606038005d3497f548ef518158f2f84c23997
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Kuai 0.1.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page