scalene

v2.4.0 safe
2.7
Low Risk

Scalene: A high-resolution, low-overhead CPU, GPU, and memory profiler for Python with AI-powered optimization suggestions

📦 Package Quality Overall: Low (3.2/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 5.0

Some documentation present

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

  • 232 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

No suspicious network call patterns found

⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • his module intercepts exec(), eval(), and compile() to capture source code that would otherwise
  • ode is executed via exec() or eval() with a string source, Python normally uses '<string>' as t
  • ARG001 """Replace exec(), eval(), and compile() to track dynamic code execution.""" ori
  • y: """Replacement for eval() that tracks source code. When given a string, we
  • Note: In Python 3.14+, eval() accepts globals/locals as keyword arguments. We us
  • als/locals are not specified, eval() uses the caller's frame. # Since we're wrapping ev
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • bscalene.so" result = subprocess.run( bench[0].split(), env=my_env,
  • available) out = subprocess.check_output( ["ps", "-o", "rss=", "-p", str(pid)],
  • ime.perf_counter() proc = subprocess.Popen( cmd, stdout=subprocess.PIPE, stderr
  • args: str) -> str: return subprocess.check_output( ["git", *args], stderr=subprocess.STDOUT, ).dec
  • ) result = subprocess.run( profile_cmd + progname.split(" "),
  • res2 = subprocess.run( [
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: altmayer.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 scalene
Build a simple Python application using the scalene package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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