Skip to main content

SQLAlchemy persistence adapter for Roborean

Project description

roborean-storage-sqlalchemy

SQLAlchemy adapter for Roborean projects and durable runs. ORM rows map to/from Pydantic domain models; the engine depends only on repository ports.

Use this adapter (CLI sql:…, FastAPI with a shared database URL) when multiple processes need durable runs and project revisions on one store.

from roborean_storage_sqlalchemy import (
    SqlAlchemyProjectRepository,
    make_engine,
    make_session_factory,
    upgrade,
)

engine = make_engine("sqlite+pysqlite:///./roborean.db")
upgrade(engine)
factory = make_session_factory(engine)
projects = SqlAlchemyProjectRepository(factory)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

roborean_storage_sqlalchemy-0.1.6.tar.gz (8.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

roborean_storage_sqlalchemy-0.1.6-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file roborean_storage_sqlalchemy-0.1.6.tar.gz.

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.6.tar.gz
Algorithm Hash digest
SHA256 b5fc4941a7147ebad47da963a623e0a7d24da2146ad19d8320e90561c4ae5637
MD5 31e51300b3cc85f12578002575338ba9
BLAKE2b-256 2362926af8de3b34e494bd574b4cc0eca8b7df888728ecd53454791526a46329

See more details on using hashes here.

Provenance

The following attestation bundles were made for roborean_storage_sqlalchemy-0.1.6.tar.gz:

Publisher: publish.yml on TNick/roborean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file roborean_storage_sqlalchemy-0.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 8570f7d15d69408165a830e554843f5a090515763db130dac2ea11cf8a846501
MD5 ce96380a55d6cc3185d4709394a421c6
BLAKE2b-256 315359276c06e00c074544c6236db3fe4a5f4d3335b8072a0babb44f12c37137

See more details on using hashes here.

Provenance

The following attestation bundles were made for roborean_storage_sqlalchemy-0.1.6-py3-none-any.whl:

Publisher: publish.yml on TNick/roborean

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page