requests-cache

v1.3.3 safe
2.0
Low Risk

A persistent cache for python requests

📦 Package Quality Overall: Medium (5.6/10)

✦ High Test Suite 9.0

Test suite present — 27 test file(s) found

  • Test runner config found: conftest.py
  • 27 test file(s) detected (e.g. benchmark_serializers.py)
◈ Medium Documentation 7.0

Some documentation present

  • Documentation URL: "documentation" -> https://requests-cache.readthedocs.io
  • Detailed PyPI description (7170 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
  • 158 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)

  • e.disabled(): ... requests.get('https://httpbin.org/get') """ previous = requests.
  • ('cache.db'): ... requests.get('https://httpbin.org/get') Accepts the same arguments a
  • if any)""" return getattr(requests.Session(), 'cache', None) def is_installed() -> bool: """Indic
  • lled""" return isinstance(requests.Session(), CachedSession) def clear(): """Clear the currently
  • etails. """ session = requests.Session() if isinstance(session, CachedSession): session
  • =ALL_METHODS, ) yield requests.Session() uninstall_cache() def mount_mock_adapter(session: Ca
⚠ Code Obfuscation score 6.0

Found 3 obfuscation pattern(s)

  • bytes, lambda v, _: base64.b64decode(v.encode()) if v else b'' ) return stage
  • ): response = pickle.loads(value) if response.cache_key == 'key_42':
  • alue): response = pickle.loads(value) if response.url.endswith('/json'):
✓ Shell / Subprocess Execution

No shell execution patterns detected

✓ Credential Harvesting

No credential harvesting patterns detected

✓ Typosquatting

No typosquatting candidates detected

✓ Registered Email Domain

No author email provided

✓ 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 "Jordan Cook, Roman Haritonov" 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-cache
Build a simple Python application using the requests-cache package to demonstrate its core features.

💬 Discussion Feed

Leave a comment

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