Skip to main content

python api + gateway client for kaj.gg

Project description

kajgg python client

install

uv add kajgg-chatlib

quickstart

import asyncio

from kajgg import listen, EventType, run
from kajgg.events import MessageCreated


@listen(EventType.MESSAGE_CREATED)
async def on_message_created(ctx: MessageCreated):
    await ctx.send("a response in the same channel")


asyncio.run(run("username", "password"))

Project details


Download files

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

Source Distribution

kajgg_chatlib-0.1.0.tar.gz (11.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kajgg_chatlib-0.1.0-py3-none-any.whl (49.1 kB view details)

Uploaded Python 3

File details

Details for the file kajgg_chatlib-0.1.0.tar.gz.

File metadata

  • Download URL: kajgg_chatlib-0.1.0.tar.gz
  • Upload date:
  • Size: 11.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kajgg_chatlib-0.1.0.tar.gz
Algorithm Hash digest
SHA256 2e160346ad9cb1369264cf8e88014c9bc5e2ba6f19d95ce8981570dfbb1cd095
MD5 1717b53454b4f49ac15bf4555210f28c
BLAKE2b-256 4b985a391516606389648e0c6895c5e5b5feee7d18897397ee4b8fb85680b73b

See more details on using hashes here.

File details

Details for the file kajgg_chatlib-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: kajgg_chatlib-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 49.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.9.18 {"installer":{"name":"uv","version":"0.9.18","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}

File hashes

Hashes for kajgg_chatlib-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 33296ff20f5c625b7992852e65efc1d02545cb2dd7cc4511fc4df7466ebd4efd
MD5 007979df5069b2281f53c099bd0d706e
BLAKE2b-256 98af9e69b2385fc14632bfb91a2b4e4bc052beec96e2ec0a067dd1876235c774

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page