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)
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.47.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.47.tar.gz.
File metadata
- Download URL: nhs_aws_helpers-0.8.47.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-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
3c5102be128ee203ba08d376fdf7c9f2f8f29bf96830e518af7c7e03d54a1f0f
|
|
| MD5 |
cc85f579fcb7b59b6f2f93ba8745c1b2
|
|
| BLAKE2b-256 |
579bf3961e0f1fb51c1bfeac3397ecc7ac147b1c704b54ee982f731a781c19a6
|
File details
Details for the file nhs_aws_helpers-0.8.47-py3-none-any.whl.
File metadata
- Download URL: nhs_aws_helpers-0.8.47-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-1020-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9ebbec895c262338c48d036eae6a506c32806ac7d4f7e4d452137613d6614263
|
|
| MD5 |
ec869b7e6c499ea5b8128d27a7d69003
|
|
| BLAKE2b-256 |
8bb7828c6dced03cddb870924933c4d6d3e109c41318425d6b3937ac22a691a1
|