A Python package for translating dataset metadata between a number of different representations
- ISO19115/19139 XML
- Schema.org Dataset class as JSON-Linked Data (JSON-LD)
- World Wide Web Consortium (W3C) Data Catalog Vocabulary (DCAT) as Terse Triple Language (TTL)
- Tested on Python 3.7 and later versions
- Only core Python libraries are used in the main code
- flake8 >= 4.0.1
- mypy >= 0.941
- pytest >= 7.1.1
- pytest-cov >= 3.0.0
- pytest-flake8 >= 1.1.1
- pytest-mypy > = 0.9.1
- tox >= 3.24.5
Test are run with pytest
, and on can be automated with tox
for specific Python versions. The tox
tests can be mimicked in
a local environment with:
pytest --cov=isde_dataset --cov-report html --flake8
Code linting is checked with flake8
and type checking with
mypy
.
Documentation is built to HTML with pdoc
, e.g.:
pdoc src/isde_dataset -o docs