claude-usage-widget

v0.13.8 safe
2.6
Low Risk

Desktop widget and CLI that shows real-time Claude Code usage limits and cost.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 19 test file(s) found

  • 19 test file(s) detected (e.g. test_ai_report.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (36643 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 5.0

Partial type annotation coverage

  • 353 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Could not retrieve contributor data from GitHub

  • GitHub API error: 401

🔬 Heuristic Checks

⚠ Outbound Network Calls score 9.0

Found 6 network call pattern(s)

  • try: req = urllib.request.Request( source_url, headers={"User-Agent":
  • ge-widget"}) with urllib.request.urlopen(req, timeout=8, context=_ssl_context()) as resp:
  • e[int, dict | str]: req = urllib.request.Request(url) try: with urllib.request.urlopen(re
  • st(url) try: with urllib.request.urlopen(req, timeout=timeout) as resp: body = re
  • gn host 403.""" req = urllib.request.Request(self.base + "/usage") req.add_header("Host",
  • try: with urllib.request.urlopen(req, timeout=1) as resp: self.fail(f
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • og_path, "a") as log: subprocess.Popen( [sys.executable, "-m", "claude_usage"] + child_
  • r behaves. """ proc = subprocess.Popen( [codex_bin, "app-server"], stdin=subprocess
  • try: result = subprocess.run( ["/usr/bin/security", "find-generic-pas
  • return try: subprocess.run( ["notify-send", "--icon=dialog-warning", title,
  • title "{t}"' try: subprocess.run( ["/usr/bin/osascript", "-e", script],
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8765/usage`
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Burak" appears to have only 1 package on PyPI (new or inactive account)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with claude-usage-widget
Build a simple Python application using the claude-usage-widget package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

No discussion yet. Be the first to share your thoughts!