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.19.tar.gz
(39.8 kB
view details)
Built Distribution
File details
Details for the file nhs_aws_helpers-0.7.19.tar.gz
.
File metadata
- Download URL: nhs_aws_helpers-0.7.19.tar.gz
- Upload date:
- Size: 39.8 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 | 79b3bf036c69bef515eb5650c8d74e8f2e59bfc8828addf013d392aa6f8f5d23 |
|
MD5 | c0bf1201eeda971ceb63c1aa973091a2 |
|
BLAKE2b-256 | 587b43a23b4f90a72f8257bfe3c59a2cccdf76baf3a6d6cc9073191d6b6767e5 |
File details
Details for the file nhs_aws_helpers-0.7.19-py3-none-any.whl
.
File metadata
- Download URL: nhs_aws_helpers-0.7.19-py3-none-any.whl
- Upload date:
- Size: 30.5 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 | 24c91bcee0f7744468b726842a68b40e850e51c86ee2c218e77cebd8c7c8f930 |
|
MD5 | 366d043e0dc201fbe03f064be5300736 |
|
BLAKE2b-256 | 4df017ddb8a033bb4b25b9e9092667355c1bbca8741c875ed1627ca6eae7a5eb |