ecotrace

v1.8.0 safe
2.5
Low Risk

EcoTrace: High-precision energy (Joules/kWh), latency, and carbon profiler for Python & LLMs. Process-scoped hardware telemetry with 50ms sampling, RAPL/NVML support, and zero configuration.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 23 test file(s) found

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

Some documentation present

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

  • 55 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 7.5

Found 5 network call pattern(s)

  • e: ignore response = requests.get( ELECTRICITY_MAPS_API_URL, headers
  • ntryCode" response = requests.get(api_url, headers={"User-Agent": USER_AGENT}, timeout=2)
  • meout self.session = requests.Session() try: from .. import __version__ as _
  • ders) response = requests.post(self.url, json=payload, headers=req_headers, timeout=5)
  • e: ignore response = requests.get( PYPI_JSON_URL, headers={"User-Ag
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • try: result = subprocess.run( ["sudo", "-n", "powermetrics", "--samplers
  • = 'nt': result = subprocess.run( ['powershell', '-NoProfile', '-Command',
  • ry: result = subprocess.run( ['dmidecode', '-t', 'memory'],
  • result = subprocess.run( ['sudo', '-n', 'dmidecode', '-t',
  • " try: result = subprocess.run( [sys.executable, "-m", "pip", "install", "--up
✓ 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 4.0

2 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" 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 ecotrace
Build a simple Python application using the ecotrace package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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