Skip to main content

Add missing DynamoDB service resource methods to boto3

Project description

boto3-missing

The AWS Python SDK, boto3, has resource objects that provide high-level interfaces to AWS services. The DynamoDB resource greatly simplifies marshalling and unmarshalling data. We rely on the resource method for TransactWriteItems among others that are absent from boto3. We opened PR https://github.com/boto/boto3/pull/4010 to add that method.

The resource methods are synthesized at runtime from a data file. Fortunately, boto3 has a Loader mechanism that allows the user to add extra data files, and the loader search path is configurable.

In order to not depend upon our upstream PR for boto3, we distribute the extra data files and fix up the loader search path by putting it in a .pth file which Python executes automatically during startup.

Added methods

The following methods are added to the DynamoDB service resource:

  • get_item
  • put_item
  • query
  • scan
  • transact_write_items

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

boto3-missing-0.1.0.tar.gz (7.3 kB view hashes)

Uploaded Source

Built Distribution

boto3_missing-0.1.0-py3-none-any.whl (7.4 kB view hashes)

Uploaded Python 3

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