A simple but opinionated metadata quality checker and fixer designed to work with CSVs in the DSpace ecosystem.
Go to file
Alan Orth c6e7d6d9b5
Add flake8 to pipenv dev environment
To help check PEP8 formatting/style compliance.
2019-07-28 17:46:30 +03:00
csv_metadata_quality csv_metadata_quality/app.py: Remove unused test input files 2019-07-28 17:45:05 +03:00
data Add Excel verion of test file 2019-07-28 17:07:33 +03:00
tests tests: Remove unused pytest import 2019-07-28 17:42:54 +03:00
.build.yml .build.yml: Fix setup script 2019-07-27 00:41:57 +03:00
.flake8 Add flake8 to pipenv dev environment 2019-07-28 17:46:30 +03:00
LICENSE.txt Add GPLv3 license 2019-07-26 22:16:16 +03:00
Pipfile Add flake8 to pipenv dev environment 2019-07-28 17:46:30 +03:00
Pipfile.lock Add flake8 to pipenv dev environment 2019-07-28 17:46:30 +03:00
README.md README.md: Remove todo for date validation 2019-07-28 17:26:39 +03:00
requirements-dev.txt Update python requirements 2019-07-28 17:12:20 +03:00
requirements.txt Update python requirements 2019-07-28 17:12:20 +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
  • Fix invalid multi-value separators? Check if there are any valid cases of "|" in the database

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.