Skip to main content

DynamoDB local downloader

Project description

Getting Started

  1. Install the library

% python3 -m pip install dynamodb_local
  1. Usage

Non-async DynamoDB local download:

from dynamodb_local import download_dynamodb
...
dynamodb_local_jar_path = download_dynamodb()

Async DynamoDB local download:

from dynamodb_local import download_dynamodb_async
...
dynamodb_local_jar_path = await download_dynamodb_async()

Starting DynamoDB local endpoint:

from dynamodb_local import download_dynamodb_async
...
dynamodb_local_dir = ...

dynamodb_local_jar_path = await download_dynamodb_async(dynamodb_local_dir)

with start_dynamodb_local(parent_dir=dynamodb_local_dir, port=8000) as dynamodb:
     endpoint = dynamodb.endpoint

     # the endpoint is ready to be sent requests to, e.g. through boto3 SDK

Features

  • Downloads DynamoDB local archive and unpacks it to a given parent directory.

  • Prevents redundant downloading of DynamoDB local on every run by verifying the downloaded local version against its sha256 digest.

  • No external dependencies.

Notes

  • The library downloads and unpacks DynamoDB local.

  • The library can start a DynamoDB local instance; however, it requires a JRE or JDK for that.

Credits

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

dynamodb_local-1.1.0.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

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

dynamodb_local-1.1.0-py3-none-any.whl (4.7 kB view details)

Uploaded Python 3

File details

Details for the file dynamodb_local-1.1.0.tar.gz.

File metadata

  • Download URL: dynamodb_local-1.1.0.tar.gz
  • Upload date:
  • Size: 4.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dynamodb_local-1.1.0.tar.gz
Algorithm Hash digest
SHA256 ce88b365f6957866cf590e68c5edd9a34f4e75bbe0bc6f3b3947f92e58f72f65
MD5 67443619222c2efa98b6ff155d3f5ef6
BLAKE2b-256 f20f842d11e970e51c7633121b99e2535d5b7006dea555a94df974420de47e49

See more details on using hashes here.

Provenance

The following attestation bundles were made for dynamodb_local-1.1.0.tar.gz:

Publisher: publish_pypi.yaml on timheiko/dynamodb-local

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file dynamodb_local-1.1.0-py3-none-any.whl.

File metadata

  • Download URL: dynamodb_local-1.1.0-py3-none-any.whl
  • Upload date:
  • Size: 4.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for dynamodb_local-1.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 51fd3a1be9fe3c765a14d8c300f7ee89154e717994febc9e6bc95d132a374c45
MD5 d0f72e0aff99f8cbf1991b9cec748827
BLAKE2b-256 239214c4a923e467741b8b03d7d26c80546fdfd95bb865c74c24a11c60f4195d

See more details on using hashes here.

Provenance

The following attestation bundles were made for dynamodb_local-1.1.0-py3-none-any.whl:

Publisher: publish_pypi.yaml on timheiko/dynamodb-local

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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