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.0a16
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.0a16.tar.gz | 17.7 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neobot_storage-1.0.0a16-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 54.1 kB
Release files / neobot_storage-1.0.0a16.tar.gz
| Download URL | neobot_storage-1.0.0a16.tar.gz |
|---|---|
| Size | 17.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
8475604f19edcb95b96ee9ff4a1afd39f01c97585b75185d103f9c3baf67d0b3
|
|
BLAKE2b-256 checksum How to use checksums |
757548517f1f11a986ccdf3d407e7baf45d847f025c0deed645604f800ba593a
|
| 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.0a16-py3-none-any.whl
| Download URL | neobot_storage-1.0.0a16-py3-none-any.whl |
|---|---|
| Size | 36.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
23faad096abd785dfb4e4086a38909ac3c8c44ff5139882662b40033ba0bc3ae
|
|
BLAKE2b-256 checksum How to use checksums |
5d005c80c487c724a522f1135288fc0ed2ca18b1b350c86dce4561377f112009
|
| 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}
|