Skip to main content

Flask-KVSession

Flask-KVSession is an MIT-licensed server-side session replacement for Flask’s signed client-based session management. Instead of storing data on the client, only a securely generated ID is stored on the client, while the actual session data resides on the server.

This has two major advantages:

  • Clients no longer see the session information

  • It is possible to securely destroy sessions to protect against replay attacks.

Other things are possible with server side session that are impossible with clients side sessions, like inspecting and manipulating data in absence of the client.

Flask-KVSession uses the simplekv-package for storing session data on a variety of backends, including redis, memcached, SQL databases using SQLAlchemy, mongoDB or just flat files.

Integration with Flask is seamless, once the extension is loaded for a Flask application, it transparently replaces Flask’s own Session management. Any application working with sessions should work the same with Flask-KVSession (if it does not, file a bug!).

Documentation and development

Development happens on github, you can find the documentation on PyPI.

Metadata

Release files for Flask-KVSession-fork 0.6.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for Flask-KVSession-fork 0.6.4
File Size Uploaded
Flask-KVSession-fork-0.6.4.tar.gz 38.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for Flask-KVSession-fork 0.6.4
File Interpreter ABI Platform
Flask_KVSession_fork-0.6.4-py3-none-any.whl Python 3 none any Details

Total release size: 44.6 kB

Release files / Flask-KVSession-fork-0.6.4.tar.gz

Download URL Flask-KVSession-fork-0.6.4.tar.gz
Size 38.3 kB
Tags Source
SHA-256 checksum
How to use checksums
709e6a3bcb828fc181e3c26781534ae645409e313db682b7a03b5be1b3fea5c7
BLAKE2b-256 checksum
How to use checksums
8618cd8e47e67629dbe996dfade3737e2882bfbedc5a30e67ecd75de00695e07
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

Release files / Flask_KVSession_fork-0.6.4-py3-none-any.whl

Download URL Flask_KVSession_fork-0.6.4-py3-none-any.whl
Size 6.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
024f52557fb9b70bd1ef21d0888897b33a677972d83986f1bff5621a67505eed
BLAKE2b-256 checksum
How to use checksums
7ef5e47afec85c91188bf5b1f593a100b39b97cfd6d06ceb08a800cafc482b7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.0 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.11

Release history Release notifications | RSS feed

This release

0.6.4 This release

2 release files

0.6.3

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page