addok-sqlite-store
Addok plugin to store documents in SQLite instead of Redis to reduce memory usage.
Features
- SQLite storage: Store documents in a SQLite database instead of Redis
- Memory optimization: Reduce Redis RAM usage for large datasets
Installation
pip install addok-sqlite-store
Configuration
Add the following to your Addok configuration file to activate the plugin:
# Use SQLite as document store
DOCUMENT_STORE_PYPATH = 'addok_sqlite_store.SQLiteStore'
The SQLite database will be created at addok.db by default. You can customize the path:
# Optional: customize the database path
SQLITE_DB_PATH = '/path/to/your/database.db'
Or use environment variables:
export ADDOK_DOCUMENT_STORE_PYPATH='addok_sqlite_store.SQLiteStore'
export ADDOK_SQLITE_DB_PATH='/path/to/your/database.db' # optional
Metadata
Release files for addok-sqlite-store 1.1.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 | |
|---|---|---|---|
| addok_sqlite_store-1.1.0.tar.gz | 4.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| addok_sqlite_store-1.1.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 7.9 kB
Release files / addok_sqlite_store-1.1.0.tar.gz
| Download URL | addok_sqlite_store-1.1.0.tar.gz |
|---|---|
| Size | 4.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9596d86770b6caabf1f779c29713a0ec91e21984005afd2d73de9858c77c68a8
|
|
BLAKE2b-256 checksum How to use checksums |
dfad8960b17e3a26993cb69ff5f3e3ad2222345bf482c8f21ac3042f42685e4c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|
Release files / addok_sqlite_store-1.1.0-py3-none-any.whl
| Download URL | addok_sqlite_store-1.1.0-py3-none-any.whl |
|---|---|
| Size | 3.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
83e026705b59ec664379eb7c4d949dc5a3e4a427a6c014a35de26a103da2e001
|
|
BLAKE2b-256 checksum How to use checksums |
7d186902b449bb3ba939e2656b6229e88ad08ada9bee9ebc1b33d07dd59f4e83
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.1.0 CPython/3.13.2
|