codes2graph

v0.1.0 safe
2.2
Low Risk

Extract knowledge graphs from source code repositories. Rank relevant nodes with Personalized PageRank for LLM context. No LLM dependency — bring your own model.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

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

Some documentation present

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

No contributing guide or governance files found

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

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 510 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 3.0

Found 2 network call pattern(s)

  • encode("utf-8") request = urllib.request.Request( webhook_url, data=payload,
  • POST", ) try: urllib.request.urlopen(request, timeout=10).close() except (urllib.erro
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • letedProcess[str]: return subprocess.run(command, cwd=cwd, check=False, text=True, capture_output=Tru
  • t command: return subprocess.run(command, input=message, cwd=cwd, check=False, text=True, she
  • return None result = subprocess.run(command, cwd=cwd, check=False, text=True, capture_output=Tru
  • ] try: result = subprocess.run( args, input=action_prompt,
  • b") as log: process = subprocess.Popen( command, cwd=repo_root,
  • =cwd, check=False, text=True, shell=True) def _run_test(command: str | None, cwd: Path) -> TestRes
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: users.noreply.github.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 6.0

3 maintainer concern(s) found

  • Only one version has ever been released — brand new package
  • 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 codes2graph
Build a simple Python application using the codes2graph package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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