A Django library for connecting to Google Cloud Datastore from Python 3 runtimes.
Project description
# Django GCloud Connectors (DGC)
Note: This project is now living in GitLab: https://gitlab.com/potato-oss/google-cloud/django-gcloud-connectors
WARNING: This is very much a work in progress, is unstable, and not ready for use
The aim of this project is to create Django database connector / backend for Google Cloud.
Currently it contains a connector for the Google Cloud Datastore (Datastore in Firestore mode) but in the future it may also include a Firestore connector, or even a MemoryStore one.
This is the continuation of the Datastore connector from the [Djangae project](https://github.com/potatolondon/djangae) but converted to use the [Cloud Datastore API](https://googleapis.github.io/google-cloud-python/latest/datastore/) on Python 3.
If you are interested in submitting a patch, please refer to CONTRIBUTING.md
## Running the tests
` $ pip3 install --user tox $ tox `
Under the hood tox runs ./manage.py test. To pass down arguments to this command simply separate them with a double hyphen. e.g.
` tox -e py37 -- --failfast `
# Automatic Cloud Datastore Emulator startup
gcloudc provides overrides for the runserver and test commands which start and stop a Cloud Datastore Emulator instance. To enable this functionality just add gcloudc.commands to your INSTALLED_APPS setting.
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
Hashes for django-gcloud-connectors-0.0.0.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 05471ecd0115ec2b30f8bc2dd3a6de1b8f010a93f5028c4d38d5100ed441e2da |
|
MD5 | b3615173cce0ade9a4dadf8a1d5c270b |
|
BLAKE2b-256 | f2c8830cd95ba1a041138156158fec66a9e466aa58b343ada496574ef7b3f98e |
Hashes for django_gcloud_connectors-0.0.0.dev1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 00e1b173a97326739fb12340d7243033f8423932bc3ad559cb51f972ab1ab7f0 |
|
MD5 | e7eb4777cf2fa1cc6eb4ee283bccc648 |
|
BLAKE2b-256 | 30eb0a1b2e5554a203939dfa27928443b2d2eb61e4266e0b814f4a8f581c2596 |