Metadata-Version: 2.4
Name: python-datastore-sqlalchemy
Version: 0.0.1
Summary: SQLAlchemy dialect for google cloud datastore
Home-page: https://github.com/splasky/python-datastore-sqlalchemy
Author: HY Chang(splasky)
Author-email: hychang.1997.tw@gmail.com
License: MIT
Project-URL: Documentation, https://github.com/splasky/python-datastore-sqlalchemy/wiki
Project-URL: Source, https://github.com/splasky/python-datastore-sqlalchemy
Project-URL: Tracker, https://github.com/splasky/python-datastore-sqlalchemy/issues
Keywords: SQLAlchemy GCP Datastore
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: Implementation :: CPython
Classifier: Topic :: Database :: Front-Ends
Classifier: Operating System :: POSIX :: Linux
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: sqlalchemy<3.0.0,>=1.4.16
Dynamic: author
Dynamic: author-email
Dynamic: classifier
Dynamic: description
Dynamic: description-content-type
Dynamic: home-page
Dynamic: keywords
Dynamic: license
Dynamic: license-file
Dynamic: project-url
Dynamic: requires-dist
Dynamic: requires-python
Dynamic: summary

SQLAlchemy dialect for google cloud datastore(firestore mode)
========================
How to install
```
python3 setup.py install
```
How to use
```python
from sqlalchemy import *
from sqlalchemy.engine import create_engine
from sqlalchemy.schema import *
engine = create_engine('datastore://test-api-1', credentials='path/to/credentials.json')
conn = engine.connect()
result = conn.execute("SELECT * from test_table)
print(result.fetchall())
```

## Preview
<img src="assets/pie.png">

> [!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
- [Develop a SQLAlchemy and it's dialects](https://hackmd.io/lsBW5GCVR82SORyWZ1cssA?view)
