Padwan CLI
Interactive CLI/TUI for padwan-llm.
Quick start
export OPENAI_API_KEY=...
uvx padwan-cli
# then /help for commands
Install
pip install padwan-cli
Local Development
uv sync --group dev
uv run padwan-cli
One-shot Mode
uvx padwan-cli "Hello" -m gpt-4o-mini
# attach files (images/audio/text, routed by type)
uvx padwan-cli "What's in this recording?" -m gpt-4o-audio-preview -f clip.mp3
Voice Mode
Real-time speech-to-speech chat (needs the PortAudio system lib, e.g. libportaudio2):
uvx --from "padwan-cli[voice]" padwan-talk
Tracing
Pass --trace <backend> (on the one-shot, chat send, and talk commands) to instrument all LLM calls with padwan-llm's OTel GenAI telemetry:
# Langfuse, using the standard LANGFUSE_* env vars
export LANGFUSE_PUBLIC_KEY=... LANGFUSE_SECRET_KEY=... LANGFUSE_BASE_URL=...
uvx --from "padwan-cli[langfuse]" padwan-cli "Hello" --trace langfuse
# any OTLP collector, using the standard OTEL_EXPORTER_OTLP_* env vars
OTEL_EXPORTER_OTLP_ENDPOINT=http://localhost:4318 \
uvx --from "padwan-cli[otel]" padwan-cli "Hello" --trace otlp
Metadata
Release files for padwan-cli 0.6.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 | |
|---|---|---|---|
| padwan_cli-0.6.0.tar.gz | 21.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| padwan_cli-0.6.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 47.1 kB
Release files / padwan_cli-0.6.0.tar.gz
| Download URL | padwan_cli-0.6.0.tar.gz |
|---|---|
| Size | 21.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
10739c3ad67cec3fc9de8c4bfaec58dd7f68226be9efdd5d69b33c65fea9cb08
|
|
BLAKE2b-256 checksum How to use checksums |
9458480e0497b37aa6f7971c75be144a5f8671f471d9c48c263d978ad3bd6e75
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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 / padwan_cli-0.6.0-py3-none-any.whl
| Download URL | padwan_cli-0.6.0-py3-none-any.whl |
|---|---|
| Size | 26.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
f1ef29a41a95ba5b8b35d4b872d43cc2a7cd0474bd87f302e2c3de9f1372560f
|
|
BLAKE2b-256 checksum How to use checksums |
4de2b5071da88397d3ad6c4c560908f65afacbcd9558018363b2af667cc223ad
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
uv/0.12.5 {"installer":{"name":"uv","version":"0.12.5","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}
|