SQLAlchemy Dialect for SQream DB
Requirements
Python > 3.9.
SQLAlchemy == 1.3.18
SQream Blue DB-API Connector >= 1.0.42
Installation
Install from the PyPi repository using pip:
pip3.9 install --upgrade pysqream_blue_sqlalchemy
Usage
Integrating with SQLAlchemy
import sqlalchemy as sa
_access_token = "ACCESS TOKEN"
conn_str = f"sqream_blue://domain:443/database"
connect_args = {'access_token': _access_token}
engine = sa.create_engine(conn_string, connect_args=connect_args)
conn = engine.connect()
res = conn.execute("select 'Success' as Test").fetchall()
print(res)
Integrating with the IPython/Jupyter SQL Magic
%load_ext sql
%config SqlMagic.autocommit=False
%config SqlMagic.displaycon=False
%config SqlMagic.autopandas=True
%sql sqream_blue://product.isqream.com/master?access_token=<ACCESS_TOKEN>
%sql select 'Success' as Test
Connection String
sqream_blue://<domain>:443/<db_name>
Parameters
Parameter |
Description |
|---|---|
domain |
Specifies the domain |
port |
Specifies the port number |
database |
Specifies the database name |
Limitations
Parameterized Queries
SQream SQLAlchemy supports only the BULK INSERT statement.
Metadata
Release files for pysqream-blue-sqlalchemy 0.9.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| pysqream_blue_sqlalchemy-0.9.3.tar.gz | 5.5 kB | Without provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| pysqream_blue_sqlalchemy-0.9.3-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 12.6 kB
Release files / pysqream_blue_sqlalchemy-0.9.3.tar.gz
| Download URL | pysqream_blue_sqlalchemy-0.9.3.tar.gz |
|---|---|
| Size | 5.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
0674bc2235d733edc833511e78f339409a8f29ad72647e078ad8f2609c93dd79
|
|
BLAKE2b-256 checksum How to use checksums |
ea796d90b82292d3281704d51825b35f459dbc558187605f21485b5c293e5d33
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Release files / pysqream_blue_sqlalchemy-0.9.3-py3-none-any.whl
| Download URL | pysqream_blue_sqlalchemy-0.9.3-py3-none-any.whl |
|---|---|
| Size | 7.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
07db04c06e57b7d490557a121ad53c2e3d3a3d10bd47d24a004dce9c06415f15
|
|
BLAKE2b-256 checksum How to use checksums |
b6f299b9daad296bb841e77215f33fd07bebd43183718e830b38064dc476d599
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/5.1.1 CPython/3.12.6
|
Security for pysqream-blue-sqlalchemy 0.9.3
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.