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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.15.tar.gz
Algorithm Hash digest
SHA256 39ce5e59a3c4276d127a10fdfa027b33776a92d31d50876ef3e8eaf44dbecba7
MD5 ef1048190fc0f87a2945937bd904e221
BLAKE2b-256 63403d6164c7341bb8945585060749edad539e94407b626f5084869a73771fb6

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.15-py3-none-any.whl
Algorithm Hash digest
SHA256 98b6e4963b0400d95aadde9cab6821dd13b86190ce6ac2fc8e2cf3c541f482c0
MD5 aebf521185b4df730fd2d7324d6e57bf
BLAKE2b-256 0dbeafcd081eecce0775af832d0bd6b0d793cca367148f6d896b37d48f26933e

See more details on using hashes here.

Provenance

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