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.50.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.50.tar.gz.
File metadata
- Download URL: nhs_aws_helpers-0.8.50.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 |
02be38152f0526f6e2eeb930a3fda0fda45713d7988767c317d572b381daaed0
|
|
| MD5 |
85c862887dd9059ea8721e76953b6fe1
|
|
| BLAKE2b-256 |
a388c2a343e12ce9155b2b94f74779f575708f2d374f0d9a1cd12725e1d3767d
|
File details
Details for the file nhs_aws_helpers-0.8.50-py3-none-any.whl.
File metadata
- Download URL: nhs_aws_helpers-0.8.50-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 |
abfdb5c56f679e7d529cddc17ef43a2b12ded3ea66af4a41d3286303eee3f58d
|
|
| MD5 |
4d9c47abfab80662a352b6df8ea6fcc4
|
|
| BLAKE2b-256 |
054b248170518bdfbc92a31823af064fd31c3a2a6b3e7a0f6c68ade8993aa837
|