Skip to main content

Standalone DynamoDB client not hiding any feature

Project description

LowVoltage is a standalone Python (2.7+ and 3.4+) client for DynamoDB that doesn’t hide any feature of the API.

It’s licensed under the MIT license. It depends only on the excellent python-requests library. It’s available on the Python package index, its documentation is hosted by Python and its source code is on GitHub.

Questions? Remarks? Bugs? Want to contribute? Open an issue!

https://img.shields.io/travis/jacquev6/LowVoltage/master.svg https://img.shields.io/coveralls/jacquev6/LowVoltage/master.svg https://img.shields.io/codeclimate/github/jacquev6/LowVoltage.svg https://img.shields.io/pypi/dm/LowVoltage.svg https://img.shields.io/pypi/l/LowVoltage.svg https://img.shields.io/pypi/v/LowVoltage.svg https://pypip.in/py_versions/LowVoltage/badge.svg https://pypip.in/status/LowVoltage/badge.svg https://img.shields.io/github/issues/jacquev6/LowVoltage.svg https://img.shields.io/github/forks/jacquev6/LowVoltage.svg https://img.shields.io/github/stars/jacquev6/LowVoltage.svg

Quick start

Install from PyPI:

$ pip install LowVoltage

Import the package and create a connection (assuming your AWS_ACCESS_KEY_ID and AWS_SECRET_ACCESS_KEY environment variables are set):

>>> from LowVoltage import *
>>> connection = Connection("eu-west-1", EnvironmentCredentials())

Assuming you have a table named “LowVoltage.DocTests” with a hash key on the number attribute “h”, you can put an item and get it back:

>>> table = "LowVoltage.DocTests"

>>> connection(PutItem(table, {"h": 0, "a": 42, "b": u"bar"}))
<LowVoltage.actions.put_item.PutItemResponse object at ...>

>>> connection(GetItem(table, {"h": 0})).item
{u'a': 42, u'h': 0, u'b': u'bar'}

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

LowVoltage-0.4.0.tar.gz (42.3 kB view hashes)

Uploaded Source

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