esmerald-sessions

An alternative SessionMiddleware for Esmerald with Pydantic.


Keywords
api, asgi, esmerald, fastapi, framework, http, machine, learning, ml, openapi, pydantic, rest, starlette, websocket
License
MIT
Install
pip install esmerald-sessions==0.3.0

Documentation

Esmerald

Esmerald

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

Test Suite Package version Supported Python versions


Documentation: https://esmerald-sessions.dymmond.com 📚

Source Code: https://github.com/dymmond/esmerald-sessions


Motivation

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.

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

Requirements

  • Python 3.7+

Installation

$ pip install esmerald-sessions

How to use

Please check the documentation how to use the package.