oct2py

v6.1.1 safe
2.5
Low Risk

'Python to GNU Octave bridge --> run m-files from python.'

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 12 test file(s) found

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

Some documentation present

  • Documentation URL: "Documentation" -> https://blink1073.github.io/oct2py
  • Detailed PyPI description (4589 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

  • 6 type-annotated function signatures (partial)
○ 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)

  • Py() octave_ver = oc.eval("version", verbose=False) print(f"Octave: {oc
  • _ver}") toolkit = oc.eval("graphics_toolkit", verbose=False) toolkits = oc.ev
  • False) toolkits = oc.eval("available_graphics_toolkits", verbose=False) toolk
  • (name) self._session.eval('clear("%s")' % name, verbose=False) def __repr__(sel
  • rt octave >>> octave.eval('foo = [1, 2];') >>> ptr = octave.get_pointer('foo'
  • id4().hex}" self.eval(f"{tmp_name} = {name}", timeout=timeout) return
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • if os.name == "nt": os.system("taskkill /im octave /f") # noqa else: os.syste
  • f") # noqa else: os.system("killall -9 octave") # noqa os.system("killall -9 o
  • l -9 octave") # noqa os.system("killall -9 octave-cli") # noqa octave.restart() """Ve
  • e try: result = subprocess.run( # noqa: S603 ["hdiutil", "attach", "-nomount"
  • esult.stdout.strip() subprocess.run( # noqa: S603 ["diskutil", "erasevolume", "HFS
  • suppress(Exception): subprocess.run( # noqa: S603 ["hdiutil", "detach", "-quiet",
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: ieee.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 2.0

1 maintainer concern(s) found

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

💬 Discussion Feed

Leave a comment

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