Commit Graph

19 Commits

Author SHA1 Message Date
Alan Orth 19d78eb55d
pyproject.toml: update dependencies
black is no longer beta, remove ipython because I can use the one
installed system wide and it doesn't like being in a virtual env
anyways. flake8 is a new major version.
2022-01-30 13:42:05 +03:00
Alan Orth 070d19af82
pyproject.toml: update minimum Python version
The csv-metadata-quality project will currently pull in Pandas 1.4.0,
which has a minimum Python requirement of 3.8.
2022-01-30 13:36:55 +03:00
Alan Orth 2c517717ed
pyproject.toml: use Flask 2.0 2021-12-08 20:38:14 +02:00
Alan Orth a8446ae95b
pyproject: minor version bump 2021-12-08 20:23:10 +02:00
Alan Orth 883ac1166a
pyproject.toml: update csv-metadata-quality
Use the recently release v0.5.0.

See: https://github.com/ilri/csv-metadata-quality/releases/tag/v0.5.0
2021-12-08 19:56:52 +02:00
Alan Orth 8bb90ed6b1
pyproject.toml: Update csv-metadata-quality version
Fixes some issues with Python deps.
2021-04-14 16:56:01 +03:00
Alan Orth c5138f8065
Update csv-metadata-quality version for Mojibake support 2021-03-19 11:59:21 +02:00
Alan Orth 36a072b1fd
pyproject.toml: Bump version to 0.0.2
continuous-integration/drone/push Build is passing Details
2021-03-17 10:10:01 +02:00
Alan Orth 99cb76568f
pyproject.toml: Use csv-metadata-quality v0.4.7
This includes some minor optimizations and the ability to check for
duplicate items.

See: https://github.com/ilri/csv-metadata-quality/releases/tag/v0.4.7
2021-03-17 10:08:06 +02:00
Alan Orth 2a852c9ed3
pyproject.toml: Pin new version of csv-metadata-quality
This version doesn't bother checking invalid multi-value separators.
Instead it just fixes them.
2021-03-14 21:09:07 +02:00
Alan Orth 4e52d1bcc9
Add configurable requests cache directory
As I expected, on Google App Engine we can't write the cache file
to the current working directory. I modified csv-metadata-quality
CLI to check for the REQUESTS_CACHE_DIR environment variable so we
don't really have to do anything different other than setting the
variable.
2021-03-14 10:06:39 +02:00
Alan Orth 3715c5e976
Use new commit for csv-metadata-quality
This one doesn't treat the fixing of invalid multi-value separators
as "unsafe".
2021-03-13 13:02:47 +02:00
Alan Orth 982b47459c
Use gunicorn to run on Google App Engine
See: https://cloud.google.com/appengine/docs/flexible/python/quickstart
2021-03-12 23:10:29 +02:00
Alan Orth 032fa5f2e7
pyproject.toml: Use default csv-metadata-quality release
Now that we are just running the command line version via a Python
subprocess we don't have to do anything special.
2021-03-12 21:18:50 +02:00
Alan Orth e13d63bf6b
Major refactor
Refactor the templates to include a header, use csv-metadata-quality
in a subshell instead of trying to import and pass args to it (which
I actually managed to do, but then trying to capture the output was
an issue), and use ansi2html to prepare the CLI output as the HTML.
2021-03-12 19:14:49 +02:00
Alan Orth f1060e79b8
pyproject.toml: Use the web branch of csv-metadata-quality
I'm still trying to figure out what modifications we need to make
to the standalone command line tool to use it here from Flask.
2021-03-12 19:03:51 +02:00
Alan Orth 0eeea43f17
Use csv-metadata-quality 0.4.6-dev 2021-03-11 22:49:01 +02:00
Alan Orth b04b441c3f
Add ipython to dev dependencies 2021-03-11 14:06:05 +02:00
Alan Orth a7be9ff1b7
Initial project creation with poetry init 2021-03-11 13:47:06 +02:00