Pre-release
This release is a pre-release and may not be stable for production use.
neobot-storage
SQLAlchemy 2.0 async storage layer for NeoBot. Implements the repository and unit-of-work ports defined in neobot-contracts.
Usage
from neobot_storage import create_engine, make_uow_factory
engine = create_engine("sqlite+aiosqlite:///neobot.db")
uow_factory = make_uow_factory(engine)
async with uow_factory() as uow:
await uow.messages.save_message(msg)
await uow.commit()
Migrations
cd packages/storage/src/neobot_storage
alembic upgrade head
Migrations are run automatically on app startup via run_migrations().
Metadata
Release files for neobot-storage 1.0.0a18
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| neobot_storage-1.0.0a18.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neobot_storage-1.0.0a18-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.1 kB
Release files / neobot_storage-1.0.0a18.tar.gz
| Download URL | neobot_storage-1.0.0a18.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
6a7dd5f5e1b4ea59d1e84703f6c44604fc48dbab318a6da80190517acde1f0e4
|
|
BLAKE2b-256 checksum How to use checksums |
d0a04f73c08d58373d986e3b5dbd3530ff6fc5054cbcec54a50712dd2e377964
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|
Release files / neobot_storage-1.0.0a18-py3-none-any.whl
| Download URL | neobot_storage-1.0.0a18-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fad844b537aa89ea1599e3659892242de7aaf93a2bd7e89732d4baa5d6a667b8
|
|
BLAKE2b-256 checksum How to use checksums |
d416d80d11a1cded44c800897d0cdc37f6f167403401ed4613ad3113de032fec
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
uv/0.9.26 {"installer":{"name":"uv","version":"0.9.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":null,"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}
|