hishel 2.0.0


pip install hishel

  Latest version

Released: Nov 05, 2026

Project Links

Meta
Author: Kar Petrosyan
Requires Python: >=3.10

Classifiers

Development Status
  • 5 - Production/Stable

Environment
  • Web Environment

Framework
  • AsyncIO
  • Trio

Intended Audience
  • Developers

License
  • OSI Approved :: BSD License

Operating System
  • OS Independent

Programming Language
  • Python :: 3
  • Python :: 3 :: Only
  • Python :: 3.10
  • Python :: 3.11
  • Python :: 3.12
  • Python :: 3.13
  • Python :: 3.14

Topic
  • Internet :: WWW/HTTP

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

Wheel compatibility matrix

Platform Python 3
any

Files in release

Extras:
Dependencies:
msgpack (>=1.2.2)
typing-extensions (>=4.16.0)