optlang

v1.9.1 safe
2.7
Low Risk

Formulate optimization problems using sympy expressions and solve them using interfaces to third-party optimization software (e.g. GLPK).

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 19 test file(s) found

  • 19 test file(s) detected (e.g. abstract_test_cases.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "Documentation" -> https://optlang.readthedocs.io
  • Detailed PyPI description (6640 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

  • 43 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 5 obfuscation pattern(s)

  • ver) resurrected_solver = pickle.loads(pickle_string) t2 = time.time() print("Execution tim
  • .__init__() problem = pickle.loads(d["problem"]) # workaround to conserve the order
  • (model) from_pickle = pickle.loads(pickle_string) self.assertEqual(from_pickle.objectiv
  • el) from_pickle = pickle.loads(pickle_string) from_pickle.optimize()
  • 666) repickled = pickle.loads(pickle.dumps(self.model)) var_from_pickle = repi
⚠ Shell / Subprocess Execution score 2.0

Found 1 shell execution pattern(s)

  • ust git process = subprocess.Popen([command] + args, cwd=cwd, env=env,
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: gmail.com

⚠ Suspicious Page Links score 10.0

Found 10 suspicious link(s) on the package page

  • Non-HTTPS external link: http://sympy.org/en/index.html
  • Non-HTTPS external link: http://www.gurobi.com
  • Non-HTTPS external link: http://www.scipy.org
  • Non-HTTPS external link: http://www.gnu.org/software/glpk
  • Non-HTTPS external link: http://www.mosek.com/
  • Non-HTTPS external link: http://www.gams.com/
⚠ 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 "Nikolaus Sonnenschein" 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 optlang
Build a simple Python application using the optlang package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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