Metadata-Version: 2.3
Name: zyplux-clipy
Version: 0.2.0
Summary: Shared Python CLI helpers for repository reports and terminal tools.
Requires-Dist: tiktoken>=0.14.0
Requires-Dist: tree-sitter-bash>=0.25.1
Requires-Dist: tree-sitter-css>=0.25.0
Requires-Dist: tree-sitter-dockerfile>=0.2.0
Requires-Dist: tree-sitter-html>=0.23.2
Requires-Dist: tree-sitter-json>=0.24.8
Requires-Dist: tree-sitter-nix>=0.1.0
Requires-Dist: tree-sitter-sql>=0.3.11
Requires-Dist: tree-sitter-toml>=0.7.0
Requires-Dist: tree-sitter-yaml>=0.7.2
Requires-Dist: tree-sitter>=0.26.0
Requires-Dist: tree-sitter-python>=0.25.0
Requires-Dist: tree-sitter-typescript>=0.23.2
Requires-Dist: zyplux-cerberus>=0.27.5
Requires-Dist: zyplux-airlock>=2.2.2
Requires-Dist: psutil>=7.2.2
Requires-Dist: rich>=15.0.0
Requires-Dist: typer>=0.28.0
Requires-Dist: websockets>=17.4
Requires-Python: >=3.14
Description-Content-Type: text/markdown

# clipy

Python CLI helpers for repository metrics and terminal tools, published as `zyplux-clipy`.

```sh
uv add --dev zyplux-clipy
uv run clipy stats [PATH] [--out FILE] [--title TITLE]
```

## Terminal tools

- `ctop` — live CPU view of VS Code process trees.
- `justpty` — runs a `just` recipe under a PTY and saves a transcript; this repo's `./just` uses it.

```sh
uv run ctop [--interval SECONDS] [--once] [--profile-exthost]
uv run justpty [JUST_ARGS...]
```

`ctop` and `justpty` also run as self-contained PEP 723 scripts.

Use `uv run clipy stats --staged` to measure the Git index, including its classification settings. Ordinary `uv run clipy stats` measures tracked working files. Lefthook regenerates and stages only `line_and_token_stats.md` before commits; generation failure aborts the commit.
