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.

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.2.tar.gz (5.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.2-py3-none-any.whl (7.4 kB view details)

Uploaded Python 3

File details

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.2.tar.gz
Algorithm Hash digest
SHA256 22984c690f6d1ac01d5c49a9109890d05b9d7180fba6f0137e6aad2a0252c06a
MD5 26e39f104cbb2bdc0db834ecc846e039
BLAKE2b-256 0ca6b0d145792898f70aaa041e071cb0f2fdd8c37c9bc86a34fcccb22040b550

See more details on using hashes here.

Provenance

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

File metadata

File hashes

Hashes for roborean_storage_sqlalchemy-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 2f03944fcc98d92980c579f1bed97de220e8ca9a73c49d0077819258902d266a
MD5 b0d980a057b4e30c9c3ba7faeb43455e
BLAKE2b-256 2b6bcd952e0c43b286341be1063ebb3764f6058bb66b7eb29f51aee3fc2afc30

See more details on using hashes here.

Provenance

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