datamodel-code-generator

v0.90.0 safe
3.0
Low Risk

Datamodel Code Generator

📦 Package Quality Overall: Low (4.8/10)

✦ High Test Suite 9.0

Test suite present — 13 test file(s) found

  • 13 test file(s) detected (e.g. pyproject.toml)
◈ Medium Documentation 5.0

Some documentation present

  • Detailed PyPI description (32603 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

  • 1014 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 score 9.0

Found 6 network call pattern(s)

  • ator/{version}/json" with urllib.request.urlopen(url, timeout=30) as response: files = json.l
  • etpid()}.part") request = urllib.request.Request(url, headers={"User-Agent": USER_AGENT}) try:
  • AGENT}) try: with urllib.request.urlopen(request, timeout=FETCH_TIMEOUT) as response, partial
  • str) -> object: request = urllib.request.Request(url, headers={"User-Agent": f"{PACKAGE_NAME} release
  • enchmark selector"}) with urllib.request.urlopen(request, timeout=REQUEST_TIMEOUT_SECONDS, context=_s
  • 4, 100), ) request = urllib.request.Request( CLICKPY_SQL_URL, data=query.encode(
⚠ Code Obfuscation score 2.0

Found 1 obfuscation pattern(s)

  • ontext) -> object: return eval(compile(ast.Expression(node), "<annotation>", "eval"), dict(
⚠ Shell / Subprocess Execution score 10.0

Found 6 shell execution pattern(s)

  • t, if any.""" completed = subprocess.run( [sys.executable, "-c", FIRST_IMPORT_CODE, root, nam
  • ) -> str | None: result = subprocess.run(["git", *args], cwd=cwd, capture_output=True, text=True, che
  • INAL_PROMPT": "0"} return subprocess.run(["git", *args], cwd=cwd, capture_output=True, env=env, check
  • rents=True) archive = subprocess.run( ["git", "archive", revision, "src", "tests"], c
  • check=True ) subprocess.run(["tar", "-x", "-C", str(root)], input=archive.stdout, check=
  • its choices.""" output = subprocess.run( [str(python), "-c", OPTION_INVENTORY], capture_outp
✓ 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 2.0

Found 1 suspicious link(s) on the package page

  • Non-HTTPS external link: http://json-schema.org/draft-07/schema#
⚠ 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 datamodel-code-generator
Build a simple Python application using the datamodel-code-generator package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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