python-doctor

v2026.5.11 safe
1.7
Low Risk

One command. One score. Built for AI agents. Scans Python codebases and returns a 0-100 health score.

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 7 test file(s) found

  • 7 test file(s) detected (e.g. test_bandit_analyzer.py)
◈ Medium Documentation 5.0

Some documentation present

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

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

  • {"test_id": "B602", "code": "os.system(x)"} assert _should_skip(item, in_test=False, in_example
  • "run.py", ] result = subprocess.run(args) if result.returncode != 0: print("Build fa
  • d.""" try: proc = subprocess.run(cmd, capture_output=True, text=True, timeout=120) # nosec B
  • path] try: proc = subprocess.run(cmd, capture_output=True, text=True, timeout=120) # nosec B
  • path] subprocess.run(fix_cmd, capture_output=True, text=True, timeout=120) # nos
  • # nosec B603 proc = subprocess.run(cmd + ["--output-format", "json", # nosec B603
✓ 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 python-doctor
Build a simple Python application using the python-doctor package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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