
Security News
GitHub Actions Checkout Now Blocks Risky pull_request_target Checkouts
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.
request-cache-py
Advanced tools
High-performance HTTP request caching library for Python with multiple backend support.
pip install request-cache-py
from request_cache_py import cached_get, cached_post
# Cached GET request
response = cached_get('https://api.example.com/data')
print(response.text)
# Cached POST request
response = cached_post('https://api.example.com/submit',
json={'key': 'value'})
from request_cache_py import configure
# Configure cache settings
configure(
enabled=True, # Enable/disable caching
ttl=3600, # Cache TTL in seconds (default: 1 hour)
max_size=1000 # Maximum cache entries (default: 1000)
)
from request_cache_py import CacheBackend, MemoryCache
# Create custom cache backend
cache = CacheBackend('memory', max_size=5000)
# Manual cache operations
cache.set('my_key', {'data': 'value'}, ttl=7200)
result = cache.get('my_key')
MIT License - see LICENSE file for details
FAQs
High-performance HTTP request caching with Redis and in-memory backends
The pypi package request-cache-py receives a total of 858 weekly downloads. As such, request-cache-py popularity was classified as not popular.
We found that request-cache-py demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Security News
GitHub Actions checkout now blocks risky pull_request_target checkouts by default to help prevent pwn request supply chain attacks.

Product
Socket now supports Custom Roles and Repository Access Permissions so organizations can control who can access specific repositories and actions.

Product
Socket MCP now lets AI assistants review org alerts, investigate threats using the Socket threat feed, and inspect package files in addition to dependency scoring.