dpgen

v0.14.0 safe
2.9
Low Risk

DP-GEN: The deep potential generator

📦 Package Quality Overall: Low (3.2/10)

○ Low Test Suite 1.0

No test suite detected

  • No test files or test-runner configuration detected
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "documentation" -> https://docs.deepmodeling.com/projects/dpgen
  • Detailed PyPI description (5222 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

  • 3 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 score 1.5

Found 1 network call pattern(s)

  • }&data_type={task}" res = requests.post(url, data=open(file_name).read()) print("Successful uplo
⚠ Code Obfuscation score 10.0

Found 6 obfuscation pattern(s)

  • ange(ndata): eni[i] = eval(func)(vol_i[i], p) return eni def repro_vp(func, vol_i
  • s): dv = 1e-5 efunc = eval(func) ndata = len(vol_i) Press = np.zeros(ndata)
  • ls, vole, ndata) en_ext = eval(func)(vol_ext, pars) # en_ext = np.zeros(ndata) fou
  • mesg, ier = leastsq( eval("res_" + func), p0, args=(en, vol),
  • , "BM4"]: prop_func = eval("calc_props_" + func) e0, b0, bp, v0, bpp = prop_fun
  • try: mm = __import__(modui) try: version = mm.__version__
⚠ Shell / Subprocess Execution score 8.0

Found 4 shell execution pattern(s)

  • he model before iteration os.system("mv OUTCAR OUTCAR-last") print("Start to Optimize Struc
  • + str(i) + "." + ofmt subprocess.run( ["atomsk", fin, "-disturb", str(dmax), "-wrap",
  • sp.check_call(pert_cmd, shell=True) ### Loop over each perturbation f
  • sp.check_call(pert_cmd, shell=True) for kk in range(pert_numb):
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: iapcm.ac.cn>

⚠ Suspicious Page Links score 4.0

Found 2 suspicious link(s) on the package page

  • Non-HTTPS external link: http://www.gromacs.org/
  • Non-HTTPS external link: http://www.pwmat.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 "DeepModeling" 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 dpgen
Build a simple Python application using the dpgen package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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