carbonwatcher

v0.3.0 safe
2.2
Low Risk

Track energy, carbon, and cost of ML experiments and LLM API calls — CLI and Python module with automatic token counting.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 2 test file(s) found

  • Test runner config found: pyproject.toml
  • 2 test file(s) detected (e.g. test_carbon.py)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (7507 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

  • 85 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)

  • -> Optional[dict]: req = urllib.request.Request(url, headers=headers) try: with urllib.r
  • eaders) try: with urllib.request.urlopen(req, timeout=timeout) as resp: return js
  • st/api/token" token_req = urllib.request.Request( token_url, method="PUT", he
  • , ) try: with urllib.request.urlopen(token_req, timeout=_METADATA_TIMEOUT_S) as r:
  • /region" region_req = urllib.request.Request( region_url, headers={"X-aws-ec2-metadat
  • token} ) with urllib.request.urlopen(region_req, timeout=_METADATA_TIMEOUT_S) as r:
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • with tracker: proc = subprocess.run(list(cmd)) sys.exit(proc.returncode) # ── Training run
  • n None try: out = subprocess.check_output( ["powermetrics", "--samplers", "cpu_power", "-n
  • try: out = subprocess.check_output( ["sysctl", "-n", "machdep.cpu.brand_string"
  • return out out = subprocess.check_output( ["sysctl", "-n", "hw.model"],
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com

✓ Suspicious Page Links

All external links appear legitimate

⚠ 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 "Ghanshyam Paunikar" 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 carbonwatcher
Build a simple Python application using the carbonwatcher package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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