Metadata-Version: 2.4
Name: nhs_aws_helpers
Version: 0.7.34
Summary: 
License: MIT
License-File: LICENSE.md
Author: spinecore
Requires-Python: >=3.9,<4.0
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Classifier: Programming Language :: Python :: 3.9
Classifier: Programming Language :: Python :: 3.10
Classifier: Programming Language :: Python :: 3.11
Classifier: Programming Language :: Python :: 3.12
Classifier: Programming Language :: Python :: 3.13
Classifier: Programming Language :: Python :: 3.14
Provides-Extra: pytest
Requires-Dist: boto3 (>=1.38.14,<2.0.0)
Requires-Dist: boto3-stubs[athena,backup,ce,cloudwatch,dynamodb,ecs,events,firehose,glue,healthlake,iam,kms,lambda,logs,s3,secretsmanager,ses,sns,sqs,ssm,stepfunctions,sts] (>=1.38.6,<2.0.0)
Requires-Dist: botocore-stubs (>=1.38.46,<2.0.0)
Project-URL: Repository, https://github.com/NHSDigital/nhs-aws-helpers
Description-Content-Type: text/markdown

# NHS AWS Helpers

some useful boto3 utilities

# quick start

### contributing
contributors see [contributing](CONTRIBUTING.md)

### installing
```shell
pip install nhs-aws-helpers
```

## testing

the library comes with a some pytest  fixtures ... [nhs_aws_helpers/fixtures.py](nhs_aws_helpers/fixtures.py)


```python
# 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)

```

