karpetrosyan/hishel

Elegant HTTP Caching for Python

Python

411

588 commits

updated Sep 18, 2026

See the code

README

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 that implements RFC 9111 specifications. It provides seamless caching integration for popular HTTP clients with minimal code changes.

✨ Features

  • 🎯 RFC 9111 Compliant - Fully compliant with the latest HTTP caching specification
  • 🔌 Easy Integration - Drop-in support for HTTPX, HTTPX2, Requests, ASGI, FastAPI, and BlackSheep
  • 💾 Flexible Storage - SQLite backend with more coming soon
  • 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 - Fine-grained control over caching behavior with flexible policies
  • 💨 Memory Efficient - Streaming support prevents loading large payloads into memory
  • 🌐 Universal - Works with any ASGI application (Starlette, Litestar, BlackSheep, etc.)
  • 🎯 GraphQL Support - Cache GraphQL queries with body-sensitive content caching

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

caching
http
http-cache
httpcore-cache
httpcore-caching
httpx-cache
httpx-caching
python
web
web-cache
web-caching

Contributors

(top 30 of 40)

karpetrosyan

463 commits

dependabot[bot]

60 commits

parkerhancock

7 commits

umnovI

7 commits

karpetrosyan/hishel

Elegant HTTP Caching for Python

Python

411

588 commits

updated Sep 18, 2026

See the code

README

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 that implements RFC 9111 specifications. It provides seamless caching integration for popular HTTP clients with minimal code changes.

✨ Features

  • 🎯 RFC 9111 Compliant - Fully compliant with the latest HTTP caching specification
  • 🔌 Easy Integration - Drop-in support for HTTPX, HTTPX2, Requests, ASGI, FastAPI, and BlackSheep
  • 💾 Flexible Storage - SQLite backend with more coming soon
  • 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 - Fine-grained control over caching behavior with flexible policies
  • 💨 Memory Efficient - Streaming support prevents loading large payloads into memory
  • 🌐 Universal - Works with any ASGI application (Starlette, Litestar, BlackSheep, etc.)
  • 🎯 GraphQL Support - Cache GraphQL queries with body-sensitive content caching

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

caching
http
http-cache
httpcore-cache
httpcore-caching
httpx-cache
httpx-caching
python
web
web-cache
web-caching

Contributors

(top 30 of 40)

karpetrosyan

463 commits

dependabot[bot]

60 commits

parkerhancock

7 commits

umnovI

7 commits

Languages

Python

99.8%