Yet Another FSM SQLite Storage
Simple aiogram FSM storage, stores all FSM data in SQLite database
Intended to replace MemoryStorage for simple cases where you want to keep states between bot restarts.
Implements just basic BaseStorage methods such as:
- set_state()
- get_state()
- set_data()
- get_data()
- close()
Tests are based on original aiogram tests v3.13.1.
Installation
pip install aiogram-fsm-sqlitestorage
Usage
Include the following in your script:
# import aiogram and the rest
from aiogram_fsm_sqlitestorage import SQLiteStorage
dp = Dispatcher(bot, storage=SQLiteStorage())
Using SQLiteStorage() instead of MemoryStorage() makes your FSM data persistent between bot restarts.
Metadata
Release files for aiogram-fsm-sqlitestorage 1.0.0
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 |
|---|---|---|---|---|
| aiogram_fsm_sqlitestorage-1.0.0.tar.gz | 5.1 kB | Without provenance | Details for aiogram_fsm_sqlitestorage-1.0.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| aiogram_fsm_sqlitestorage-1.0.0-py3-none-any.whl | Python 3 | none | any | Details for aiogram_fsm_sqlitestorage-1.0.0-py3-none-any.whl |
Total release size: 9.8 kB
Release files / aiogram_fsm_sqlitestorage-1.0.0.tar.gz
| Download URL | aiogram_fsm_sqlitestorage-1.0.0.tar.gz |
|---|---|
| Size | 5.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
db3e24e99b29869814350c4b550c3e3097624d88c2fe276a684066c4bf2e44b1
|
|
BLAKE2b-256 checksum How to use checksums |
ef4fcd2377595f7a6343ff9c488978f3a7d071d57483135c8ed2f9af4b9d8c64
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Release files / aiogram_fsm_sqlitestorage-1.0.0-py3-none-any.whl
| Download URL | aiogram_fsm_sqlitestorage-1.0.0-py3-none-any.whl |
|---|---|
| Size | 4.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
4178fe9e6e8b8d6dae4c06f6c10156e64171e3cb73fe8c255b3741193b73c7f4
|
|
BLAKE2b-256 checksum How to use checksums |
8d50b8719d66a34c93098392fcbcc66432fd50ba924cb770bc7433fb52c6fbf0
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.12.8
|
Security for aiogram-fsm-sqlitestorage 1.0.0
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.