Use DynamoDB from Anvil

Has anyone done anything with DynamoDB and Anvil?

I haven’t, myself, but the Full Python runtimes have the boto3 library installed already, so you’re good to go! Check out the boto3 docs for DynamoDB here: http://boto3.readthedocs.io/en/latest/guide/dynamodb.html

(You’ll want to store your AWS credentials using the Secrets service, and pass them into the boto3 initialisation functions as shown here)

Happy hunting!

1 Like

One of many things to try out this year, but my initial findings when I looked were :

https://aws.amazon.com/sdk-for-python/

boto is part of the server side libraries available in Anvil and the rest looks like a standard API type interface …

… damn - Meredydd beat me to it :slight_smile:

Cool thanks - I’ll give it a go. I think I was mainly interested in whether there was any reason I shouldn’t try, which you’ve answered! :slight_smile: