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.0a15
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.0a15.tar.gz | 17.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neobot_storage-1.0.0a15-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.1 kB
Release files / neobot_storage-1.0.0a15.tar.gz
| Download URL | neobot_storage-1.0.0a15.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fcfd0f5558221f66702c7d8f4322a5c70d4a90e951421b4dff80a400da214297
|
|
BLAKE2b-256 checksum How to use checksums |
474b2a786f706ae3a2234873b6341aaab779289f27abe6fdf97a075491e22992
|
| 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.0a15-py3-none-any.whl
| Download URL | neobot_storage-1.0.0a15-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7be7d04898699c5dfd61c30de17f8a00aec5b9f552eddb25482b17b8f79e964c
|
|
BLAKE2b-256 checksum How to use checksums |
b166c8fa0b9ada0abd4351cf6f4cb608284c6b87344b9b76b3532acc43b8ad47
|
| 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}
|