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
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file pi_py_storage_sqlite-0.83.0.tar.gz.
File metadata
- Download URL: pi_py_storage_sqlite-0.83.0.tar.gz
- Upload date:
- Size: 8.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
5a3bea063bf077b3735e58d29adc30647ed6632c67e93a2457f5f445ea812509
|
|
| MD5 |
a80c719e025fe1ce446e1532733ae14e
|
|
| BLAKE2b-256 |
2a3b31faeeca27405f62d9a2331136f7db14f51cfa1c365b582db0a8b4091ca9
|
File details
Details for the file pi_py_storage_sqlite-0.83.0-py3-none-any.whl.
File metadata
- Download URL: pi_py_storage_sqlite-0.83.0-py3-none-any.whl
- Upload date:
- Size: 7.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
4ee544824ef6ea7e62fe18b9694636a6759085578b303a292ddebb19a1e4177d
|
|
| MD5 |
bb999dbe519d1bf42078116f626708a5
|
|
| BLAKE2b-256 |
230d21d6fc9985d31e61a5805c9c126cfc79279258cdf715b0a1e534ff5b914c
|