A simple but opinionated metadata quality checker and fixer designed to work with CSVs in the DSpace ecosystem.
Go to file
Alan Orth 41a30f1b07
Add initial tests
For now only test fixes because they return changed data. I'm not
sure how to test the checks, because they don't return data and I
can't modify them to return boolean values without breaking the app.
2019-07-27 00:36:40 +03:00
csv_metadata_quality csv_metadata_quality/app.py: Fix path to test.csv 2019-07-27 00:25:30 +03:00
data Move tests.csv to data directory 2019-07-27 00:02:47 +03:00
tests Add initial tests 2019-07-27 00:36:40 +03:00
.build.yml Add SourceHut build file 2019-07-26 23:56:16 +03:00
LICENSE.txt Add GPLv3 license 2019-07-26 22:16:16 +03:00
Pipfile Add pytest to pipenv dev environment 2019-07-27 00:32:53 +03:00
Pipfile.lock Add pytest to pipenv dev environment 2019-07-27 00:32:53 +03:00
README.md README.md: Add SourceHut build badge 2019-07-26 23:59:31 +03:00
requirements-dev.txt Add requirements-dev.txt 2019-07-27 00:33:52 +03:00
requirements.txt Add requirements.txt 2019-07-26 23:54:07 +03:00

README.md

CSV Metadata Quality builds.sr.ht status

A simple but opinionated metadata quality checker and fixer designed to work with CSVs in the DSpace ecosystem. Supports multi-value fields using the standard DSpace value separator ("||").

Written and tested using Python 3.7.

Checks

Supports checking the validity of the following metadata elements:

  • ISSN
  • ISBN
  • Multi-value separators

Fixes

Supports fixing the following metadata issues:

  • Leading, trailing, and excessive whitespace

Todo

  • Reporting / summary
  • Real logging

License

This work is licensed under the GPLv3.

The license allows you to use and modify the work for personal and commercial purposes, but if you distribute the work you must provide users with a means to access the source code for the version you are distributing. Read more about the GPLv3 at TL;DR Legal.