Skip to main content

alita-session is session extension for Alita。

Project description

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

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

alita-session-0.1.4.tar.gz (9.5 kB view hashes)

Uploaded source

Built Distribution

alita_session-0.1.4-py3-none-any.whl (11.7 kB view hashes)

Uploaded py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page