No project description provided
Project description
NHS AWS Helpers
some useful boto3 utilities
quick start
contributing
contributors see contributing
installing
pip install nhs-aws-helpers
testing
the library comes with a some pytest fixtures ... nhs_aws_helpers/fixtures.py
# conftest.py
# noinspection PyUnresolvedReferences
from nhs_aws_helpers.fixtures import * # noqa: F403
# mytest.py
import pytest
from mypy_boto3_dynamodb.service_resource import Table
@pytest.fixture(scope="function", name="my_temp_ddb_table")
def my_temp_table_fixture() -> Table:
yield from temp_dynamodb_table("my-source-table-to-clone")
def my_test(my_temp_ddb_table: Table):
# do things with table
print(my_temp_ddb_table.table_name)
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
nhs_aws_helpers-0.8.10.tar.gz
(40.8 kB
view details)
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 nhs_aws_helpers-0.8.10.tar.gz.
File metadata
- Download URL: nhs_aws_helpers-0.8.10.tar.gz
- Upload date:
- Size: 40.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
222e7139f777726043bc417fffe53ee18056e0ca810b6785edbf8c4bb8c49aa2
|
|
| MD5 |
ce8c440edc9b2927a3c90f51c28673a3
|
|
| BLAKE2b-256 |
73c60fa5388e1a6214f4b7bf1185ab141db29b5dd6aef3a2cf7bff8cad85de3d
|
File details
Details for the file nhs_aws_helpers-0.8.10-py3-none-any.whl.
File metadata
- Download URL: nhs_aws_helpers-0.8.10-py3-none-any.whl
- Upload date:
- Size: 31.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/2.1.4 CPython/3.12.3 Linux/6.17.0-1010-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
cf7a1db1a9eff4e3e2f43f93d130c83e464c5e3545e43779cd43170a986f6f83
|
|
| MD5 |
98b6a5af1e20f3e38c46d5bc106da5bf
|
|
| BLAKE2b-256 |
779c023f500089dd1e622d79f02c9c438502cedd5781388c47990e602ab3d780
|