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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file boto3-missing-0.1.0.tar.gz.

File metadata

  • Download URL: boto3-missing-0.1.0.tar.gz
  • Upload date:
  • Size: 7.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.7

File hashes

Hashes for boto3-missing-0.1.0.tar.gz
Algorithm Hash digest
SHA256 d5fbe06ab16d5d18f6285723a7a815f2454e757d5b65f852e9d83ce50f4e7f85
MD5 96a11d929d2b833b62503b9a6931f368
BLAKE2b-256 a6709dc57eb7a5b6caa8e456981b73b04cdb2b1d47d73c57eccc629f1f747d62

See more details on using hashes here.

File details

Details for the file boto3_missing-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for boto3_missing-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 e35a61d16896cde9e71c47538eaae046210c94f4df562152840e1da91dde9091
MD5 f6ce345bd526700c6a1038b910b20673
BLAKE2b-256 1cb018be9ab662b192c4dec882875cc1afb001963488223d3532e3a19130830a

See more details on using hashes here.

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