Skip to content

Commit eaacee7

Browse files
cursor-usage-cliclaude
andcommitted
Rename distribution to cursor-usage (matches repo + command)
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
1 parent bffbd5f commit eaacee7

8 files changed

Lines changed: 13 additions & 13 deletions

File tree

LICENSE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2026 cursor-usage-cli contributors
3+
Copyright (c) 2026 cursor-usage contributors
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ gpt-5.4-high 43.65 4,069,043 1,041,967
5050
## 🚀 Quickstart
5151

5252
```bash
53-
pip install cursor-usage-cli # or: pip install . from a clone
53+
pip install cursor-usage # or: pip install . from a clone
5454
cursor-usage # summary for the current billing month
5555
```
5656

@@ -159,9 +159,9 @@ cursor-usage
159159
## 🛠️ Install options
160160

161161
```bash
162-
pip install cursor-usage-cli # from PyPI (once published)
162+
pip install cursor-usage # from PyPI (once published)
163163
pip install . # from a local clone
164-
pip install "cursor-usage-cli[keyring]" # + OS-keyring lookup on Linux/Windows
164+
pip install "cursor-usage[keyring]" # + OS-keyring lookup on Linux/Windows
165165
```
166166

167167
Requires Python 3.8+.

docs/HOW_THIS_WAS_BUILT.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# How this tool was built (a guide for the next LLM/engineer)
22

3-
This document is a reproducible recipe for rebuilding `cursor-usage-cli` from
3+
This document is a reproducible recipe for rebuilding `cursor-usage` from
44
scratch — including the dead-ends — so another agent can recreate or extend it
55
without re-deriving everything. Nothing here is secret; it's all observable by
66
probing Cursor's own endpoints with a session you already own.

docs/PUBLISHING.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ package. Replace `your-username` with your GitHub/PyPI account.
77

88
- In `pyproject.toml`: set the `Homepage`/`Issues` URLs (replace `your-username`).
99
(`authors` is intentionally generic — fill it in only if you want.)
10-
- The PyPI distribution name is `cursor-usage-cli`; the import package is
10+
- The PyPI distribution name is `cursor-usage`; the import package is
1111
`cursor_usage`; the command is `cursor-usage`. Change all three together if you
1212
rename.
1313

@@ -24,7 +24,7 @@ cursor-usage --help
2424
## 3. Create the public GitHub repo
2525

2626
```bash
27-
gh repo create your-username/cursor-usage-cli --public --source=. --remote=origin \
27+
gh repo create your-username/cursor-usage --public --source=. --remote=origin \
2828
--description "Cross-platform CLI for your Cursor (cursor.com) usage & spend" --push
2929
```
3030

@@ -40,7 +40,7 @@ twine upload dist/* # needs a PyPI API token (recommended via ~/.pyp
4040
Then anyone can:
4141

4242
```bash
43-
pip install cursor-usage-cli
43+
pip install cursor-usage
4444
cursor-usage --by-day
4545
```
4646

pyproject.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@ requires = ["setuptools>=61"]
33
build-backend = "setuptools.build_meta"
44

55
[project]
6-
name = "cursor-usage-cli"
6+
name = "cursor-usage"
77
version = "0.1.0"
88
description = "Cross-platform CLI to read your Cursor (cursor.com) usage, spend, and per-event logs."
99
readme = "README.md"
1010
license = { text = "MIT" }
1111
requires-python = ">=3.8"
12-
authors = [{ name = "cursor-usage-cli contributors" }]
12+
authors = [{ name = "cursor-usage contributors" }]
1313
keywords = ["cursor", "usage", "spend", "cli", "ai", "tokens", "llm"]
1414
classifiers = [
1515
"Development Status :: 4 - Beta",

src/cursor_usage/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
"""cursor-usage-cli: read your Cursor (cursor.com) usage, spend, and per-event logs."""
1+
"""cursor-usage: read your Cursor (cursor.com) usage, spend, and per-event logs."""
22

33
__version__ = "0.1.0"

src/cursor_usage/api.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
from . import __version__
1919

2020
BASE = "https://cursor.com"
21-
USER_AGENT = "cursor-usage-cli/%s" % __version__
21+
USER_AGENT = "cursor-usage/%s" % __version__
2222

2323

2424
class CursorAPIError(RuntimeError):

src/cursor_usage/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ def build_parser():
7070
help="events per API page when paginating (default: 1000)")
7171
p.add_argument("-v", "--verbose", action="store_true", help="log the token source")
7272
p.add_argument("-V", "--version", action="version",
73-
version="cursor-usage-cli %s" % __version__)
73+
version="cursor-usage %s" % __version__)
7474
return p
7575

7676

0 commit comments

Comments
 (0)