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.27.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.27.tar.gz.
File metadata
- Download URL: nhs_aws_helpers-0.8.27.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 |
e15cbd326fa5c95cb5415fcd154b3b462456c620d3f91fbb1af6198603d81a10
|
|
| MD5 |
277f13a3b25df5fdba776763f1e5821e
|
|
| BLAKE2b-256 |
3550fec9e24d687f8b8fee03efb37004a16fa36a7cdb0677e394589fb486c688
|
File details
Details for the file nhs_aws_helpers-0.8.27-py3-none-any.whl.
File metadata
- Download URL: nhs_aws_helpers-0.8.27-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 |
edaa906526faa2d174a3a08b145fd11507d88b707b73976f5e29eccd99eb9c08
|
|
| MD5 |
daddd24c2ade35dc947dd77d13cc85e4
|
|
| BLAKE2b-256 |
3cefe060318d6f2ab89a0fab3c2833cb4fb7061a1e425cee514e1fb48977e6ea
|