Skip to main content

DynamoDB plugin for fdbk

Project description

fdbk_dynamodb_plugin

Build Status

AWS Dynamo DB wrapper for fdbk.

Installation

Run:

pip install fdbk_dynamodb_plugin

to install from PyPI or download this repository and run

python setup.py install

to install from sources.

Testing

Check and automatically fix formatting with:

pycodestyle fdbk_dynamodb_plugin
autopep8 -aaar --in-place fdbk_dynamodb_plugin

Run static analysis with:

pylint -E --enable=invalid-name,unused-import,useless-object-inheritance fdbk_dynamodb_plugin

Run unit tests with command:

python3 -m unittest discover -s tst/

Get test coverage with commands:

coverage run --branch --source fdbk_dynamodb_plugin/ -m unittest discover -s tst/
coverage report -m

Cloud deployment

In addition to the plugin, this repository includes CloudFormation template for setting up the DynamoDB tables as well as the related IAM resources and a Chalice app that implements a simple serverless backend to view overview of the data.

The CloudFormation template is available in fdbk_tables.template.yaml. It setups both of the tables, topics and data, with pay-per-request billing mode.

The chalice implementation for serverless backend is located in serverless-backend/. The application configuration in serverless-backend.chalice\config.json must be updated with your environment specific resources. After updating the configuration, the app can be deplyed with

chalice deploy

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

fdbk_dynamodb_plugin-3.0.0.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file fdbk_dynamodb_plugin-3.0.0.tar.gz.

File metadata

  • Download URL: fdbk_dynamodb_plugin-3.0.0.tar.gz
  • Upload date:
  • Size: 3.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/50.3.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.7.1

File hashes

Hashes for fdbk_dynamodb_plugin-3.0.0.tar.gz
Algorithm Hash digest
SHA256 aeb9e0988c01da8ce46103591936ebdc4695b3a2d2a7f5aff9e93bf80355b119
MD5 854b82767eef868dab364cfcda31de16
BLAKE2b-256 4a59bd648d23bf51039bbb6e2ce1ce14ae58228b5a872ce4cbeff6cc79979539

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