Skip to content

A tool for translating Irish Spatial Data Exchange metadata

Notifications You must be signed in to change notification settings

adamml/isde-translator

Repository files navigation

build workflow

isde_dataset

A Python package for translating dataset metadata between a number of different representations

Motivation

Dataset representations supported

Reads

  • ISO19115/19139 XML

Serialises

  • Schema.org Dataset class as JSON-Linked Data (JSON-LD)
  • World Wide Web Consortium (W3C) Data Catalog Vocabulary (DCAT) as Terse Triple Language (TTL)

Requirements

  • Tested on Python 3.7 and later versions
  • Only core Python libraries are used in the main code

Installation

Development dependencies

Testing

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

Linting

Code linting is checked with flake8 and type checking with mypy.

Building documentation

Documentation is built to HTML with pdoc, e.g.:

pdoc src/isde_dataset -o docs