Skip to main content

Command line interface for interacting with a DynamoDB instance

Project description

DynamoDB CLI

Introduction

A simple lightweight command line interface for interacting with an Amazon DynamoDB instance.

Mainly intended to work with a local instance, since current tools often struggles to work with a larger local database, but also works with AWS hosted instances.

Setup

In order to set up your connection you may use the command

dynamocli set-config

or edit the configuration file directly. The file is located in the user configuration folder

  • ~/Library/Application Support/dynamocli for Mac OS
  • ~/.local/share/dynamocli for linux

The required configurations are

  • Authentication - Supports three different options
    • local - Connect to local dynamoDB
    • env - Connect to AWS instance using environment values
    • credentials - Connect to AWS instance using .credentials file
  • TableName - Name of the table in the database
  • Port - Port of the instance, only required if Authentication = local
  • Profile - AWS profile to use. Only required if Authentication = credentials
  • Region - AWS region for the instance. Not needed if Authentication = local

Usage

dynamocli [-h] [--index INDEX] [--pk PK] [--sk SK] {describe,query,get-config,set-config}

positional arguments:

{describe,query,get-config,set-config}

optional arguments:

-h, --help show this help message and exit --verbose, -v increase output verbosity --index INDEX, -i INDEX apecify name of index to use. Omit "pk" --pk PK partition key value of the index to query --sk SK sort key value. Defaults to --pk

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

dynamocli-0.0.11.tar.gz (8.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

dynamocli-0.0.11-py3-none-any.whl (8.7 kB view details)

Uploaded Python 3

File details

Details for the file dynamocli-0.0.11.tar.gz.

File metadata

  • Download URL: dynamocli-0.0.11.tar.gz
  • Upload date:
  • Size: 8.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dynamocli-0.0.11.tar.gz
Algorithm Hash digest
SHA256 4640222dc6be56bf75f801a944d222d3e39034bf37ad43d5d642e07ade594462
MD5 a73cf1d22ae42eeaa6562aaf0898a7ac
BLAKE2b-256 51c7cc42e010477d299404de6cd4c9254097459c155f8f2159cd8d3af48d0902

See more details on using hashes here.

File details

Details for the file dynamocli-0.0.11-py3-none-any.whl.

File metadata

  • Download URL: dynamocli-0.0.11-py3-none-any.whl
  • Upload date:
  • Size: 8.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.4

File hashes

Hashes for dynamocli-0.0.11-py3-none-any.whl
Algorithm Hash digest
SHA256 100ea357c79a8852ad5b81bc37628a4f2708a871d09058ddb6dcae257a4b8a9b
MD5 ba22478703bb28b6c40c03ce063a8b3a
BLAKE2b-256 20791a03dff89c6311cc0ead7cba34102c77c2263c1dbb58c5b9b7191ddc88e4

See more details on using hashes here.

Supported by

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