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.8.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.8-py3-none-any.whl (31.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nhs_aws_helpers-0.8.8.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-1008-azure

File hashes

Hashes for nhs_aws_helpers-0.8.8.tar.gz
Algorithm Hash digest
SHA256 7f6de36e1f6fc46b5416c6e3f8876f02d41187e80147dba01e4f5818355ce05c
MD5 a565a56ff3a639174cbd93379a4a36b9
BLAKE2b-256 7bfe09563b05b35f7c5e7a5801d6848a747f389c1e33fd25082304d40bc91990

See more details on using hashes here.

File details

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

File metadata

  • Download URL: nhs_aws_helpers-0.8.8-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-1008-azure

File hashes

Hashes for nhs_aws_helpers-0.8.8-py3-none-any.whl
Algorithm Hash digest
SHA256 b14c3385928bdd9f317dcfe89a5fa46fdf7f89b30c68e58713f897033b4e1786
MD5 a43cf7529e99c784bf2cb4ac7a0fa029
BLAKE2b-256 4b0b5bf8569a81f94dc66f5f6feb78733b2b41f11201e1b609483bde56744cd4

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