Skip to content

Esmerald Sessions


🌟 An alternative SessionMiddleware for Esmerald with Pydantic at its core. 🌟

Test Suite Package version Supported Python versions

Documentation: 📚

Source Code:


Using the default SessionMiddleware from Esmerald might not be enough for those applications that need a bit more than just a simple caching, for example, where to store that same cookie.

This package offers that possibility and allows the extension of it if needed and enables the backend side session with Esmerald.

Inspired by Starlette Session and with Pydantic at its core, Esmerald sessions offers the best of both worlds and with your favourite technologies.


  • Python 3.7+


$ pip install esmerald-sessions

How to use

There are more detailed information about how to use this package in the usage section.