An alternative SessionMiddleware for Esmerald with Pydantic.
Project description
Esmerald
🌟 An alternative SessionMiddleware for Esmerald with Pydantic at its core. 🌟
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.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file esmerald_sessions-0.3.0.tar.gz
.
File metadata
- Download URL: esmerald_sessions-0.3.0.tar.gz
- Upload date:
- Size: 7.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f59fdc34959404382b7ee9d9005983172e4e3660b1672640857f9cbdb84e1d25 |
|
MD5 | 9c6fa040c7759e5804143e015f504212 |
|
BLAKE2b-256 | db8f25e9c0db14203783e44cd9716883c8f0edb35e140e61ab4073326d144494 |
File details
Details for the file esmerald_sessions-0.3.0-py3-none-any.whl
.
File metadata
- Download URL: esmerald_sessions-0.3.0-py3-none-any.whl
- Upload date:
- Size: 9.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.8.16
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 9a8fb474ed69ff2f4ed5f44a2368e7089cbb987e6f6b8f43fa52b40486a8115e |
|
MD5 | e1e998ec9e6b762b1b6a66a931647cef |
|
BLAKE2b-256 | b79f57e537b51de66fdd9bca153da0f6574c9e4bd360f606ed41e37aa0b17717 |