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.0a14
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.0a14.tar.gz | 14.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| neobot_storage-1.0.0a14-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 46.4 kB
Release files / neobot_storage-1.0.0a14.tar.gz
| Download URL | neobot_storage-1.0.0a14.tar.gz |
|---|---|
| Size | 14.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dfea744f36aecb21155627bf8f089bfecddb7bc1a5b6a61beb4ea1a17cfe6e0c
|
|
BLAKE2b-256 checksum How to use checksums |
ac0d97f3a0ea3b4559f0b31288bf60347a35c430a38e08c71594ac603d89e31b
|
| 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.0a14-py3-none-any.whl
| Download URL | neobot_storage-1.0.0a14-py3-none-any.whl |
|---|---|
| Size | 31.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
19a2d8b8d2224993d514cff7b1aa7e71f81c8a15e7819ff8d43b2e783e71b50e
|
|
BLAKE2b-256 checksum How to use checksums |
c6b3146e0f3279f96d36ace05411e77cc7980e4021abf9b39e079e91e731fcd7
|
| 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}
|