alita-session

alita-session is session extension for Alita。


License
BSD-3-Clause
Install
pip install alita-session==0.1.2

Documentation

alita-session

alita-session is session management extension for Alita。

Installing

pip install alita-session

Quick Start

from alita import Alita
from alita_session import Session

app = Alita('dw')
app.config['SESSION_ENGINE'] = 'alita_session.redis'
app.config['SESSION_ENGINE_CONFIG'] = {
    'host': {host},
    'port': {port},
    'db': {db}
}
Session().init_app(app)

Links