Metadata-Version: 2.4
Name: acdh-xml-pyutils
Version: 2.0.0
Summary: Utility functions to work with XML
Author: Peter Andorfer
Author-email: Peter Andorfer <peter.andorfer@oeaw.ac.at>
License-Expression: MIT
Requires-Dist: lxml>=6.0.2
Requires-Dist: requests>=2.32.5
Requires-Python: >=3.11
Project-URL: Documentation, https://acdh-oeaw.github.io/acdh-xml-pyutils/
Project-URL: Repository, https://github.com/acdh-oeaw/acdh-xml-pyutils.git
Description-Content-Type: text/markdown

# ACDH XML PyUtils

[![Lint](https://github.com/acdh-oeaw/acdh-xml-pyutils/actions/workflows/lint.yml/badge.svg)](https://github.com/acdh-oeaw/acdh-xml-pyutils/actions/workflows/lint.yml)
[![docs](https://github.com/acdh-oeaw/acdh-xml-pyutils/actions/workflows/docs.yml/badge.svg)](https://github.com/acdh-oeaw/acdh-xml-pyutils/actions/workflows/docs.yml)
[![Test](https://github.com/acdh-oeaw/acdh-xml-pyutils/actions/workflows/test.yml/badge.svg)](https://github.com/acdh-oeaw/acdh-xml-pyutils/actions/workflows/test.yml)
[![PyPI version](https://badge.fury.io/py/acdh-xml-pyutils.svg)](https://badge.fury.io/py/acdh-xml-pyutils)

Utility functions to work with XML


## Features

* parse XML from files, strings or URLS
* print/save parsed files

see `tests/test_xml.py` for usage examples


## development

* project uses [uv](https://docs.astral.sh/uv/)
* linting/formatting `uv run ruff check .` `uv run ruff format .`
* before commiting run `flake8` to check linting and `uv run coverage run -m pytest -v` to run the tests

### bump version
```shell
uv version --bump minor
```