A DynamoDB library based on boto3
Project description
# Dynamatic
Dynamatic is a python library for working with DynamoDB. It is NOT an ORM. It sits somewhere between the low-level [boto3](https://github.com/boto/boto3) library (on which Dynamatic is based) and high-level ORMs like [PynamoDB](https://github.com/pynamodb/PynamoDB).
## Motivation
First, I was inspired by [this blog post](https://www.trek10.com/blog/dynamodb-single-table-relational-modeling/) which was inspired by [this excellent re:Invent 2018 session by Rick Houlihan](https://youtu.be/HaEPXoXVf2k) about how to properly model data in DynamoDB for efficiency and scale.
Second, I did not want an ORM. ORMs like PynamoDB package their own methods of defining object schemas but there are already excellent libraries out there like [Pydantic](https://github.com/samuelcolvin/pydantic) or [Marshmallow](https://github.com/marshmallow-code/marshmallow). They also tend to impose traditional relational database patterns (like Active Record) that do not scale well.
Third, boto3 is a great library but its DynamoDB API is painfully low-level and not particularly “Pythonic”. Working with advanced features like [Update Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.UpdateExpressions.html) and [Projection Expressions](https://docs.aws.amazon.com/amazondynamodb/latest/developerguide/Expressions.ProjectionExpressions.html) is complex and unintutive.
So this library aims to be a happy medium: Providing enough abstraction and “developer ergonomics” to get up and running with DynamoDB quickly, while not getting in the way with high-level ORM features.
## Installation
Dynamatic requires Python 3.6 or later. You can install it via pip.
`bash pip install dynamatic `
## Usage
TODO! Documentation and usage examples coming soon!
## Contributing
Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.
Please make sure to update tests as appropriate.
## License
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dynamatic-1.0.0b5.tar.gz.
File metadata
- Download URL: dynamatic-1.0.0b5.tar.gz
- Upload date:
- Size: 7.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
8ece6e549478908f742748c1adc0dd40e3a04bb754e66cf0004f5991bd571457
|
|
| MD5 |
fb0f40851e9e6b91f7a0ce3c862db4b5
|
|
| BLAKE2b-256 |
464ba5e6c3020095560e2313d46cd8d1e771ed0dcdb593d46ab9b3ba20f0986d
|
File details
Details for the file dynamatic-1.0.0b5-py3-none-any.whl.
File metadata
- Download URL: dynamatic-1.0.0b5-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/2.0.0 pkginfo/1.5.0.1 requests/2.22.0 setuptools/41.4.0 requests-toolbelt/0.9.1 tqdm/4.36.1 CPython/3.7.5
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c905fd2ac5d8b5ae87c8b7447f9af5d618571e9991984fe5cd486022b8c0f23a
|
|
| MD5 |
f69e70e5e9a79589d05806b52a46df89
|
|
| BLAKE2b-256 |
fb30afc5247ba144ce462bc20abf549bd70a6363cbfc3b2bbfd9230ed094fe04
|