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.3.tar.gz (39.7 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.7.3-py3-none-any.whl (30.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nhs_aws_helpers-0.7.3.tar.gz
  • Upload date:
  • Size: 39.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.5.1 CPython/3.12.2 Linux/6.2.0-1019-azure

File hashes

Hashes for nhs_aws_helpers-0.7.3.tar.gz
Algorithm Hash digest
SHA256 116e046908a51264ba97b0e0c284b7115247c4266287cbca18c3fb8a174713fd
MD5 fbffdc4b4b32b8c87e84af171675dddf
BLAKE2b-256 4826fbffaaa7a983485044d91cabeef726626f8123b068557e210ded87e8f1dc

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nhs_aws_helpers-0.7.3-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.2 Linux/6.2.0-1019-azure

File hashes

Hashes for nhs_aws_helpers-0.7.3-py3-none-any.whl
Algorithm Hash digest
SHA256 48df52bdd65aa7c0dc1508ec00ec4b122eced591a375920013308667f1ce1eb9
MD5 9220c34c291de4c5dffb182269307cc0
BLAKE2b-256 2851a59851bfedeeb6e7abd9011e1a6998529fd7202bee4fe4fa1aa2261a0a48

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