pytheory

v0.59.0 safe
2.7
Low Risk

Music Theory for Humans

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 27 test file(s) found

  • Test runner config found: pyproject.toml
  • 27 test file(s) detected (e.g. test_audio.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://pytheory.org
  • Detailed PyPI description (12112 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

  • 184 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 7.5

Found 5 network call pattern(s)

  • ).digest()).decode() s = socket.create_connection(("localhost", port), timeout=10) s.sendall((f"GET /ws HT
  • time.sleep(0.6) page = urllib.request.urlopen( f"http://localhost:{port}/", timeout=10).re
  • "E4"]' in page stream = urllib.request.urlopen( f"http://localhost:{port}/stream", timeout=
  • : true' in page stream = urllib.request.urlopen( f"http://localhost:{port}/stream", timeout=
  • lhost:{port}" page_res = urllib.request.urlopen(base + "/", timeout=10) assert page_res.headers.
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • "repl": lambda args: __import__('pytheory.repl', fromlist=['main']).main(), "live": cmd_live, "transcribe": cmd
⚠ Shell / Subprocess Execution score 10.0

Found 5 shell execution pattern(s)

  • ich("afconvert"): subprocess.run( ["afconvert", "-f", "WAVE", "-d", "LEI16@44
  • .which("ffmpeg"): subprocess.run( ["ffmpeg", "-y", "-i", str(path), "-ar", "4
  • ich("afconvert"): subprocess.run(["afconvert", "-f", "m4af", "-d", "aac",
  • ue) else: subprocess.run(["ffmpeg", "-y", "-i", wav_path, m4a_path],
  • True, tab=True)) result = subprocess.run( ["lilypond", "-dno-point-and-click", "-o", str(tmp_
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: kennethreitz.org>

✓ 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 pytheory
Build a simple Python application using the pytheory package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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