Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

python_datastore_sqlalchemy-0.0.2.tar.gz (51.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

python_datastore_sqlalchemy-0.0.2-py3-none-any.whl (34.0 kB view details)

Uploaded Python 3

File details

Details for the file python_datastore_sqlalchemy-0.0.2.tar.gz.

File metadata

File hashes

Hashes for python_datastore_sqlalchemy-0.0.2.tar.gz
Algorithm Hash digest
SHA256 bdbcedbb7924ea5029f9cbcf8ab705e2e0b0976aca05af8045e86d951af3c41c
MD5 d26eaa8c76d1f4a32c7025aa8ef75d1c
BLAKE2b-256 f4d6a84b1bd9e69c05d3b8c01544f71540628afd97b1cbea25631a7f3b3b43b2

See more details on using hashes here.

File details

Details for the file python_datastore_sqlalchemy-0.0.2-py3-none-any.whl.

File metadata

File hashes

Hashes for python_datastore_sqlalchemy-0.0.2-py3-none-any.whl
Algorithm Hash digest
SHA256 1d814000b5905c902fa447d2af11498a909466a2a3733fc8de4ad41dae25fcb0
MD5 21a1ab365e9384817ea37fdec580f16c
BLAKE2b-256 6244c427db690d2005f74265c158fc4e58afe9598a87006b17df28aca5244d04

See more details on using hashes here.

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