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...

ความคิดเห็น • 21

  • @MirandaSolm-bx3hj
    @MirandaSolm-bx3hj ปีที่แล้ว +4

    Great tutorial. Simply explained with code. Thanks

  • @KrishnaManohar8021
    @KrishnaManohar8021 ปีที่แล้ว +3

    Subscribed. looking forward to python + AWS combo pack!

    • @lovetocode4486
      @lovetocode4486  ปีที่แล้ว +1

      Thanks Krishna, Glad that helps you

  • @michealvan-nn5qy
    @michealvan-nn5qy ปีที่แล้ว +2

    nice and simple. well explained

  • @90daner
    @90daner 11 หลายเดือนก่อน +1

    great tutorial thanks man!

  • @dwayne5864
    @dwayne5864 4 หลายเดือนก่อน +1

    great content, thank you.

    • @lovetocode4486
      @lovetocode4486  4 หลายเดือนก่อน +2

      Glad that helps you. Thanks 👍

  • @LenardLerenso-ks2zv
    @LenardLerenso-ks2zv ปีที่แล้ว +2

    Thanks. Very helfull

  • @RezSwan-vc9nm
    @RezSwan-vc9nm ปีที่แล้ว +3

    Nice tutorial. Do you have any video which explain Global index and Local index?

    • @lovetocode4486
      @lovetocode4486  ปีที่แล้ว

      Thanks.
      Please find this. m.th-cam.com/video/KJGd0WZFDhU/w-d-xo.html

  • @badscrew4023
    @badscrew4023 9 หลายเดือนก่อน +1

    Hi, you've used an old DynamoDB icon ;)
    Other than that, good content!

    • @lovetocode4486
      @lovetocode4486  9 หลายเดือนก่อน

      Thanks mate 👌👌👌

  • @tastaslim
    @tastaslim 4 หลายเดือนก่อน +1

    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

    • @lovetocode4486
      @lovetocode4486  4 หลายเดือนก่อน +1

      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.

  • @user-hg1ni6bi2y
    @user-hg1ni6bi2y 2 หลายเดือนก่อน +1

    there is need to connect aws access key and secret key for dynamodb?

    • @lovetocode4486
      @lovetocode4486  2 หลายเดือนก่อน

      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

  • @posthocprior
    @posthocprior 7 หลายเดือนก่อน +1

    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.

    • @lovetocode4486
      @lovetocode4486  7 หลายเดือนก่อน +1

      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.

    • @posthocprior
      @posthocprior 7 หลายเดือนก่อน +1

      @@lovetocode4486 This should have been mentioned in the video!