Metadata-Version: 2.4
Name: tna-utilities
Version: 1.4.0rc1
Summary: A library of common National Archives Python functions
License-Expression: MIT
License-File: LICENCE
Keywords: utilities,library,python,the national archives,tna
Author: Andrew Hosgood
Author-email: andrew.hosgood@nationalarchives.gov.uk
Requires-Python: >=3.10
Classifier: Development Status :: 5 - Production/Stable
Classifier: Programming Language :: Python
Classifier: Intended Audience :: Developers
Classifier: Programming Language :: Python :: 3
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: flask
Requires-Dist: Flask ; extra == "flask"
Project-URL: Bug Tracker, https://github.com/nationalarchives/python-utilities/issues
Project-URL: Changelog, https://github.com/nationalarchives/python-utilities/blob/main/CHANGELOG.md
Project-URL: Documentation, https://nationalarchives.github.io/python-utilities/
Project-URL: Homepage, https://pypi.org/project/tna-utilities/
Project-URL: Repository, https://github.com/nationalarchives/python-utilities
Description-Content-Type: text/markdown

<img src="https://raw.githubusercontent.com/nationalarchives/tna-frontend/main/src/nationalarchives/assets/images/tna-square-logo.svg" alt="The National Archives logo" title="The National Archives" width="100" />

# National Archives Python Utilities

[![Main build status](https://img.shields.io/github/actions/workflow/status/nationalarchives/python-utilities/ci.yml?style=flat-square&event=push&branch=main)](https://github.com/nationalarchives/python-utilities/actions/workflows/ci.yml?query=branch%3Amain)
[![Latest release](https://img.shields.io/github/v/release/nationalarchives/python-utilities?style=flat-square&logo=github&logoColor=white&sort=semver)](https://github.com/nationalarchives/python-utilities/releases)
[![PyPi version](https://img.shields.io/pypi/v/tna-utilities?style=flat-square&logo=pypi&logoColor=white)](https://pypi.org/project/tna-utilities/)
![Python version](https://img.shields.io/pypi/pyversions/tna-utilities?style=flat-square&logo=python&logoColor=white)
[![Licence](https://img.shields.io/github/license/nationalarchives/python-utilities?style=flat-square)](https://github.com/nationalarchives/python-utilities/blob/main/LICENCE)

A library of common National Archives Python functions.

See the [documentation](https://nationalarchives.github.io/python-utilities/).

## Install

```sh
# Install with Poetry
poetry add tna-utilities

# Install with pip
pip install tna-utilities

# Install with extra Flask utilities
poetry add tna-utilities[flask]
pip install tna-utilities[flask]
```

## Developing

```sh
# Install the test dependencies and run the tests
./tasks/test.sh

# Format the code
./tasks/format.sh

# Build the package
./tasks/build.sh
```

