DynamoDB with Python (Latest)
ฝัง
- เผยแพร่เมื่อ 21 ส.ค. 2024
- This video show how to query DynamoDB table using Python.
- Query using partition key
- Query using Index( Global index, Local index)
- Scan
- Insert
- Update
- Bulk delete
#dynamodb #python
Source code: github.com/Cod...
DynamoDB Index: • DynamoDB index (Global...
AWS CLI: docs.aws.amazo...
Great tutorial. Simply explained with code. Thanks
Subscribed. looking forward to python + AWS combo pack!
Thanks Krishna, Glad that helps you
nice and simple. well explained
Thank you so much 🙂
great tutorial thanks man!
Thanks mate :)
great content, thank you.
Glad that helps you. Thanks 👍
Thanks. Very helfull
Nice tutorial. Do you have any video which explain Global index and Local index?
Thanks.
Please find this. m.th-cam.com/video/KJGd0WZFDhU/w-d-xo.html
Hi, you've used an old DynamoDB icon ;)
Other than that, good content!
Thanks mate 👌👌👌
How to read batch of records say using Id.
I have table with schema (id, checksum). Need to get checksum of multiple ids at once
Wha is the partition key? What is the relationship between Ids and checksum. Is it one to one or one to many?
If the partition key is Ids, then you have to fetch checksum for each Ids one by one.
there is need to connect aws access key and secret key for dynamodb?
HI Mate, Yes, you need to setup AWS CLI which will configure AWS key and secret.
docs.aws.amazon.com/cli/latest/userguide/cli-chap-configure.html
You skipped over how to exactly store the attributes and the key, of the connection between boto3 and dynanmodb. It's a terrible practice to store these keys in the code. You should have mentioned the best practice of how to store these keys.
Hey mate,
Thanks for the comment.
The table key and attributes are not sensitive information. So that it should be in the code. The access key and secret are saved in your profile and it is part of the aws cli configuration.
In real world, it uses AWS ROLE over AWS CLI profile.
Hope that helps.
@@lovetocode4486 This should have been mentioned in the video!