pyslang

v12.2.0 safe
2.5
Low Risk

Python bindings for slang, a library for compiling SystemVerilog

📦 Package Quality Overall: Medium (6.0/10)

✦ High Test Suite 9.0

Test suite present — 26 test file(s) found

  • Test runner config found: pyproject.toml
  • Test runner config found: conftest.py
  • Test runner config found: conftest.py
  • 26 test file(s) detected (e.g. conftest.py)
✦ High Documentation 9.0

Well-documented package

  • Documentation URL: "Documentation" -> https://sv-lang.com/pyslang/
  • 1 documentation file(s) (e.g. conf.py)
  • Detailed PyPI description (4746 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Type checker (mypy / pyright / pytype) referenced in project
  • 84 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 score 10.0

Found 6 obfuscation pattern(s)

  • = ScriptSession() session.eval("""integer arr[string] = '{"Hello":4, "World":8, default:-1}
  • default:-1};""") session.eval(""" function int func(int i, integer arr[string]); case
  • tion """) assert session.eval("func(4, arr)").value == 2 # Missing 'default' in case
  • e, ) def eval(self, context, args, sourceRange, callInfo): cv
  • fo): cv = args[0].eval(context) if not cv: return cv
  • ) def eval(self, context, args, sourceRange, callInfo):
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • diagnostics.""" result = subprocess.run( [ *checker_command("mypy"),
  • JSON output.""" result = subprocess.run( [ *checker_command("pyright"),
  • ns.split()) result = subprocess.run( args, encoding="utf-8",
  • try: proc = subprocess.run( cmd, shell=True,
  • . try: help_out = subprocess.run( [slang_bin, "--help"], stdout=subpr
  • ile=sys.stderr) result = subprocess.run( cmd, capture_output=True, text=True
✓ 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 score 3.0

GitHub API error: 401

  • GitHub API error: 401
⚠ Maintainer History score 2.0

1 maintainer concern(s) found

  • Author "Mike Popoloski" 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 pyslang
Build a simple Python application using the pyslang package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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