A library to store and retrieve python objects in a DynamoDB database. It supports the basic CRUD operations
Project description
DruidData
A library to store and retrieve python objects in a DynamoDB database. It supports the basic CRUD operations
Features
-
ConstantString - An enum that holds constant values for parameter names
-
DynamoDBGlobalConfiguration: - A singleton to define global parameters related to DynamoDB
-
dynamo_entity - A decorator for classes whose objects will be stored in and retrieved from the database
-
DynamoCrudRepository - An abstract class to execute CRUD operations on DynamoDB using the classes decorated with the dynamo_entity decorator, use the extensions of this class: SingleTableDynamoCrudRepository and MultiTableDynamoCrudRepository depending on your approach
-
SingleTableDynamoCrudRepository - An extension of the DynamoCrudRepository specifically for SingleTable design
-
MultiTableDynamoCrudRepository - An extension of the DynamoCrudRepository specifically for Mutitable design
Installation
With pip installed, run: pip install druid_data
License
This library is licensed under the MIT-0 License. See the LICENSE file.
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 druid_data-0.4.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 562132d478e7e20dc1e208c642997fc1517c70f99f1685d358fe3ae6b4959edf |
|
MD5 | f11e48673706c84e0f4e1cfcfc53522b |
|
BLAKE2b-256 | 9dfc539fbbca2b176f4ac4ef4ea0535eb7132f41467d1cd880cc7ef60f2b4257 |