DynamoDB local downloader
Project description
Getting Started
Install the library
% python3 -m pip install dynamodb_local
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file dynamodb_local-1.1.1.tar.gz.
File metadata
- Download URL: dynamodb_local-1.1.1.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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
395ed0152e36d963c281e3ff4121ff1fc6917c7a65e7099a88c5919a818efb7b
|
|
| MD5 |
1fd141358062602206c4104264591030
|
|
| BLAKE2b-256 |
a6246089fac2d8c78e9203ec1f68cf6e13e3f8f2ef69e796162ddaa0adce84a1
|
Provenance
The following attestation bundles were made for dynamodb_local-1.1.1.tar.gz:
Publisher:
publish_pypi.yaml on timheiko/dynamodb-local
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamodb_local-1.1.1.tar.gz -
Subject digest:
395ed0152e36d963c281e3ff4121ff1fc6917c7a65e7099a88c5919a818efb7b - Sigstore transparency entry: 1280234474
- Sigstore integration time:
-
Permalink:
timheiko/dynamodb-local@073aded16be76b48f05b5d860cc9409c62b8f277 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/timheiko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yaml@073aded16be76b48f05b5d860cc9409c62b8f277 -
Trigger Event:
release
-
Statement type:
File details
Details for the file dynamodb_local-1.1.1-py3-none-any.whl.
File metadata
- Download URL: dynamodb_local-1.1.1-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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0ef75bdbbe0614311fa8f362cb4a00d777f3e298b1cabd1b6fa7c2c18a41dcc0
|
|
| MD5 |
f5edd9733df1152d7baaf50b2af73296
|
|
| BLAKE2b-256 |
2f63b45ba2e35281385cd0ccdae73894b29203c9c7d16430b51d2d0382efc493
|
Provenance
The following attestation bundles were made for dynamodb_local-1.1.1-py3-none-any.whl:
Publisher:
publish_pypi.yaml on timheiko/dynamodb-local
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
dynamodb_local-1.1.1-py3-none-any.whl -
Subject digest:
0ef75bdbbe0614311fa8f362cb4a00d777f3e298b1cabd1b6fa7c2c18a41dcc0 - Sigstore transparency entry: 1280234481
- Sigstore integration time:
-
Permalink:
timheiko/dynamodb-local@073aded16be76b48f05b5d860cc9409c62b8f277 -
Branch / Tag:
refs/tags/v1.1.1 - Owner: https://github.com/timheiko
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish_pypi.yaml@073aded16be76b48f05b5d860cc9409c62b8f277 -
Trigger Event:
release
-
Statement type: