Skip to main content

kuro.py

Async API wrapper for KuroBBS and Waves game written in Python

Usage

Basic usage example:

import asyncio
import kuro

async def main() -> None:
    client = kuro.Client()
    login_result = await client.game_login("email@example.com", "password")
    print(login_result)

asyncio.run(main())

See tests for more examples.

Setting up the development environment

# Clone the repo
git clone https://github.com/Wuthery/kuro.py
cd kuro.py

# Install the dependencies
uv sync

# Install pre-commit
pre-commit install

Running tests

  1. Create a .env file in the root directory of the project and add your test account credentials:
    TEST_EMAIL=""
    TEST_PASSWORD=""
    
  2. Run the tests using pytest:
    pytest
    

Metadata

Release files for kuro.py 0.8.0

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

Source distribution (sdist)

Source distribution for kuro.py 0.8.0
File Size Uploaded
kuro_py-0.8.0.tar.gz 31.0 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for kuro.py 0.8.0
File Interpreter ABI Platform
kuro_py-0.8.0-py3-none-any.whl Python 3 none any Details

Total release size: 72.2 kB

Release files / kuro_py-0.8.0.tar.gz

Download URL kuro_py-0.8.0.tar.gz
Size 31.0 kB
Tags Source
SHA-256 checksum
How to use checksums
b99b5d6cbb519576204d671deae281d139c0dc6c64990fe8584daa90dc74359c
BLAKE2b-256 checksum
How to use checksums
54fbd9c4fa0529142eabd9268d3c564190dcff97b15f27795666cde4824572f0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1018-azure

Release files / kuro_py-0.8.0-py3-none-any.whl

Download URL kuro_py-0.8.0-py3-none-any.whl
Size 41.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b09f88bedca73b0e5f107029adb3fe991a6fc37164989a06048e842035b2ae3f
BLAKE2b-256 checksum
How to use checksums
910eaba3b085daef416beaef7231fb44c594ac242a13f816ebb415b8f37c1939
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/2.4.1 CPython/3.10.20 Linux/6.17.0-1018-azure

Release history Release notifications | RSS feed

This release

0.8.0 This release

2 release files

0.7.1

2 release files

0.7.0

2 release files

0.6.1

2 release files

0.6.0

2 release files

0.5.0

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.0

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.0

2 release files

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