Skip to main content

Simple and fast server session middleware for FastAPI and Starlette

Project description

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.

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

redsession-1.4.0.tar.gz (6.8 kB view hashes)

Uploaded Source

Built Distribution

redsession-1.4.0-py3-none-any.whl (6.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page