redsession

Simple and fast server session middleware for FastAPI and Starlette


Keywords
fastapi-middleware, python, sessions, starlette-middleware
License
MIT
Install
pip install redsession==1.4.0

Documentation

red-session logo

PyPI - Python Version

PyPI - License

PyPI

Documentation Status

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.