Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Incredible, thank you for making this!

Can this be installed with uv? https://github.com/astral-sh/uv

Edit:

  # Install uv
  curl -LsSf https://astral.sh/uv/install.sh | sh

  # Install the required CLI tool (Node.js)
  npm install -g ccusage

  # Clone and setup
  git clone https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor.git
  cd Claude-Code-Usage-Monitor

  # Install Python deps with uv
  uv add pytz
  chmod +x ccusage_monitor.py

  # Run it
  uv run python ccusage_monitor.py --plan max20 --timezone America/New_York


If the repo was structured as a package e.g. with project.toml and such there would be an even faster one-liner with pipx (https://pipx.pypa.io/latest/):

> pipx install git+https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor

> ccusage_monitor

I think there is a similar command for uv; uvx? Although, I am not sure if uvx has the same functionality / purpose as pipx.


This is appreciated but FWIW basically anything that can be installed with pip is also trivial (easier, even) to install with uv.




Consider applying for YC's Fall 2026 batch! Applications are open till July 27.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: