Skip to main content

Flask-KVSession

https://travis-ci.org/mbr/flask-kvsession.svg?branch=master

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 0.6.2

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 0.6.2
File Size Uploaded Provenance Actions
Flask-KVSession-0.6.2.tar.gz 38.0 kB Without provenance Details for Flask-KVSession-0.6.2.tar.gz

Release files / Flask-KVSession-0.6.2.tar.gz

Download URL Flask-KVSession-0.6.2.tar.gz
Size 38.0 kB
Tags Source
SHA-256 checksum
How to use checksums
9c0ee93fae089c45baeda0a3fd3ae32a96ee81c34996017749f8b3fd06df936c
BLAKE2b-256 checksum
How to use checksums
af4a533f1dbf427107cbe383de1801426693b88a7348a0b4420e5a4c19571c3f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-KVSession 0.6.2

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