Robot Framework library for DynamoDB (LocalStack and AWS)
Project description
robot-dynamodb
Robot Framework library for DynamoDB. Works with LocalStack and AWS.
Installation
pip install robot-dynamodb
Usage
*** Settings ***
Library robot_dynamodb.DynamoDbLibrary
Suite Setup Connect To DynamoDB
... endpoint_url=http://localhost:4566
... region=sa-east-1
... table_prefix=dev_
... table_postfix=_v1
Suite Teardown Disconnect From DynamoDB
Test Setup Truncate DynamoDB Table orders
Test Teardown Truncate DynamoDB Table orders
*** Test Cases ***
Pedido deve ser persistido
Batch Write DynamoDB Items orders ${seed_items}
Item Should Exist In DynamoDB orders {"id": "123"}
Keywords
| Keyword | Descrição |
|---|---|
Connect To DynamoDB |
Cria conexão boto3 |
Disconnect From DynamoDB |
Limpa estado |
Create DynamoDB Item |
Insere item (put_item) |
Get DynamoDB Item |
Busca por chave |
Update DynamoDB Item |
Atualiza atributos |
Delete DynamoDB Item |
Remove por chave |
Scan DynamoDB Table |
Lista todos os items |
Query DynamoDB Table |
Busca por partition key |
Truncate DynamoDB Table |
Deleta todos os items |
Batch Write DynamoDB Items |
Insere lista de items |
Item Should Exist In DynamoDB |
Falha se item não encontrado |
Item Should Not Exist In DynamoDB |
Falha se item encontrado |
Connect To DynamoDB Parameters
| Parâmetro | Default | Descrição |
|---|---|---|
endpoint_url |
— | URL do DynamoDB / LocalStack |
region |
us-east-1 |
AWS region |
table_prefix |
"" |
Prefixo do nome da tabela |
table_postfix |
"" |
Sufixo do nome da tabela |
aws_access_key_id |
test |
AWS / LocalStack key |
aws_secret_access_key |
test |
AWS / LocalStack secret |
Project details
Release history Release notifications | RSS feed
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 robot_dynamodb-0.1.0.tar.gz.
File metadata
- Download URL: robot_dynamodb-0.1.0.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cdf7290bfdac5f841399baa5267f12ac8815ce2bdb1533f97233eb4e2c9e80ec
|
|
| MD5 |
3a9308e1f2cbe15f5ae818147b2339eb
|
|
| BLAKE2b-256 |
5b87a06a9b4219279482d4438812628d80e6be2936cdacb362372b12aafd8789
|
Provenance
The following attestation bundles were made for robot_dynamodb-0.1.0.tar.gz:
Publisher:
publish.yml on leandroluk/python-robot-dynamodb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robot_dynamodb-0.1.0.tar.gz -
Subject digest:
cdf7290bfdac5f841399baa5267f12ac8815ce2bdb1533f97233eb4e2c9e80ec - Sigstore transparency entry: 1767446491
- Sigstore integration time:
-
Permalink:
leandroluk/python-robot-dynamodb@06fd8545649bfb7f74640c0168ef789757cb9789 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/leandroluk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06fd8545649bfb7f74640c0168ef789757cb9789 -
Trigger Event:
push
-
Statement type:
File details
Details for the file robot_dynamodb-0.1.0-py3-none-any.whl.
File metadata
- Download URL: robot_dynamodb-0.1.0-py3-none-any.whl
- Upload date:
- Size: 3.4 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 |
4cec5a61915d1b0af2f2ea0a2de65f0b550ec9b417da5cac470dd34c4802b8a5
|
|
| MD5 |
ca52a75950f084712cf8df9f02e7f355
|
|
| BLAKE2b-256 |
3f3b2e5e08428265e8702db28c843f119cd30c6d0c8291f82b39726be3d5012d
|
Provenance
The following attestation bundles were made for robot_dynamodb-0.1.0-py3-none-any.whl:
Publisher:
publish.yml on leandroluk/python-robot-dynamodb
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
robot_dynamodb-0.1.0-py3-none-any.whl -
Subject digest:
4cec5a61915d1b0af2f2ea0a2de65f0b550ec9b417da5cac470dd34c4802b8a5 - Sigstore transparency entry: 1767446596
- Sigstore integration time:
-
Permalink:
leandroluk/python-robot-dynamodb@06fd8545649bfb7f74640c0168ef789757cb9789 -
Branch / Tag:
refs/tags/v0.1.0 - Owner: https://github.com/leandroluk
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@06fd8545649bfb7f74640c0168ef789757cb9789 -
Trigger Event:
push
-
Statement type: