A Dynamodb ORM
Project description
Cerami
Cerami is a python library that hopefully provides some sanity to boto3's DynamoDB client. Its intended use is as a library to help define table data through the creation of models and create sane, readable, and reproducable DynamoDB requests.
Please read the Full Documentation.
Quickstart
python3 -m pip install cerami
import boto3
from cerami import Cerami
from cerami.datatype import String
from cerami.decorators import primary_key
dynamodb = boto3.client('dynamodb')
db = Cerami(dynamodb)
# Configure a Model
@primary_key('title')
class Book(db.Model):
__tablename__ = "Books"
title = String()
author = String()
Book.scan.filter(Book.author == "Dav Pilkey").execute()
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
cerami-0.3.0.tar.gz
(36.2 kB
view hashes)
Built Distribution
cerami-0.3.0-py3-none-any.whl
(85.0 kB
view hashes)