Kilovolt client
Python client for Kilovolt servers, supports Kilovolt Protocol v9+
Getting started
pip install kilovolt (on PyPI)
Example usage
import asyncio
import os
from kilovolt import KilovoltClient
async def connect():
kv = KilovoltClient("ws://localhost:4337/ws", os.getenv("KILOVOLT_PASSWORD"))
await kv.connect()
# Subscribe to key
await kv.subscribe("twitch/ev/message", lambda key, val: print(val))
# List all keys that begin with "twitch"
print(await kv.list("twitch"))
asyncio.run(connect())
LICENSE
Kilovolt client is licensed under ISC, see LICENSE for more details.
Metadata
Release files for kilovolt 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| kilovolt-0.2.0.tar.gz | 4.4 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| kilovolt-0.2.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 9.2 kB
Release files / kilovolt-0.2.0.tar.gz
| Download URL | kilovolt-0.2.0.tar.gz |
|---|---|
| Size | 4.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
74ec5aa7bc3bf3fa69c76214225d50ac90aa223bf64fe0cd0e2dae6ab0d73156
|
|
BLAKE2b-256 checksum How to use checksums |
428c8a724e60b3164c12a3fa665862f3baf88b0f42ce3b98482cc03d16aa261a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|
Release files / kilovolt-0.2.0-py3-none-any.whl
| Download URL | kilovolt-0.2.0-py3-none-any.whl |
|---|---|
| Size | 4.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1b5da38d2ada9ea253e83eb41c1e5bef8869cb3a00a8362cecffebc7d9a00b83
|
|
BLAKE2b-256 checksum How to use checksums |
addea64f6a2460bfac1b3a714d91497f6feff58da55c9f922bd2f07e5c882013
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.9.16
|