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


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

Uploaded Source

Built Distribution

nhs_aws_helpers-0.7.20-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nhs_aws_helpers-0.7.20.tar.gz
  • Upload date:
  • Size: 40.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for nhs_aws_helpers-0.7.20.tar.gz
Algorithm Hash digest
SHA256 8e64b4898e9fe7400d8606f2aad77d407867c0a9b6517b964c5bfa45d6e96b5e
MD5 fa387c515754fd7d26c02f62033055e5
BLAKE2b-256 362fd15ee91600cbbb9582d8679f5becab4d50b48ff1389a6140b63ef419cdab

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nhs_aws_helpers-0.7.20-py3-none-any.whl
  • Upload date:
  • Size: 30.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.12.7 Linux/6.5.0-1025-azure

File hashes

Hashes for nhs_aws_helpers-0.7.20-py3-none-any.whl
Algorithm Hash digest
SHA256 8676e0375d448a2324864fe608ef56d7f61ad96d8e2eb1ba05d5c8ec889edc41
MD5 2d04e6e60b8b18abc18961ce5732f99d
BLAKE2b-256 1c8888851054e12ceb592a8d813810c8d4785be576ba385f6290aa0e173194c0

See more details on using hashes here.

Supported by

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