A simple Python wrapper to AWS Dynamodb
Project description
A minimalistic wrapper to AWS DynamoDB
Table of contents
- Installation
- Example
- Connect to DynamodDB
- Create a new table
- Get all table names
- Create a New Item
- Read an Item
- Read items by filter
- Update existing attribute in an item
- Add a new attribute in an item
- Add an attribute to the list
- Add an attribute to the string set
- Increase an existing attribute value
- Delete an attribute from an item
- Delete an attribute from the string set
- Delete an item
- Delete a table
- Running tests
- Github Workflow Artifacts
- License
Installation
pip install LucidDynamodb
Note: Prerequisite for Python3 development
Example
Connect to DynamoDB
You can connect to DynamoDB by following any of these two ways.
- Using AWS config
- Using AWS secret key
Create a new table
Get all table names
Create a new item
Read an item
Read items by filter
Update existing attribute in an item
Add a new attribute in an item
Add an attribute to the list
Add an attribute to the string set
Increase an existing attribute value
Delete an attribute from an item
Delete an attribute from the string set
Delete an item
Delete a table
Running Tests
To run tests, run the following command
pytest -s
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
LucidDynamodb-1.0.118.tar.gz
(8.1 kB
view hashes)
Built Distribution
Close
Hashes for LucidDynamodb-1.0.118-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f283cd528e4238b699d6e6c2259636bc7a438e1465b8f4c9273fc645d01f7a4f |
|
MD5 | d2695ee8c59849aac7f84a7aa2951681 |
|
BLAKE2b-256 | 43f2cd9df692bab3113a282d1eb17d006e0760067503cd8a00b690ecccb6f127 |