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.36.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.36.tar.gz.
File metadata
- Download URL: nhs_aws_helpers-0.8.36.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-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7cd8fcd394d5163bfee067911159a5dcab7642d8bbc51e7003c37a14777cdb51
|
|
| MD5 |
48c988051f45c9f6e4dc82eeb97a903f
|
|
| BLAKE2b-256 |
6c04669f7d8f547bca721e30edbf0c089222eeece6925514b2c00c3a81f1d3d0
|
File details
Details for the file nhs_aws_helpers-0.8.36-py3-none-any.whl.
File metadata
- Download URL: nhs_aws_helpers-0.8.36-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-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c44948fe4684e1cc0689a63daea3218e93ffc9c7be18c2c39156b514ae20cc28
|
|
| MD5 |
7b284549117e9a11dd784736b3f96436
|
|
| BLAKE2b-256 |
d6c83af6107a5aff9c8abbfe74257fb44468bf2923fd4d85965c2b5cc9fbaa2a
|