Skip to content

kislyuk/dynamoq

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

DynamoQ: A DynamoDB command line interface with JSON I/O

Installation

pip install dynamoq

Synopsis

Use aws configure to set up your AWS command line environment.

dynamoq get TABLE_NAME HASH_KEY
DYNAMODB_TABLE=mytable dynamoq get HASH_KEY

dynamoq put mytable '{"key": "foo", "data": "xyz"}' '{"key": "bar", "data": "xyz"}'
dynamoq scan mytable

echo '{"data": "update"}' | dynamoq update mytable mykey
dynamoq update mytable mykey field1=2 field2=[] --condition "field3 eq 456"
dynamoq update mytable mykey field1=2 field2=[] --condition "field4 between 7,8"

See DynamoDB Conditions for more.

Authors

  • Andrey Kislyuk

Links

Bugs

Please report bugs, issues, feature requests, etc. on GitHub.

License

Licensed under the terms of the Apache License, Version 2.0.

https://codecov.io/github/kislyuk/dynamoq/coverage.svg?branch=master https://readthedocs.org/projects/dynamoq/badge/?version=latest