Skip to content
项目

关于

为 Python 提供简洁优雅的 HTTP 缓存。

其他项目

这些数字如何统计

可以做什么

  • 🎯 RFC 9111 Mode - Optionally follow the latest HTTP caching specification
  • 🔌 Easy Integration - Drop-in support for HTTPX, HTTPX2, Requests, ASGI and FastAPI
  • 💾 Flexible Storage - SQLite and Redis backends, or write your own
  • ⚡ High Performance - Efficient caching with minimal overhead

实测星标增长

24小时
0
7天
-1
15天
-2
1个月
正在收集历史

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

Hishel Logo

Hishel

Elegant HTTP Caching for Python

PyPI version Python versions License Coverage Downloads


Hishel (հիշել, to remember in Armenian) is a modern HTTP caching library for Python. It adds caching to HTTPX, Requests and ASGI applications with minimal code changes, either by your own limits or by following the RFC 9111 specification.

✨ Features

  • 🎯 RFC 9111 Mode - Optionally follow the latest HTTP caching specification
  • 🔌 Easy Integration - Drop-in support for HTTPX, HTTPX2, Requests, ASGI and FastAPI
  • 💾 Flexible Storage - SQLite and Redis backends, or write your own
  • ⚡ High Performance - Efficient caching with minimal overhead
  • 🔄 Async & Sync - Full support for both synchronous and asynchronous workflows
  • 🎨 Type Safe - Fully typed with comprehensive type hints
  • 🧪 Well Tested - Extensive test coverage and battle-tested
  • 🎛️ Configurable - TTL, TTI and size limits, with per-request overrides
  • 💨 Memory Efficient - Streaming support prevents loading large payloads into memory

Documentation is available at: https://hishel.com

探索相关项目

加载中…