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.29.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.29.tar.gz.
File metadata
- Download URL: nhs_aws_helpers-0.8.29.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-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
2ba8e58c14fc1fd5a40a347b2ec9b4da00129308aa59cc5e89167b3a59d141de
|
|
| MD5 |
9dbf125f0d806492926fa23a129ed9dd
|
|
| BLAKE2b-256 |
8b5ec56cb9143e7b6b08995852e082d938fb6ec4ea6935701f968ce1fd877ff0
|
File details
Details for the file nhs_aws_helpers-0.8.29-py3-none-any.whl.
File metadata
- Download URL: nhs_aws_helpers-0.8.29-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-1018-azure
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
c079fc1e9d845ae3729a133455735ac39ece40f70c0255f6a50adb1aa5fd1ad6
|
|
| MD5 |
c40fbbde89b4f5aa0d5c6fe67bffe31c
|
|
| BLAKE2b-256 |
27b67fe66de1c99da9784a55a3259ca47edfb078a23bd83c64ae2af2792192b5
|