anom: an om for Cloud Datastore

Release v0.9.1. (Installation, Changelog)

anom is an object mapper for Google Cloud Datastore heavily inspired by ndb with a focus on simplicity, correctness and performance.

Here’s what it looks like:

from anom import Model, props

class Greeting(Model):
  email = props.String(indexed=True, optional=True)
  message = props.Text()
  created_at = props.DateTime(indexed=True, auto_now_add=True)
  updated_at = props.DateTime(indexed=True, auto_now=True)

greeting = Greeting(message="Hi!")

anom is licensed under the 3-clause BSD license and it officially supports Python 3.6 and later.

Get It Now

$ pip install -U anom

Read the Quickstart if you’re ready to get started or check out some of the Examples.

API Reference

This part of the documentation is focused on detailing the various bits and pieces of the anom developer interface.

Project Info