claude-code-usage 1.0.0__tar.gz → 1.0.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (21) hide show
  1. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/PKG-INFO +23 -26
  2. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/README.md +22 -25
  3. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/claude_code_usage.egg-info/PKG-INFO +23 -26
  4. claude_code_usage-1.0.1/claude_code_usage.egg-info/entry_points.txt +2 -0
  5. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/pyproject.toml +1 -4
  6. claude_code_usage-1.0.0/claude_code_usage.egg-info/entry_points.txt +0 -5
  7. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/LICENSE +0 -0
  8. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/claude_code_usage.egg-info/SOURCES.txt +0 -0
  9. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/claude_code_usage.egg-info/dependency_links.txt +0 -0
  10. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/claude_code_usage.egg-info/requires.txt +0 -0
  11. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/claude_code_usage.egg-info/top_level.txt +0 -0
  12. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/setup.cfg +0 -0
  13. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/__init__.py +0 -0
  14. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/api.py +0 -0
  15. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/autostart.py +0 -0
  16. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/config.py +0 -0
  17. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/icon_generator.py +0 -0
  18. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/main.py +0 -0
  19. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/notifier.py +0 -0
  20. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/tray.py +0 -0
  21. {claude_code_usage-1.0.0 → claude_code_usage-1.0.1}/src/utils.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-code-usage
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: System tray monitor for Claude Code token usage
5
5
  Author: Max
6
6
  License: MIT
@@ -28,6 +28,7 @@ Dynamic: license-file
28
28
 
29
29
  A Linux/GNOME system tray application that monitors your Claude Code token usage and alerts you before hitting limits.
30
30
 
