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.5

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.5
File Size Uploaded Provenance Actions
flask_kvsession_fork-0.6.5.tar.gz 42.1 kB Without provenance Details for flask_kvsession_fork-0.6.5.tar.gz

Built distribution (wheel)

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

Total release size: 48.5 kB

Release files / flask_kvsession_fork-0.6.5.tar.gz

Download URL flask_kvsession_fork-0.6.5.tar.gz
Size 42.1 kB
Tags Source
SHA-256 checksum
How to use checksums
fb01586218c426839da137d89616e5b06b3d4ed7c24e7a6586720a4677d2198d
BLAKE2b-256 checksum
How to use checksums
d655a254189f3c96b507c8f65b445e8f1155736c84054a11c7374af031341e2a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Release files / flask_kvsession_fork-0.6.5-py3-none-any.whl

Download URL flask_kvsession_fork-0.6.5-py3-none-any.whl
Size 6.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
1dad55c43e8291946ac949c239e8e8109554bd7c5a09c71317330fb60692671a
BLAKE2b-256 checksum
How to use checksums
c298d1501347eb47557189688cb2de4c1d2e157132601cc472994f19f22753b3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.13.16

Security for Flask-KVSession-fork 0.6.5

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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