Skip to main content

KChat 💬

AI chatbot CLI toolkit — Chatea con IA desde la terminal, con modo demo offline y proveedores reales (OpenAI-compatible).

By @javifriasj · mismo autor que KScan y KLogLib


Instalación

pip install kchat

Uso rápido (modo demo)

Sin API key, KChat responde con un proveedor mock ideal para probar el CLI y la demo del portfolio:

kchat ask "Hola, ¿qué puedes hacer?"
kchat models
kchat config show

Comandos

kchat ask — Pregunta en una sola línea

kchat ask "Explica qué es asyncio en Python"

kchat ask "Resume este error" --provider openai --model gpt-4o-mini

kchat chat — Conversación interactiva

kchat chat
# escribe mensajes; `exit` o Ctrl+C para salir

kchat models — Modelos disponibles

kchat models

kchat config show — Variables de entorno

kchat config show

Proveedor real (OpenAI-compatible)

export KCHAT_PROVIDER=openai
export KCHAT_API_KEY=sk-...
export KCHAT_MODEL=gpt-4o-mini
# opcional: export KCHAT_BASE_URL=https://api.openai.com/v1

kchat ask "¿Cómo estructuro un paquete Python?"

Desarrollo local

git clone https://github.com/javifriasj/kchat
cd kchat
pip install -e ".[dev]"
pytest

Licencia

MIT © Javier Frías Jiménez

Metadata

Release files for kchat 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 kchat 0.1.0
File Size Uploaded Provenance Actions
kchat-0.1.0.tar.gz 8.8 kB Without provenance Details for kchat-0.1.0.tar.gz

Built distribution (wheel)

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

Total release size: 18.8 kB

Release files / kchat-0.1.0.tar.gz

Download URL kchat-0.1.0.tar.gz
Size 8.8 kB
Tags Source
SHA-256 checksum
How to use checksums
c58b2b222812f058c7be33705720cf914b574b830ecb15946404f5598a227bdc
BLAKE2b-256 checksum
How to use checksums
62a81f47529bd48ede33cb964ccbde64d6388e1370de7d0284c7dda10699f364
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

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

Download URL kchat-0.1.0-py3-none-any.whl
Size 10.1 kB
Tags Python 3
SHA-256 checksum
How to use checksums
f8e1151aec21454b52e886f4a65bc778404291076cb69c2b4faba60f9e1fea51
BLAKE2b-256 checksum
How to use checksums
7310aef385f80950322564a44cffada8b810b396b2c02ca2a7e179e50b5313fd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.11.5

Security for kchat 0.1.0

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.

Release history Release notifications | RSS feed

This release

0.1.0 This release

2 release files No provenance

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