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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.14.tar.gz
Algorithm Hash digest
SHA256 f8d1cd226a4b99f32c2b6a8b88a118c78078cab8bdc5ff0942ccca3025e598f1
MD5 760c11d1b6245f414e5d83440c699402
BLAKE2b-256 26360129cc24044a6e5ec3f395cdd57a732fc05c4e8e650d970c6974d20f8e51

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.14-py3-none-any.whl
Algorithm Hash digest
SHA256 9d5363d4304e5968a939a39df1b39e69f45c7e4ac55b83038dea521bc13010c9
MD5 c79cb379c6bfc382843998a3a7fbfc78
BLAKE2b-256 944ec2c8a1dd4ebf1364c79b3113c65a93d0458843fe47063e913f54bebc320e

See more details on using hashes here.

Provenance

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