Skip to main content

chenki

Tests Coverage Python License

Self-hostable LLM client for restaurant tech. A thin Python library that talks to any OpenAI-compatible /v1/chat/completions endpoint, with restaurant-domain helpers (menu Q&A, dish classification, order parsing) built on top.

By default it points at brianchenhao-chenki-llm.hf.space — a free Hugging Face Space running Qwen 2.5 1.5B Instruct (Q4_K_M) behind llama.cpp. Self-hosters can deploy their own Space using the included server/Dockerfile.

Status

chenki is under active development. v0.0.1 reserves the PyPI name; v0.1.0 is the first functional release.

Install

pip install chenki

Quickstart

from chenki import ChenkiClient, Message

client = ChenkiClient()  # defaults to https://brianchenhao-chenki-llm.hf.space/v1
reply = client.chat([Message(role="user", content="Hello!")])
print(reply.text)

Website

chenki.com (coming soon)

License

MIT

Metadata

Release files for chenki 0.1.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 chenki 0.1.0
File Size Uploaded
chenki-0.1.0.tar.gz 16.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for chenki 0.1.0
File Interpreter ABI Platform
chenki-0.1.0-py3-none-any.whl Python 3 none any Details

Total release size: 29.3 kB

Release files / chenki-0.1.0.tar.gz

Download URL chenki-0.1.0.tar.gz
Size 16.2 kB
Tags Source
SHA-256 checksum
How to use checksums
cc05ba580c7713e2d59e2c87b7917f6ca2b0c519f8dbde952bea9b2160c9a464
BLAKE2b-256 checksum
How to use checksums
3b3f6e2786b6706b0cc21d4d10c4b68ce4fcbe84bd59adc69f95dd526118df0c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 19, 2026.

Transparency log

Release files / chenki-0.1.0-py3-none-any.whl

Download URL chenki-0.1.0-py3-none-any.whl
Size 13.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b720bfb5e8853b2cf3880480d2b5a1b8714a5621f138f8fa6f23355d821c1ded
BLAKE2b-256 checksum
How to use checksums
b3045245d9c214fdd476f947d6a33a72a451679284e06a7b88bfcb1217f83f8d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
Yes
Uploaded via twine/6.1.0 CPython/3.13.12

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.

PyPI Publish Attestation

PyPI verified that this artifact, at this checksum, originated from the publisher listed below.

Signed by GitHub Actions, verified by PyPI on May 19, 2026.

Transparency log

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files

0.0.1

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