llm-mock

v1.0.1 safe
1.0
Low Risk

pytest plugin to mock and replay OpenAI and Anthropic API calls — record once, replay forever, no API key needed

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 7 test file(s) found

  • Test runner config found: pyproject.toml
  • 7 test file(s) detected (e.g. test_cli.py)
  • Classifier: Framework :: Pytest
◈ Medium Documentation 5.0

Some documentation present

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

  • 25 type-annotated function signatures detected in source
○ Low Multiple Contributors 1.0

Unable to verify contributor count: no GitHub repository found

  • No GitHub repository linked — contributor count unavailable

🔬 Heuristic Checks

⚠ Outbound Network Calls score 6.0

Found 4 network call pattern(s)

  • -> httpx.Response: return httpx.post(url, json=body, headers={"x-api-key": "test"}) def _make_f
  • ple(): response = httpx.post( "{ANTHROPIC_URL}", json={RE
  • f test_example(): httpx.post( "{ANTHROPIC_URL}", json={RE
  • )) response = httpx.post("{ANTHROPIC_URL}", json={REQUEST}, headers={{"x-api-key": "t
✓ Code Obfuscation

No obfuscation patterns detected

✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ Suspicious Page Links

All external links appear legitimate

✓ Git Repository History

No GitHub repository linked

  • No GitHub repository link found
⚠ 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 llm-mock
Build a simple Python application using the llm-mock package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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