requests

v2.34.2 safe
2.9
Low Risk

Python HTTP for Humans.

📦 Package Quality Overall: Medium (5.2/10)

✦ High Test Suite 9.0

Test suite present — 14 test file(s) found

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

Some documentation present

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

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

  • >> import requests >>> r = requests.get('https://www.python.org') >>> r.status_code 200 >>>
  • 1', key2='value2') >>> r = requests.post('https://httpbin.org/post', data=payload) >>> print(r.tex
  • import requests >>> s = requests.Session() >>> a = requests.adapters.HTTPAdapter(max_retries=3)
  • Request [GET]> >>> s = requests.Session() >>> s.send(r) <Response [200]> """ me
  • import requests >>> s = requests.Session() >>> s.get('https://httpbin.org/get') <Response
  • ext manager:: >>> with requests.Session() as s: ... s.get('https://httpbin.org/get')
⚠ Code Obfuscation score 10.0

Found 5 obfuscation pattern(s)

  • na"): locals()[package] = __import__(package) # This traversal is apparently necessary such that the
  • iginal request assert pickle.loads(pickle.dumps(r.request)) # verify we can pickle the
  • riginal request. pr = pickle.loads(pickle.dumps(r)) assert r.request.url == pr.request.
  • led and unpickled r = pickle.loads(pickle.dumps(p)) assert r.url == p.url asser
  • st can be pickled r = pickle.loads(pickle.dumps(p)) assert r.url == p.url asser
✓ Shell / Subprocess Execution

No shell execution patterns detected

⚠ Credential Harvesting score 2.5

Found 1 credential access pattern(s)

  • AEAOw==", "file:///etc/passwd", "magnet:?xt=urn:btih:be08f00302bc2d1d3cfa3af0
✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

Email domain looks legitimate: kennethreitz.org>

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

💬 Discussion Feed

Leave a comment

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