Files
shusub2/pyproject.toml
T
shujakuin 2d3d433f4f feat: show first-token latency, decode tok/s, per-key colors
- logs page adds First (first_token_ms) and Tok/s columns; Tok/s is
  output_tokens / (latency - first_token) over the decode window
- detail line shows the same rate after first-token latency
- API key names render in a stable per-key color (crc32 over a 10-color
  palette) so rows from the same key group visually; --once stays plain
- --once --logs prints the new first/tok-s columns

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-07-21 11:19:06 +08:00

30 lines
714 B
TOML

[project]
name = "shusub2"
version = "0.2.1"
description = "Terminal UI for Sub2API account quota and daily usage"
readme = "README.md"
requires-python = ">=3.11"
license = { text = "MIT" }
authors = [
{ name = "Shujakuin" },
]
keywords = ["sub2api", "quota", "tui", "textual", "openai", "anthropic"]
dependencies = [
"textual>=0.89.1",
]
[build-system]
requires = ["setuptools>=68"]
build-backend = "setuptools.build_meta"
[project.scripts]
shusub2 = "sub2api_quota_tui:main"
sub2api-quota-tui = "sub2api_quota_tui:main"
[project.urls]
Homepage = "https://gitea.shujk.top/shujakuin/shusub2"
Repository = "https://gitea.shujk.top/shujakuin/shusub2"
[tool.setuptools]
py-modules = ["sub2api_quota_tui"]