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)
Metadata
Release files for nhs_aws_helpers 0.8.71
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| nhs_aws_helpers-0.8.71.tar.gz | 40.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nhs_aws_helpers-0.8.71-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.8 kB
Release files / nhs_aws_helpers-0.8.71.tar.gz
| Download URL | nhs_aws_helpers-0.8.71.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
731a7808e827e701fb8af885b41966da4a2794c596971553fe0b01e406c52705
|
|
BLAKE2b-256 checksum How to use checksums |
d79ed6a0538fe2c42861938624ab9e06cc68dd0a46145eecb80094d6239832b3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.12.3 Linux/6.17.0-1022-azure
|
Release files / nhs_aws_helpers-0.8.71-py3-none-any.whl
| Download URL | nhs_aws_helpers-0.8.71-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
2be6751054af4d3d9bf58e7ee481b25a833724bf5361f52121524eb67dec34ac
|
|
BLAKE2b-256 checksum How to use checksums |
20b20c380d3598f8d76c41a966f5f12ba0728d2aa8d25d6697d2bc6449fa01b2
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
poetry/2.1.4 CPython/3.12.3 Linux/6.17.0-1022-azure
|