Commit Graph

250 Commits

Author SHA1 Message Date
Felix Lohmeier 82da3f7b4e add functional tests
all CLI options
replaces manual tests with jupyter notebook
2021-01-02 17:02:39 +01:00
Felix Lohmeier 356315bc9e instructions for appending data
as proposed by @axfelix in #12
2020-08-19 22:17:03 +02:00
Felix Lohmeier 41b90c38b3 pin base image to alpine:3.11 2020-08-08 12:46:23 +02:00
Felix Lohmeier 1c812d1253 update notes for distributing 2020-08-07 22:07:49 +02:00
Felix Lohmeier f0d76b6acd release v0.3.9 2020-08-07 18:21:08 +02:00
Felix Lohmeier ecf253ca44 fix #11 separator 2020-08-07 18:20:31 +02:00
Felix Lohmeier c47ce10eba fix #6 templating with splitToFiles and mode record-based 2019-08-25 21:46:54 +02:00
Felix Lohmeier c80bef3fb1 release v0.3.8 2019-08-22 03:18:36 +02:00
Felix Lohmeier 7b657eb76e workaround for pyinstaller on win32 2019-08-22 03:02:32 +02:00
Felix Lohmeier d22022e273 tests with jupyter notebooks 2019-08-22 01:43:52 +02:00
Felix Lohmeier 6778c5cf73 workaround für pyinstaller 2019-08-22 01:33:06 +02:00
Felix Lohmeier 97bada2254 refactored info command for pyinstaller 2019-08-22 00:36:18 +02:00
Felix Lohmeier bd13ffeb50 support unicode in args 2019-08-21 20:18:27 +02:00
Felix Lohmeier 240d0368f5 harmonize internal names for projectName 2019-08-21 19:50:45 +02:00
Felix Lohmeier 33430d5fe2 emoji in column name is really evil 2019-08-21 19:25:38 +02:00
Felix Lohmeier 3c16169767 add encoding option (defaults to UTF-8 for csv/tsv/txt) and fix templating feature suffixById 2019-08-21 19:24:13 +02:00
Felix Lohmeier 4ed6925b25 add example data with unicode chars 2019-08-21 16:49:39 +02:00
Felix Lohmeier 505a62afc2 support unicode chars in project name and column names 2019-08-21 16:48:43 +02:00
Felix Lohmeier 18a4d68b5c support unicode chars in export to stdout 2019-08-21 16:47:21 +02:00
Felix Lohmeier 41c1e618bb update links to openrefineder (new python2 demo notebook) 2019-08-20 16:47:58 +02:00
Felix Lohmeier cb797fac51 move file back to prior location because it is referenced 2019-08-20 13:37:49 +02:00
Felix Lohmeier f4f38d02fb fix whitespace (codacy issue) 2019-08-20 06:47:35 +02:00
Felix Lohmeier 2e6507bdf2 added code highlighting and improved pip install command 2019-08-20 06:35:33 +02:00
Felix Lohmeier 75e9a763d1 change python command to alias python2 2019-08-20 04:38:15 +02:00
Felix Lohmeier 375ac42be0 realigned create/new_project to upstream
new feature: xml root element will be discovered if recordPath is not set
bugfix: newly introduced option projectTags was not working in 0.3.7
bugfix: txt defaulted to fixed-width (should be line-based)
bugfix: default recordPath for json was not working in 0.3.7
bugfix: default sheets option was broken (but xls, xlsx, ods is broken in OpenRefine >=2.8 anyway, see #4)
tests: added sample files and an ipython notebook for comprehensive tests of create option
2019-08-20 04:30:50 +02:00
Felix Lohmeier 7ad79af3ca improved usage instructions for templating 2019-08-19 15:34:31 +02:00
Felix Lohmeier abbef338ff fix typo 2019-08-16 13:37:45 +02:00
Felix Lohmeier 5730150b8c prepare distribution 2019-08-16 13:15:51 +02:00
Felix Lohmeier caa2ebfde8 Workaround for SSL verification problems in one-file-executables 2019-08-16 13:15:24 +02:00
Felix Lohmeier 062e6960a8 remove unused import (codacy issue) 2019-08-16 12:27:27 +02:00
Felix Lohmeier d9efd5c61b realign test to upstream (fix typo) 2019-08-16 11:39:03 +02:00
Felix Lohmeier bfd00b55aa release v0.3.7 - substantially revised code and docs
fixed bug #1 (option columnWidths broken since v0.3.2)
fixed bug #2 (commands create and export templating broken since v0.3.5)
added --download command
extended --info command
improved performance of --export command
improved error handling and user feedback
removed support for legacy docker option --link
added detailed usage instructions with examples
moved and extended instructions from docker/README.md to README.md
added usage instructions for Python library
added chapter on Binder openrefineder
added badges for docker, pypi and binder
added usage instructions for tests script
added note to myself for distributing releases
moved all functions from parser to cli module
separated export and template function
improved code style (PEP8)
2019-08-16 10:58:41 +02:00
Felix Lohmeier 7d66993982 set required python version from >2.6 to >=2.7 (to be more explicit) 2019-08-16 00:23:26 +02:00
Felix Lohmeier be439c986b templating export format should always be txt 2019-08-16 00:18:59 +02:00
Felix Lohmeier 777d73997c restore project_format default and remove unused code
create project from url has never worked before
new_project_defaults are outdated
2019-08-15 18:06:53 +02:00
Felix Lohmeier e18b4d04be add json history file for test tutorial duplicates.csv 2019-08-14 13:46:44 +02:00
Felix Lohmeier aa5b3a4203 realign to upstream 2019-08-14 13:45:35 +02:00
Felix Lohmeier ad95432fc0 add codacy badge 2019-08-06 22:02:24 +02:00
Felix Lohmeier 6de4399012 improved script tests.sh
default to main versions
option for multiple tags
option for host port
improved usage of sudo
more examples in help screen
2019-08-06 22:01:20 +02:00
Felix Lohmeier 70782d8465 fix templating example 2019-08-06 21:58:28 +02:00
Felix Lohmeier f0e6fbcd75 removed test for 3.1-java7 (OpenRefine 3.1 does not support java 7) 2019-08-06 00:47:39 +02:00
Felix Lohmeier 5819b15cf3 Script for running tests with different OpenRefine and Java versions based on Docker images. 2019-08-05 23:33:55 +02:00
Felix Lohmeier b6f20f2e93 renamed module client.py to cli.py 2019-08-05 10:20:09 +02:00
Felix Lohmeier 4a455282f5 fix PyPI error (invalid classifier) 2019-08-04 03:26:57 +02:00
Felix Lohmeier ece61c1096 prepare distribution on PyPI
moved parser from refine.py to google/refine/__main__.py to allow module execution (python -m google.refine); script refine.py is now just a forwarding to __main__.py
2019-08-04 03:03:49 +02:00
Felix Lohmeier b8675fc894 fix comment in Dockerfile 2019-08-04 02:15:26 +02:00
Felix Lohmeier 1d0c4f828a moved functions from cli script into new module client.py 2019-08-04 02:15:07 +02:00
Felix Lohmeier d82c7b28fb Revert "refactor to allow module execution"
This reverts commit a0123e9511.
2019-08-03 13:23:32 +02:00
Felix Lohmeier 16560cb884 Revert "minor refactoring for dist"
This reverts commit 0c26aad39a.
2019-08-03 13:23:10 +02:00
Felix Lohmeier 0c26aad39a minor refactoring for dist 2019-08-02 23:28:40 +02:00