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.0a17
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.0a17.tar.gz | 17.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neobot_storage-1.0.0a17-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.1 kB
Release files / neobot_storage-1.0.0a17.tar.gz
| Download URL | neobot_storage-1.0.0a17.tar.gz |
|---|---|
| Size | 17.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
1000ff5bd87d9139a6cac2e718eda3e2f37957efdab9fbdd546e3a171416e14c
|
|
BLAKE2b-256 checksum How to use checksums |
5baa80b20e87b4481e754388b9ac0ec276c38fe51c763dcbb6201eeb8e7e2728
|
| 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.0a17-py3-none-any.whl
| Download URL | neobot_storage-1.0.0a17-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
48a39ae8f9c2705b63a53315218f80fad5995c00a5d309a191e44289158b8afb
|
|
BLAKE2b-256 checksum How to use checksums |
1a5dc8b55aaa0d2f06b9001b0a0a066e112fb1f9bac7008bd54555cef83e4887
|
| 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}
|