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

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.11.tar.gz
Algorithm Hash digest
SHA256 82456edb115d0d6b97270d77ced8392d0ff4e860dd84b4f19ef7565fb39f6fb8
MD5 2df34a0c403f587c1bf9334f727fe433
BLAKE2b-256 b2a36a90972ae5c3b4898cf73e101877ac09fa6fde5c4ebb51c7a913e55e4a03

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.11-py3-none-any.whl
Algorithm Hash digest
SHA256 0f082d5f8360e7cd29cb8e09ba904d63111527a69c3615c8c2c28168e6d7524b
MD5 05f45a075fed99a79aafd4ff2f3d6a64
BLAKE2b-256 398eaa815ef3e2b4f84eac3be6466cb33448c24b729ceef834b919a4ee3ff6ae

See more details on using hashes here.

Provenance

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