5 ms·
Incredible, thank you for making this! Can this be installed with uv? https://github.com/astral-sh/uv https://github.com/astral-sh/uv Edit: # Install uv
by _august 1y ago
Incredible, thank you for making this!
Can this be installed with uv? https://github.com/astral-sh/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
- throwaway314155 1y agoThis is appreciated but FWIW basically anything that can be installed with pip is also trivial (easier, even) to install with uv.
- whyho 1y agoIf 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/ https://pipx.pypa.io/latest/): > pipx install git+https://github.com/Maciek-roboblog/Claude-Code-Usage-Monitor 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.