Skip to main content

No project description provided

Project description

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)

Project details


Release history Release notifications | RSS feed

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.12.tar.gz (40.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nhs_aws_helpers-0.8.12-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

Details for the file nhs_aws_helpers-0.8.12.tar.gz.

File metadata

  • Download URL: nhs_aws_helpers-0.8.12.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-1015-azure

File hashes

Hashes for nhs_aws_helpers-0.8.12.tar.gz
Algorithm Hash digest
SHA256 c064191b2111da1e8c0124eda62517e2b442c74feb75f918d7d9b730f2838256
MD5 31629ab348bbd2762d5834cf16108b48
BLAKE2b-256 3972d810c186fb32ef03d9950c8a92285b16cdeaf28f9bcb6780f2ede570dceb

See more details on using hashes here.

File details

Details for the file nhs_aws_helpers-0.8.12-py3-none-any.whl.

File metadata

  • Download URL: nhs_aws_helpers-0.8.12-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-1015-azure

File hashes

Hashes for nhs_aws_helpers-0.8.12-py3-none-any.whl
Algorithm Hash digest
SHA256 cd7e8831851d51acac550da5957ed7f91d456180765d3fd5befa763b3228cfc6
MD5 40993c4a75ac3935a6ecacfa4b2e897f
BLAKE2b-256 7f5adc0183503d58b91920d1910f0b8c456ed681c1532a1f148ae332a1c77ea4

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page