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 details)
Built Distribution
File details
Details for the file alita-session-0.1.4.tar.gz
.
File metadata
- Download URL: alita-session-0.1.4.tar.gz
- Upload date:
- Size: 9.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f90ec527f0593fe0f3c01eb66fabea0c45aa159a61bcf7a3e8f03b513e5567eb |
|
MD5 | fc3b19ccde97b9e4b976cbcb9ebe50c9 |
|
BLAKE2b-256 | 63bf3cdd8a0654c344bb77e33387d46f1ea6da2996fa80a1de0f54ede419a0b8 |
File details
Details for the file alita_session-0.1.4-py3-none-any.whl
.
File metadata
- Download URL: alita_session-0.1.4-py3-none-any.whl
- Upload date:
- Size: 11.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.13.0 pkginfo/1.5.0.1 requests/2.20.0 setuptools/39.0.1 requests-toolbelt/0.9.1 tqdm/4.31.1 CPython/3.6.5
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c61a490382eb0bac4642bf09a2f073c56da37f33e0f688e480c3b2cbc55437d |
|
MD5 | ffb7fe0706fbac355148c914a907c77a |
|
BLAKE2b-256 | 28856e49a479c82fe00e41ca71650accf3492bc4cca9df00e559f7f6d7e220f1 |