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.7.21.tar.gz
(40.1 kB
view details)
Built Distribution
File details
Details for the file nhs_aws_helpers-0.7.21.tar.gz
.
File metadata
- Download URL: nhs_aws_helpers-0.7.21.tar.gz
- Upload date:
- Size: 40.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | f35fd66dd33675c73248e9826391b23c2f1df4e7da8a1182a48e26e6d76f3d71 |
|
MD5 | 98e8976fe02cf545e006f59853f96c26 |
|
BLAKE2b-256 | 4bc4a43a9f5e47dadae1c20098be5cfe4d945d0ba04b3f2dd3260e51d0c58119 |
File details
Details for the file nhs_aws_helpers-0.7.21-py3-none-any.whl
.
File metadata
- Download URL: nhs_aws_helpers-0.7.21-py3-none-any.whl
- Upload date:
- Size: 30.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: poetry/1.5.1 CPython/3.12.7 Linux/6.5.0-1025-azure
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e2d879bc18e5bb2f2b1d7dd78441b1ac11daa477da11350312c92895b6af8af2 |
|
MD5 | acc2942c8bf053d73f1a6cddce1969a0 |
|
BLAKE2b-256 | 044a7e88b4399dfc49a9a1255691fff54cfe0ee3e5beea238a0d3c1a630036d7 |