rockset-sqlalchemy
This library implements Python's dbapi spec and provides SQLAlchemy support on top of Rockset.
Usage
To install the latest version of this package, run:
pip3 install rockset-sqlalchemy
To connect to the database:
from sqlalchemy import create_engine
engine = create_engine(
"rockset://",
connect_args={
"api_key": "{your api key}",
"api_server": "{your api server}"
"virtual_instance": "{your virtual instance ID}" # virtual_instance is optional
},
)
See some example queries here. See the SQLAlchemy Unified Tutorial here.
Development
Iterating on this library is very simple.
First, clone the source repository:
git clone https://github.com/rockset/rockset-sqlalchemy
Then, all you need to do is run sudo python3 setup.py develop from the cloned directory and hack away.
You can use the example script example.py to get started with development. Make sure you provide a ROCKSET_API_KEY and ROCKSET_API_SERVER to the script, like so
ROCKSET_API_KEY=xxx ROCKSET_API_SERVER=https://api.rs2.usw2.rockset.com python3 example.py
Metadata
Release files for rockset-sqlalchemy 0.0.1
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 | Actions |
|---|---|---|---|---|
| rockset-sqlalchemy-0.0.1.tar.gz | 12.2 kB | Without provenance | Details for rockset-sqlalchemy-0.0.1.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| rockset_sqlalchemy-0.0.1-py3-none-any.whl | Python 3 | none | any | Details for rockset_sqlalchemy-0.0.1-py3-none-any.whl |
Total release size: 25.8 kB
Release files / rockset-sqlalchemy-0.0.1.tar.gz
| Download URL | rockset-sqlalchemy-0.0.1.tar.gz |
|---|---|
| Size | 12.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
f84b62e5987f6c14df86dba197726bd645822abcabf5c4c32e72cbe3bac3f357
|
|
BLAKE2b-256 checksum How to use checksums |
b474c2b61d5f37754455d9318448fa32ccd650864ce3e8d3f6ea8e7ce8f82371
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / rockset_sqlalchemy-0.0.1-py3-none-any.whl
| Download URL | rockset_sqlalchemy-0.0.1-py3-none-any.whl |
|---|---|
| Size | 13.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
fc5c3f12dbb75d5fc7536d67b7c18fa3be3f8de71379746a1a734fef0070c785
|
|
BLAKE2b-256 checksum How to use checksums |
b94787f7f4cb9261dd6ffbbf2770fae905ada15669a8296a9112c36f56910257
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for rockset-sqlalchemy 0.0.1
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.