Simple and fast server session middleware for FastAPI and Starlette
Project description
Introduction
This async library provides the ability to quickly integrate server sessions into your application through the use of middleware. The library is compatible with python 3.8+.
Note
This library is designed for such frameworks as: FastAPI and Starlette.
Dependencies used support redis version 5.0+
Installation
You can install or update starlette-middleware
$ pip install redsession --upgrade
If you want to use orjson and hiredis to maximize performance, use the optional dependencies
$ pip install redsession[opt] --upgrade
Documentation
You can find more information on usage here.
Project details
Release history Release notifications | RSS feed
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 redsession-1.4.0.tar.gz
.
File metadata
- Download URL: redsession-1.4.0.tar.gz
- Upload date:
- Size: 6.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f84b633fc16d0b4b7e40f6fd75f1c2b7cd06f0625190a8a113af09d48212b350 |
|
MD5 | 64b23e4121bf9c6e87551ab40bc5f051 |
|
BLAKE2b-256 | e7c0b559412e67362c53e8c9344ef429fb385258bf71b869275ba4adf0ebe91d |
File details
Details for the file redsession-1.4.0-py3-none-any.whl
.
File metadata
- Download URL: redsession-1.4.0-py3-none-any.whl
- Upload date:
- Size: 6.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.0 CPython/3.12.3
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f52979c5544c03be8c1a78ae3761345bd22fef341ccb2b92b8d7698e10e87af5 |
|
MD5 | 8a6ff22b902d27256b75558517d46e31 |
|
BLAKE2b-256 | eaed95d882d9c0eeb5dec20288c75717fc9e861635c6e2dd4f82c1360e2b7e96 |