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.16.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.16-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.16.tar.gz
Algorithm Hash digest
SHA256 8ecc17a059c1f5acd112e48a8aa2a9039ecdec7daf2007ff9125a7fcd0c2cfa0
MD5 89b0ff5a1c6674e0f69764c9ad353b2b
BLAKE2b-256 06f087348d855f992618f62238eb98cce44fc08c628e336b44001adb81d345a4

See more details on using hashes here.

Provenance

The following attestation bundles were made for roborean_storage_sqlalchemy-0.1.16.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.16-py3-none-any.whl.

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.16-py3-none-any.whl
Algorithm Hash digest
SHA256 77f43a5082027d4c1e53561444048c725ea274608631ba9bb360f961d2b8d25b
MD5 3cb43305dd6b2bca98af3ab7463b738b
BLAKE2b-256 9ddb9c94cc33a3a8978aecbb2719e057c43c0ebfb5e2b8ac3ef8f21ee9f50e6e

See more details on using hashes here.

Provenance

The following attestation bundles were made for roborean_storage_sqlalchemy-0.1.16-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