Skip to main content
Pre-release

This release is a pre-release and may not be stable for production use.

LiteyukiBot v7 Commands

liteyukibot-v7-commands provides the versioned liteyukibot.commands@1 service and a protocol-neutral EventBus command router.

The parser recognizes configurable non-empty prefixes, command names, aliases, and explicit argument/option schemas. Hierarchical subcommand routing remains a separate alpha step.

[plugins]
enabled = ["liteyukibot.permissions", "liteyukibot.commands"]

[plugins.config."liteyukibot.commands"]
prefixes = ["/"]

Consumers register CommandSpec and a synchronous or asynchronous handler. The handler receives CommandInvocation, including the normalized command and unparsed argument text, and returns the kernel's HandlerResult.

from liteyukibot_commands import (
    ArgumentSpec,
    CommandSchema,
    CommandSpec,
    OptionSpec,
    integer_value,
)

spec = CommandSpec(
    "echo",
    schema=CommandSchema(
        arguments=(ArgumentSpec("text"),),
        options=(OptionSpec("times", aliases=("n",), converter=integer_value, default=1),),
    ),
)

def echo(invocation):
    parsed = invocation.parse()
    return invocation.reply(str(parsed.arguments["text"]) * int(parsed.options["times"]))

Quoting, escaping, --name value, --name=value, short aliases, flags, repeatable options, --, and conversion failures have platform-independent semantics. Parsing errors expose stable codes through CommandParseError.

Metadata

Release files for liteyukibot-v7-commands 0.2.0a2

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

Source distribution (sdist)

Source distribution for liteyukibot-v7-commands 0.2.0a2
File Size Uploaded Provenance Actions
liteyukibot_v7_commands-0.2.0a2.tar.gz 9.7 kB Without provenance Details for liteyukibot_v7_commands-0.2.0a2.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for liteyukibot-v7-commands 0.2.0a2
File Interpreter ABI Platform Actions
liteyukibot_v7_commands-0.2.0a2-py3-none-any.whl Python 3 none any Details for liteyukibot_v7_commands-0.2.0a2-py3-none-any.whl

Total release size: 23.9 kB

Release files / liteyukibot_v7_commands-0.2.0a2.tar.gz

Download URL liteyukibot_v7_commands-0.2.0a2.tar.gz
Size 9.7 kB
Tags Source
SHA-256 checksum
How to use checksums
732ee156db2011b4de64851c154f5177d113d31052e3fe8f86ba82b89cad485c
BLAKE2b-256 checksum
How to use checksums
6bce3091a54a587612cb78b2bbb0598caf436dbf4105c6a2042e30733f1058bb
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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}

Release files / liteyukibot_v7_commands-0.2.0a2-py3-none-any.whl

Download URL liteyukibot_v7_commands-0.2.0a2-py3-none-any.whl
Size 14.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
4606cf25711ac8d6cdc6064e1c1bb04b859d7d46ac38d34528f81fd1c525cbb6
BLAKE2b-256 checksum
How to use checksums
5e34d7d77463c3def966d7e33734e92d4d97ef2840f421100b31ddecace434a8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via uv/0.11.16 {"installer":{"name":"uv","version":"0.11.16","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}

Security for liteyukibot-v7-commands 0.2.0a2

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