Skip to main content
Flask SQLAlchemy Session
========================
This is a Database Session storage interface for Flask with SQLAlchemy

How to use
----------
First you will have to create the sessions table
::
CREATE TABLE sessions (
session_id CHAR(129) UNIQUE NOT NULL,
atime TIMESTAMP,
data TEXT);

Then you will have to connect the interface to your Flask application ::


from FlaskSQLAlchemySession import set_db_session_interface
application.config['SQLALCHEMY_DATABASE_URI'] = "[your-sqlalchemy-db-uri]"
set_db_session_interface(application)


By default, the data is stored using pickle module, but you can pass other data serializer like JSON module ::

import json
from FlaskSQLAlchemySession import set_db_session_interface
application.config['SQLALCHEMY_DATABASE_URI'] = "[your-sqlalchemy-db-uri]"
set_db_session_interface(application, data_serializer=json)

Requirements
------------
* Flask
* Flask-SQLAlchemy

Metadata

Release files for Flask-SQLAlchemySession 0.0.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-SQLAlchemySession 0.0.4
File Size Uploaded Provenance Actions
Flask-SQLAlchemySession-0.0.4.tar.gz 2.3 kB Without provenance Details for Flask-SQLAlchemySession-0.0.4.tar.gz

Release files / Flask-SQLAlchemySession-0.0.4.tar.gz

Download URL Flask-SQLAlchemySession-0.0.4.tar.gz
Size 2.3 kB
Tags Source
SHA-256 checksum
How to use checksums
eca2af7ebc32edbacac51c5eb02642ed48fa48e1a53d70c50ffbf790273a2e7e
BLAKE2b-256 checksum
How to use checksums
e8f91d9f801508ffd8be2634f7502e63b0e6d74d814eeba1cc71d85b40de6435
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for Flask-SQLAlchemySession 0.0.4

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