🚀 DAY 1 OF LAUNCH WEEK: Reachability for Ruby Now in Beta.Learn more →
Socket
Book a DemoInstallSign in
Socket

addok-sqlite-store

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

addok-sqlite-store

Store documents in SQLite for Addok.

pipPyPI
Version
1.1.0
Maintainers
1

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

Keywords

addok

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts