pybamm

v26.11.0.0 safe
2.4
Low Risk

Python Battery Mathematical Modelling

📦 Package Quality Overall: Low (4.6/10)

◈ Medium Test Suite 6.0

Partial test coverage signals detected

  • Test runner config found: pyproject.toml
◈ Medium Documentation 7.0

Some documentation present

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

  • 477 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)

  • , result_var, "exec") exec(compiled_function) def __call__(self, t=None, y=None, inputs=N
  • ._result_var, "exec") exec(compiled_function) class EvaluatorJax: """ Converts a pyb
  • , result_var, "exec") exec(compiled_function) self._static_argnums = tuple(static_arg
  • , compiled_function = compile(python_str, result_var, "exec") exec(compiled_function) def __call__(self, t
  • ) compiled_function = compile(self._python_str, self._result_var, "exec") exec(compiled_function) class EvaluatorJax:
  • , compiled_function = compile(python_str, result_var, "exec") exec(compiled_function) self._static_arg
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • f.write(c_source) subprocess.run( [compiler, *flags, "-shared", tmp_cfile, "-
✓ Credential Harvesting

No credential harvesting patterns detected

⚠ Typosquatting score 3.0

Possible typosquat of: pyyaml

  • "pybamm" is 2 edit(s) from "pyyaml"
✓ Registered Email Domain

Email domain looks legitimate: pybamm.org>

⚠ Suspicious Page Links score 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://numfocus.org
⚠ 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 pybamm
Build a simple Python application using the pybamm package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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