pypdf

v7.2.0 safe
2.3
Low Risk

A pure-python PDF library capable of splitting, merging, cropping, and transforming PDF files

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 1 test file(s) found

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

Some documentation present

  • Documentation URL: "Changelog" -> https://pypdf.readthedocs.io/en/latest/meta/CHANGELOG.html
  • Detailed PyPI description (4857 chars)
○ Low Contributing Guide 4.0

No contributing guide or governance files found

  • Development Status classifier >= Beta
◈ Medium Type Annotations 7.0

Partial type annotation coverage

  • Classifier: Typing :: Typed
  • 781 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 6.0

Found 4 network call pattern(s)

  • Unicode mapping.""" with urllib.request.urlopen( f"https://raw.githubusercontent.com/adobe-t
  • s(self) -> None: with urllib.request.urlopen( f"https://{FONT_LOC}" ) as conn
  • _context, ) request = urllib.request.Request(url, headers={"User-Agent": _USER_AGENT}) # noqa: S
  • try: with urllib.request.urlopen(request, timeout=_DOWNLOAD_TIMEOUT) as response: #
⚠ Code Obfuscation score 8.0

Found 4 obfuscation pattern(s)

  • turn obj _PADDING = ( b"\x28\xbf\x4e\x5e\x4e\x75\x8a\x41\x64\x00\x4e\x56\xff\xfa\x01\x08" b"\x2e\x2e\x00\xb6\xd0\x68\x3e\x80\x2f\x0c\xa9\xfe\x64
  • 4e\x56\xff\xfa\x01\x08" b"\x2e\x2e\x00\xb6\xd0\x68\x3e\x80\x2f\x0c\xa9\xfe\x64\x53\x69\x7a" ) def _padding(data: bytes) -> bytes: return (data +
  • elif c in ( b"\xc0\xc1\xc2\xc3\xc4\xc5\xc6\xc7\xc9\xca\xcb\xcc\xcd\xce\xcf" b"\xda\xdb\xdc\xdd\xde\xdf" b"\xe0
  • dc\xdd\xde\xdf" b"\xe0\xe1\xe2\xe3\xe4\xe5\xe6\xe7\xe8\xe9\xea\xeb\xec\xed\xee\xef\xfe" ): c = read(2) data_out +=
⚠ Shell / Subprocess Execution score 4.0

Found 2 shell execution pattern(s)

  • "] = "C" result = subprocess.run( # noqa: S603 [ configu
  • return False result = subprocess.run( # noqa: S603 [configuration.jbig2dec_binary, "
✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: mathieu.fenniak.net>

✓ 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 "stefan6419846" 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 pypdf
Build a simple Python application using the pypdf package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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