31
+ [![PyPI version](https://img.shields.io/pypi/v/claude-code-usage.svg)](https://pypi.org/project/claude-code-usage/)
31
32
  ![Python](https://img.shields.io/badge/python-3.11+-blue.svg)
32
33
  ![Platform](https://img.shields.io/badge/platform-Linux%2FGNOME-lightgrey.svg)
33
34
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
@@ -73,7 +74,20 @@ Install the [AppIndicator Support](https://extensions.gnome.org/extension/615/ap
73
74
 
74
75
  ## Installation
75
76
 
76
- ### Quick Install (recommended)
77
+ ### From PyPI (recommended)
78
+
79
+ 1. Install system dependencies (see [System Dependencies](#system-dependencies) above)
80
+
81
+ 2. Install with pipx (recommended):
82
+ ```bash
83
+ pipx install claude-code-usage --system-site-packages
84
+ ```
85
+
86
+ The `--system-site-packages` flag is required to access system GTK libraries.
87
+
88
+ 3. Run: `claude-usage`
89
+
90
+ ### From Source
77
91
 
78
92
  ```bash
79
93
  git clone https://github.com/Maex-z9/CC_Usage.git
@@ -81,32 +95,15 @@ cd CC_Usage
81
95
  ./install.sh
82
96
  ```
83
97
 
84
- This installs system dependencies and the app. Then run with: `claude-usage`
85
-
86
- ### Manual Install
87
-
88
- 1. Install system dependencies:
89
- ```bash
90
- # Ubuntu/Debian
91
- sudo apt install python3-gi python3-gi-cairo gir1.2-ayatanaappindicator3-0.1 gir1.2-notify-0.7
98
+ This installs system dependencies and the app automatically.
92
99
 
93
- # Fedora
94
- sudo dnf install python3-gobject python3-cairo libayatana-appindicator-gtk3 libnotify
100
+ ### Prerequisites
95
101
 
96
- # Arch
97
- sudo pacman -S python-gobject python-cairo libayatana-appindicator libnotify
98
- ```
99
-
100
- 2. Install the app:
101
- ```bash
102
- pip install git+https://github.com/Maex-z9/CC_Usage.git
103
- ```
104
-
105
- 3. Authenticate with Claude Code (if not already done):
106
- ```bash
107
- claude
108
- # Follow the authentication flow
109
- ```
102
+ Make sure you have Claude Code CLI installed and authenticated:
103
+ ```bash
104
+ claude
105
+ # Follow the authentication flow
106
+ ```
110
107
 
111
108
  ## Usage
112
109
 
@@ -2,6 +2,7 @@
2
2
 
3
3
  A Linux/GNOME system tray application that monitors your Claude Code token usage and alerts you before hitting limits.
4
4
 
5
+ [![PyPI version](https://img.shields.io/pypi/v/claude-code-usage.svg)](https://pypi.org/project/claude-code-usage/)
5
6
  ![Python](https://img.shields.io/badge/python-3.11+-blue.svg)
6
7
  ![Platform](https://img.shields.io/badge/platform-Linux%2FGNOME-lightgrey.svg)
7
8
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
@@ -47,7 +48,20 @@ Install the [AppIndicator Support](https://extensions.gnome.org/extension/615/ap
47
48
 
48
49
  ## Installation
49
50
 
50
- ### Quick Install (recommended)
51
+ ### From PyPI (recommended)
52
+
53
+ 1. Install system dependencies (see [System Dependencies](#system-dependencies) above)
54
+
55
+ 2. Install with pipx (recommended):
56
+ ```bash
57
+ pipx install claude-code-usage --system-site-packages
58
+ ```
59
+
60
+ The `--system-site-packages` flag is required to access system GTK libraries.
61
+
62
+ 3. Run: `claude-usage`
63
+
64
+ ### From Source
51
65
 
52
66
  ```bash
53
67
  git clone https://github.com/Maex-z9/CC_Usage.git
@@ -55,32 +69,15 @@ cd CC_Usage
55
69
  ./install.sh
56
70
  ```
57
71
 
58
- This installs system dependencies and the app. Then run with: `claude-usage`
59
-
60
- ### Manual Install
61
-
62
- 1. Install system dependencies:
63
- ```bash
64
- # Ubuntu/Debian
65
- sudo apt install python3-gi python3-gi-cairo gir1.2-ayatanaappindicator3-0.1 gir1.2-notify-0.7
72
+ This installs system dependencies and the app automatically.
66
73
 
67
- # Fedora
68
- sudo dnf install python3-gobject python3-cairo libayatana-appindicator-gtk3 libnotify
74
+ ### Prerequisites
69
75
 
70
- # Arch
71
- sudo pacman -S python-gobject python-cairo libayatana-appindicator libnotify
72
- ```
73
-
74
- 2. Install the app:
75
- ```bash
76
- pip install git+https://github.com/Maex-z9/CC_Usage.git
77
- ```
78
-
79
- 3. Authenticate with Claude Code (if not already done):
80
- ```bash
81
- claude
82
- # Follow the authentication flow
83
- ```
76
+ Make sure you have Claude Code CLI installed and authenticated:
77
+ ```bash
78
+ claude
79
+ # Follow the authentication flow
80
+ ```
84
81
 
85
82
  ## Usage
86
83
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: claude-code-usage
3
- Version: 1.0.0
3
+ Version: 1.0.1
4
4
  Summary: System tray monitor for Claude Code token usage
5
5
  Author: Max
6
6
  License: MIT
@@ -28,6 +28,7 @@ Dynamic: license-file
28
28
 
29
29
  A Linux/GNOME system tray application that monitors your Claude Code token usage and alerts you before hitting limits.
30
30
 
31
+ [![PyPI version](https://img.shields.io/pypi/v/claude-code-usage.svg)](https://pypi.org/project/claude-code-usage/)
31
32
  ![Python](https://img.shields.io/badge/python-3.11+-blue.svg)
32
33
  ![Platform](https://img.shields.io/badge/platform-Linux%2FGNOME-lightgrey.svg)
33
34
  ![License](https://img.shields.io/badge/license-MIT-green.svg)
@@ -73,7 +74,20 @@ Install the [AppIndicator Support](https://extensions.gnome.org/extension/615/ap
73
74
 
74
75
  ## Installation
75
76
 
76
- ### Quick Install (recommended)
77
+ ### From PyPI (recommended)
78
+
79
+ 1. Install system dependencies (see [System Dependencies](#system-dependencies) above)
80
+
81
+ 2. Install with pipx (recommended):
82
+ ```bash
83
+ pipx install claude-code-usage --system-site-packages
84
+ ```
85
+
86
+ The `--system-site-packages` flag is required to access system GTK libraries.
87
+
88
+ 3. Run: `claude-usage`
89
+
90
+ ### From Source
77
91
 
78
92
  ```bash
79
93
  git clone https://github.com/Maex-z9/CC_Usage.git
@@ -81,32 +95,15 @@ cd CC_Usage
81
95
  ./install.sh
82
96
  ```
83
97
 
84
- This installs system dependencies and the app. Then run with: `claude-usage`
85
-
86
- ### Manual Install
87
-
88
- 1. Install system dependencies:
89
- ```bash
90
- # Ubuntu/Debian
91
- sudo apt install python3-gi python3-gi-cairo gir1.2-ayatanaappindicator3-0.1 gir1.2-notify-0.7
98
+ This installs system dependencies and the app automatically.
92
99
 
93
- # Fedora
94
- sudo dnf install python3-gobject python3-cairo libayatana-appindicator-gtk3 libnotify
100
+ ### Prerequisites
95
101
 
96
- # Arch
97
- sudo pacman -S python-gobject python-cairo libayatana-appindicator libnotify
98
- ```
99
-
100
- 2. Install the app:
101
- ```bash
102
- pip install git+https://github.com/Maex-z9/CC_Usage.git
103
- ```
104
-
105
- 3. Authenticate with Claude Code (if not already done):
106
- ```bash
107
- claude
108
- # Follow the authentication flow
109
- ```
102
+ Make sure you have Claude Code CLI installed and authenticated:
103
+ ```bash
104
+ claude
105
+ # Follow the authentication flow
106
+ ```
110
107
 
111
108
  ## Usage
112
109
 
@@ -0,0 +1,2 @@
1
+ [console_scripts]
2
+ claude-usage = src.main:main
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "claude-code-usage"
7
- version = "1.0.0"
7
+ version = "1.0.1"
8
8
  description = "System tray monitor for Claude Code token usage"
9
9
  readme = "README.md"
10
10
  license = {text = "MIT"}
@@ -37,9 +37,6 @@ Issues = "https://github.com/Maex-z9/CC_Usage/issues"
37
37
  [project.scripts]
38
38
  claude-usage = "src.main:main"
39
39
 
40
- [project.gui-scripts]
41
- claude-usage-gui = "src.main:main"
42
-
43
40
  [tool.setuptools.packages.find]
44
41
  where = ["."]
45
42
  include = ["src*"]
@@ -1,5 +0,0 @@
1
- [console_scripts]
2
- claude-usage = src.main:main
3
-
4
- [gui_scripts]
5
- claude-usage-gui = src.main:main