Skip to main content

SQLAlchemy dialect for SQreamDB

Project description

Requirements:

  • Python > 3.6. Python 3.8.1+ recommended

  • SQLAlchemy > 1.3.18

  • SQream DB-API Connector > 3.0.3

  • Cython (optional - improves performance)

Simple Usage Sample:

import sqlalchemy as sa

conn_str = "sqream://sqream:sqream@localhost:5001/master?use_ssl=True"
engine = create_engine(conn_str, echo = print_echo)

metadata = MetaData()
metadata.bind = engine

res = engine.execute('create or replace table test (ints int)')
res = engine.execute('insert into test values (5), (6)')
res = engine.execute('select * from test')

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

pysqream_sqlalchemy-0.5.tar.gz (5.2 kB view hashes)

Uploaded Source

Built Distribution

pysqream_sqlalchemy-0.5-py3-none-any.whl (5.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page