Skip to main content

A DynamoDB Command Line Interface with JSON I/O

Project description

Installation

pip install dynamoq

Synopsis

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

ddb get TABLE_NAME HASH_KEY
DYNAMODB_TABLE=mytable ddb get HASH_KEY

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

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

See DynamoDB Conditions for more.

Authors

  • Andrey Kislyuk

License

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

https://img.shields.io/travis/kislyuk/dynamoq.svg https://codecov.io/github/kislyuk/dynamoq/coverage.svg?branch=master https://img.shields.io/pypi/v/dynamoq.svg https://img.shields.io/pypi/l/dynamoq.svg https://readthedocs.org/projects/dynamoq/badge/?version=latest

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

dynamoq-0.0.5.tar.gz (3.8 kB view hashes)

Uploaded source

Built Distribution

dynamoq-0.0.5-py2.py3-none-any.whl (5.7 kB view hashes)

Uploaded 2 7

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page