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.66
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.66.tar.gz | 40.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| nhs_aws_helpers-0.8.66-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 71.8 kB
Release files / nhs_aws_helpers-0.8.66.tar.gz
| Download URL | nhs_aws_helpers-0.8.66.tar.gz |
|---|---|
| Size | 40.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c58dff05c596ba4ea3bf70442b13e57644da9b2fabef3c59941941c3eb302f90
|
|
BLAKE2b-256 checksum How to use checksums |
ebf10769c254b8dce02d07d63f6f6b6c39875edd9f2ddf56c26f4a31ad189d91
|
| 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.66-py3-none-any.whl
| Download URL | nhs_aws_helpers-0.8.66-py3-none-any.whl |
|---|---|
| Size | 31.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3b76a35b9fad8a297aeb106d6c15c88360011aa4c2541d9ccb0d6bef72a646f9
|
|
BLAKE2b-256 checksum How to use checksums |
163d44eae03abf6f24d90e54b0f0f084c2563801af86055abf6f2fc62488173e
|
| 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
|