pi-storage-sqlite
Python port of @earendil-works/pi-storage-sqlite-node — SQLite session storage backend.
Install
pip install pi-storage-sqlite
Quick Start
from pi_storage_sqlite import SqliteSessionRepo
from pi_agent_core import Session
repo = SqliteSessionRepo("sessions.db")
sid, storage = repo.create(cwd="/project")
session = Session(storage)
session.append_message(UserMessage(content="hello"))
# ... agent interaction ...
repo.close()
Links
- GitHub | Issues
- PORTING.md — deviations from upstream
Metadata
Release files for pi-py-storage-sqlite 0.84.1
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| pi_py_storage_sqlite-0.84.1.tar.gz | 9.1 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pi_py_storage_sqlite-0.84.1-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 17.0 kB
Release files / pi_py_storage_sqlite-0.84.1.tar.gz
| Download URL | pi_py_storage_sqlite-0.84.1.tar.gz |
|---|---|
| Size | 9.1 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d11485d00681b6cf597ff14b8e69ccd6b4d009fe13c81a97504853423e3d10d7
|
|
BLAKE2b-256 checksum How to use checksums |
3f2ae60593158f3d813b8da7eb7f5e4510a22b5f7c2801516dd55f2aa696625f
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
Release files / pi_py_storage_sqlite-0.84.1-py3-none-any.whl
| Download URL | pi_py_storage_sqlite-0.84.1-py3-none-any.whl |
|---|---|
| Size | 8.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
1d72051476c7914f9d9696dc07b8a28842c66f168cb2aec822fcb4c1249dacbe
|
|
BLAKE2b-256 checksum How to use checksums |
95da7a0737c7a5e05b74a3b9f61cb029bf72a3238a6bfa9e5acdc146b1565458
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|