loctran

v0.1.6 safe
3.2
Low Risk

Local-first document translation and conversion toolkit

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 14 test file(s) found

  • 14 test file(s) detected (e.g. test_cli.py)
◈ Medium Documentation 5.0

Some documentation present

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

  • 101 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 6.0

Found 4 network call pattern(s)

  • ng).""" try: with socket.create_connection(("127.0.0.1", 11434), timeout=1.0): pass exc
  • try: with urllib.request.urlopen(health_url, timeout=0.5): return Tru
  • with patch("loctran.cli.urllib.request.urlopen"): assert _wait_for_server("http://local
  • tch( "loctran.cli.urllib.request.urlopen", side_effect=urllib.error.URLError("dow
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • unner.invoke( __import__("loctran.cli", fromlist=["cli_entry"]).cli_entry, ["doctor"], )
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • ) try: out = subprocess.check_output( [path, "--version"], stderr=subprocess.STDOUT,
  • "unknown" lang_out = subprocess.check_output( [path, "--list-langs"], stderr=subprocess.STDOU
  • serve" try: out = subprocess.check_output( ["ollama", "--version"], stderr=subprocess.DEVN
  • try: _ollama_proc = subprocess.Popen( ["ollama", "serve"], stdout=subproc
  • result = ( subprocess.check_output(["osascript", "-e", script]).decode().strip() )
  • result = ( subprocess.check_output(["powershell", "-Command", ps_script]) .deco
⚠ Credential Harvesting score 5.0

Found 2 credential access pattern(s)

  • .get(f"/view/{job_id}/../../../etc/passwd") assert resp.status_code in (403, 404)
  • sert _sanitize_filename("../../etc/passwd") == "passwd" def test_replaces_unsafe_chars(self):
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

⚠ Suspicious Page Links score 4.0

Found 2 suspicious link(s) on the package page

  • Non-HTTPS external link: http://127.0.0.1:8000
  • Non-HTTPS external link: http://host.docker.internal:11434
⚠ Git Repository History score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Anzal K. Shahul" 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 loctran
Build a simple Python application using the loctran package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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