SQLAlchemy dialect for google cloud datastore
Project description
SQLAlchemy dialect for google cloud datastore(firestore mode)
How to install
python3 setup.py install
or
pip install python-datastore-sqlalchemy
How to use
from sqlalchemy import *
from sqlalchemy.engine import create_engine
from sqlalchemy.schema import *
engine = create_engine("datastore://my-project/?database=my-db", credentials='path/to/credentials.json')
conn = engine.connect()
result = conn.execute("SELECT * fro" test_table")
print(result.fetchall())
Preview
[!WARNING] Please note: Not all GQL and SQL syntax has been fully tested. Should you encounter any bugs, please post the relevant query and open an issue on GitHub.
How to contribute
Feel free to open issues and pull requests on GitHub.
Development Notes
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file python_datastore_sqlalchemy-0.0.2.tar.gz.
File metadata
- Download URL: python_datastore_sqlalchemy-0.0.2.tar.gz
- Upload date:
- Size: 51.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
bdbcedbb7924ea5029f9cbcf8ab705e2e0b0976aca05af8045e86d951af3c41c
|
|
| MD5 |
d26eaa8c76d1f4a32c7025aa8ef75d1c
|
|
| BLAKE2b-256 |
f4d6a84b1bd9e69c05d3b8c01544f71540628afd97b1cbea25631a7f3b3b43b2
|
File details
Details for the file python_datastore_sqlalchemy-0.0.2-py3-none-any.whl.
File metadata
- Download URL: python_datastore_sqlalchemy-0.0.2-py3-none-any.whl
- Upload date:
- Size: 34.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1d814000b5905c902fa447d2af11498a909466a2a3733fc8de4ad41dae25fcb0
|
|
| MD5 |
21a1ab365e9384817ea37fdec580f16c
|
|
| BLAKE2b-256 |
6244c427db690d2005f74265c158fc4e58afe9598a87006b17df28aca5244d04
|