Metadata-Version: 2.4
Name: tktop-tui
Version: 0.3.0
Summary: Live htop-style TUI dashboard for AI token consumption across coding agents (OpenCode, Claude Code, Codex, generic JSONL). Python wrapper that launches the tktop TUI via Bun.
Author: AlexKay28
License: MIT License
        
        Copyright (c) 2026 AlexKay28
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Project-URL: Homepage, https://github.com/AlexKay28/tktop
Project-URL: Repository, https://github.com/AlexKay28/tktop
Keywords: cli,tui,ai,llm,tokens,monitoring,htop
Classifier: Environment :: Console
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Requires-Python: >=3.10
Description-Content-Type: text/markdown
License-File: LICENSE
Dynamic: license-file

# tktop-tui

Python launcher for **tktop** — the live htop-style TUI dashboard for AI token
consumption across coding agents (OpenCode, Claude Code, Codex, generic JSONL).

```
pip install tktop-tui
tktop
```

The wheel bundles the TypeScript TUI. On first run it stages the app into
`~/.local/share/tktop/<version>/`, runs `bun install` there (so read-only
site-packages are never touched), and execs the TUI under
[Bun](https://bun.sh) — install it first if you don't have it:

```
curl -fsSL https://bun.sh/install | bash
```

Requirements:

- Python ≥ 3.10
- Bun ≥ 1.1 (for the TUI runtime)
- network on the very first launch only (to fetch `@opentui/core`)

Features: per-session token/burn-rate table with mouse-clickable column
sorting, live log-scale scatterplot (colored markers + trails), grouping,
filtering, sparklines — all read-only, tktop never touches your harnesses.

GitHub: <https://github.com/AlexKay28/tktop>
