claudestream

v0.15.3 safe
2.7
Low Risk

Drive Claude Code from Python: run it as a subprocess and read its output as typed events, with async and sync sessions, sandbox policies, and tools you define in Python

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 40 test file(s) found

  • Test runner config found: conftest.py
  • Test runner config found: conftest.py
  • Test runner config found: pyproject.toml
  • 40 test file(s) detected (e.g. conftest.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://smmh.dev/claudestream/
  • 1 documentation file(s) (e.g. event_catalog.py)
  • Detailed PyPI description (14003 chars)
○ Low Contributing Guide 2.0

No contributing guide or governance files found

  • No CONTRIBUTING, CODE_OF_CONDUCT, or governance files found
◈ Medium Type Annotations 5.0

Partial type annotation coverage

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

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • _pipe(self): result = subprocess.run( [ "claudestream", "send", "--st
  • tderr(self): result = subprocess.run( [ "claudestream", "send", "say
  • siness. """ listing = subprocess.run( ["git", "ls-files", "-z"], cwd=REPO_ROOT,
  • ad of spending.""" proc = subprocess.run( [_shim_path(), "--version"], capture_output=True, t
  • default_lane_env() proc = subprocess.run( [ sys.executable, "-m",
  • es it did. """ proc = subprocess.run( [sys.executable, "-m", "pytest", target, "--collect
⚠ Credential Harvesting score 10.0

Found 6 credential access pattern(s)

  • "tool_input": {"file_path": "/etc/passwd"}, "tool_use_id": "toolu_y", },
  • .tool_input == {"file_path": "/etc/passwd"} assert event.permission_suggestions == []
  • ", {"file_path": "/etc/passwd"}, self.CWD, ) assert isinstanc
  • "/home/user/project/src/../../etc/passwd"}, self.CWD, ) assert isinstanc
  • {"file_path": "/etc/passwd"}, self.CWD, ) assert i
  • {"file_path": "/etc/passwd"}, self.CWD, ) assert c
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

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

💬 Discussion Feed

Leave a comment

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