Skip to main content
This is a pre-production deployment of Warehouse. Changes made here affect the production instance of PyPI (pypi.python.org).
Help us improve Python packaging - Donate today!

gcloud-datastore-oem is a Python Object-Entity Mapper for working with Google Datastore.

Project Description

Python object to entity mapper for Google Datastore with Django support.

Quickstart

from gcloudoem import *

class TestEntity(Entity):
    name = TextProperty()


class OtherTestEntity(Entity):
    address = TextProperty(default='blah')
    te = ListProperty(ReferenceProperty(TestEntity))

connect(dataset_id='dataset_id', namespace='demo')

es = TestEntity.objects.filter(name='Alice')
oe = OtherTestEntity(te=[e for e in es])
oe.save()
ot = OtherTestEntity.objects.get(pk=oe.key.name_or_id)
print(ot.key.name_or_id, [te.name for te in ot.te])
query = query.Query(TestEntity)
query.add_filter("name", "=", "Kris")
cursor = query()
print([(e.name, e.key.name_or_id,) for e in list(o)])
Release History

Release History

This version
History Node

0.1.0rc16

History Node

0.1.0rc15

History Node

0.1.0rc14

History Node

0.1.0rc13

History Node

0.1.0rc12

History Node

0.1.0rc11

History Node

0.1.0rc10

History Node

0.1.0rc9

History Node

0.1.0rc8

History Node

0.1.0rc7

History Node

0.1.0rc6

History Node

0.1.0rc5

History Node

0.1.0rc4

History Node

0.1.0rc3

History Node

0.1.0rc2

History Node

0.1.0rc1

History Node

0.1.0.dev2

History Node

0.1.0.dev1

Download Files

Download Files

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

File Name & Checksum SHA256 Checksum Help Version File Type Upload Date
gcloudoem-0.1.0rc16.macosx-10.10-x86_64.tar.gz (118.1 kB) Copy SHA256 Checksum SHA256 Source Oct 4, 2016
gcloudoem-0.1.0rc16.tar.gz (58.3 kB) Copy SHA256 Checksum SHA256 Source Oct 4, 2016

Supported By

WebFaction WebFaction Technical Writing Elastic Elastic Search Pingdom Pingdom Monitoring Dyn Dyn DNS Sentry Sentry Error Logging CloudAMQP CloudAMQP RabbitMQ Heroku Heroku PaaS Kabu Creative Kabu Creative UX & Design Fastly Fastly CDN DigiCert DigiCert EV Certificate Rackspace Rackspace Cloud Servers DreamHost DreamHost Log Hosting