Pre-release
This release is a pre-release and may not be stable for production use.
elizaos-plugin-localdb (Python)
Simple JSON-based local database storage for elizaOS.
Installation
pip install elizaos-plugin-localdb
Usage
from elizaos_plugin_localdb import LocalDatabaseAdapter, JsonFileStorage
# Create storage and adapter
storage = JsonFileStorage("./data")
adapter = LocalDatabaseAdapter(storage, agent_id="my-agent-id")
# Initialize
await adapter.init()
# Use the adapter...
await adapter.create_memory(memory, "messages")
# Close when done
await adapter.close()
Features
- Zero configuration - no database required
- JSON file-based storage
- Built-in HNSW vector search
- Implements IDatabaseAdapter interface
Metadata
Release files for elizaos-plugin-localdb 2.0.0a5
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| elizaos_plugin_localdb-2.0.0a5.tar.gz | 12.0 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| elizaos_plugin_localdb-2.0.0a5-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 23.4 kB
Release files / elizaos_plugin_localdb-2.0.0a5.tar.gz
| Download URL | elizaos_plugin_localdb-2.0.0a5.tar.gz |
|---|---|
| Size | 12.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
9ed66964ae18387ac7a28695317d5d1e41b33cfbf37ab8965a38d830d2ad87aa
|
|
BLAKE2b-256 checksum How to use checksums |
704b0c6ca602a9b5b851454bbf19624cefa654fb45ffa28cf6d77f7bee29c11a
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|
Release files / elizaos_plugin_localdb-2.0.0a5-py3-none-any.whl
| Download URL | elizaos_plugin_localdb-2.0.0a5-py3-none-any.whl |
|---|---|
| Size | 11.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
0047eeadb4810e13f3b0ffcac69f447c1bfb7f1aa6cb2d2725a84c21216c14e5
|
|
BLAKE2b-256 checksum How to use checksums |
cb2270489ab50ffa7b77269f6a9db6e42aad3c89cf93310b89b71f0c0be8ba2d
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.12.10
|