This release is a pre-release and may not be stable for production use.
forge-mvc-sessions-db
Store de session persistant pour Forge, adossé à la base via le backend BDD actif.
Le cœur Forge ne fournit que MemorySessionStore (mono-processus) et
FileSessionStore, plus le contrat SessionStore.
Ce paquet opt-in ajoute DbSessionStore : les sessions vivent dans la table
forge_sessions, partagées entre processus (utile en multi-worker Gunicorn).
Le store est agnostique du SGBD : tout son SQL passe par core.database.db,
dispatché vers le backend actif (forge-mvc-mariadb, forge-mvc-sqlite, …).
Les horodatages sont calculés côté Python, sans fonction SQL propriétaire
(NOW(), GETDATE()), donc le store fonctionne sur tous les backends (ADR-054).
Usage
from forge_mvc_sessions_db import DbSessionStore
forge.configure(session_store=DbSessionStore())
Table requise : forge_sessions.
forge sessions:init copie la migration dans mvc/migrations/, puis forge migration:apply l'applique.
Metadata
Release files for forge-mvc-sessions-db 1.0.0rc9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| forge_mvc_sessions_db-1.0.0rc9.tar.gz | 27.2 kB | Without provenance | Details for forge_mvc_sessions_db-1.0.0rc9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| forge_mvc_sessions_db-1.0.0rc9-py3-none-any.whl | Python 3 | none | any | Details for forge_mvc_sessions_db-1.0.0rc9-py3-none-any.whl |
Total release size: 47.0 kB
Release files / forge_mvc_sessions_db-1.0.0rc9.tar.gz
| Download URL | forge_mvc_sessions_db-1.0.0rc9.tar.gz |
|---|---|
| Size | 27.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
4e7b0c1ca5e1a4afdb52a24e0fd5cc42a94e8df9edcd66327d57e84a482d5643
|
|
BLAKE2b-256 checksum How to use checksums |
3acd905769b46923bf34fd12ec4c4e5c5d16fefba3cb7ea8e68238f80ddf9535
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Release files / forge_mvc_sessions_db-1.0.0rc9-py3-none-any.whl
| Download URL | forge_mvc_sessions_db-1.0.0rc9-py3-none-any.whl |
|---|---|
| Size | 19.8 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
c249e1f0d2676790598903cb448c37dfb4db44a66e38c9d8478d5c36bca39afc
|
|
BLAKE2b-256 checksum How to use checksums |
0bbbf3758640a6f9eae4bcf8d0157a12a4c489a877d581fed5c4332dcdb9477a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.13
|
Security for forge-mvc-sessions-db 1.0.0rc9
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.