local-llm-wrapper

v26.5 safe
2.1
Low Risk

Local-first LLM wrapper (import local_llm_wrapper) with pluggable transports (Ollama, Apple, optional Claude Code CLI) and a stable text-in text-out API.

📦 Package Quality Overall: Low (4.4/10)

✦ High Test Suite 9.0

Test suite present — 25 test file(s) found

  • Test runner config found: conftest.py
  • 25 test file(s) detected (e.g. check_ascii_compliance.py)
◈ Medium Documentation 5.0

Some documentation present

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

  • 212 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 4.5

Found 3 network call pattern(s)

  • "/", "api/tags") request = urllib.request.Request(url, method="GET") try: with urllib.request.url
  • method="GET") try: with urllib.request.urlopen(request, timeout=5) as response: # nosec B310 d
  • + "/", "api/ps") request = urllib.request.Request(url, method="GET") try: with urllib.request.url
✓ Code Obfuscation

No obfuscation patterns detected

⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ze in GB. """ try: arch = subprocess.check_output(["uname", "-m"], text=True).strip() is_apple_silicon = arc
  • e_silicon: hardware_info = subprocess.check_output( ["system_profiler", "SPHardwareDataType"], text=True
  • 1)) else: display_info = subprocess.check_output( ["system_profiler", "SPDisplaysDataType"], text=True
  • A list of strings ready for subprocess.run(argv, ...). """ # base flags that are always present a
  • degraded locales result = subprocess.run( argv, input=prompt, capture_output=True, te
  • latest version...") try: subprocess.run( ["ollama", "pull", self.model], timeout=600, ch
✓ 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 6.0

3 maintainer concern(s) found

  • Author name is missing or very short
  • Author "" appears to have only 1 package on PyPI (new or inactive account)
  • Package has no PyPI classifiers (low effort / metadata quality)
✓ Known CVE Vulnerabilities

No known vulnerabilities found in OSV database.

💡 AI App Starter Prompt

Use this prompt to build a project with local-llm-wrapper
Build a simple Python application using the local-llm-wrapper package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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