Skip to main content

Command line client for DynamoDB

Project description

dynash
======
A simple "shell" to access DynamoDB via "boto".

### Usage
# boto dynamodb APIs
> dynash [--verbose] [--env=environment]

# boto dynamodb2 APIs
> dynash2 [--verbose] [--local] [--env=environment]

### Description
You can create/delete/list/describe tables, add/modify/delete/list records and more.

- ls: list tables

- create {tablename}: create table

- delete {tablename}: delete table

- describe {tablename}: describe table

- capacity {tablename} {read_capacity} {write_capacity}: update table capacity

- use {tablename}: select table

- scan/l: list table content

- get {id}: get item(s) from table

- put {id} {properties}: add item to table

- update {id} {properties}: update item

- rm {id}: remove item from table

- query/q: query table

and many more (use 'help' to find the available commands)

### Note:

- Credentials should be in your .boto config file under the [Credentials] (see http://docs.pythonboto.org/en/latest/boto_config_tut.html)

- You can specify the DynamoDB region to use and other DynamoDB related configuration entries in your .boto config under the [DynamoDB] section:

[DynamoDB]
region=us-west-1

- You can specify alternative environments in your .boto by adding boto sections prefixed with the environment name, and then selecting the environment at startup:

--- .boto -------
[Credentials]
...
[env.Credentials]
...
[env.DynamoDB]
...

--- run --------
> dynash --env=env

- Item related commands use the currently selected table (see 'use' command) but you can pass a table name as first parameter prefixed by ':'

- Command completion is enabled (and it will complete table names)

- You can set various flags (like debug, verbose, pretty-print, etc.) using the 'set' command (try 'set -l')k

- You can redirect the output of commands using standard shell redirection ( > outfile )

- You can execute shell commands using '!shell command'

Project details


Download files

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

Source Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

dynash-0.9.8-py2.7.egg (46.2 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