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.44.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.44.tar.gz.
File metadata
- Download URL: nhs_aws_helpers-0.8.44.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 |
8f412ebee32ec613ce8233f942a99d3e31d44afff4da9de5a6f8e5f23aca11a4
|
|
| MD5 |
5c33a87f999fe309a546cc38790e2408
|
|
| BLAKE2b-256 |
4b9c80dad75feb17bd98b167a60610f0ee5273d1fed8204563384d5f0d08bc16
|
File details
Details for the file nhs_aws_helpers-0.8.44-py3-none-any.whl.
File metadata
- Download URL: nhs_aws_helpers-0.8.44-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 |
c9b58ce3aa21cfd315734904510645007a18e12a7a1e0697b49f33d4ccca93e6
|
|
| MD5 |
37dcf88dd0013e13cc17f33512d55dad
|
|
| BLAKE2b-256 |
71629554f8f93ad820210de99ff03911220855fc09936d4c65e08b446f0fdc6a
|