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


Release history Release notifications

Download files

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

Filename, size & hash SHA256 hash help File type Python version Upload date
dynamoq-0.0.5-py2.py3-none-any.whl (5.7 kB) Copy SHA256 hash SHA256 Wheel 2.7 Jan 12, 2017
dynamoq-0.0.5.tar.gz (3.8 kB) Copy SHA256 hash SHA256 Source None Jan 12, 2017

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page