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.90
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.90.tar.gz | 40.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nhs_aws_helpers-0.8.90-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.8 kB
Release files / nhs_aws_helpers-0.8.90.tar.gz
| Download URL | nhs_aws_helpers-0.8.90.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fa96b3bdefd72b5b6e9860c9787fac88367267974099b5de9fbc93b44a23c80f
|
|
BLAKE2b-256 checksum How to use checksums |
39e0b99bd84c07c7bf354022c5d08471474c1274e199480deca3caa064e8103e
|
| 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.90-py3-none-any.whl
| Download URL | nhs_aws_helpers-0.8.90-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
eeadedbed87d575e08745181531f2bc659c078118c4c301b5b830f093d37fc9c
|
|
BLAKE2b-256 checksum How to use checksums |
2eb2ede6a1c91ea9182ec40c7b7d4e1ee34f5adc462528d01cb46dcd2fb4e52e
|
| 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
|