Commit Graph

191 Commits

Author SHA1 Message Date
Paul Makepeace a1ea660ffa Catch HTTP errors and report more diags 2013-10-13 00:34:10 +06:00
Paul Makepeace b92aa0efd1 Use project_format instead of split-into-columns:false 2013-10-13 00:02:33 +06:00
Paul Makepeace 1a5f7c482d Default column name in OR 2.5 is "Column 1" 2013-10-13 00:01:58 +06:00
Paul Makepeace 08dd425f28 Be explicit server-originated errors are from server. Derive new project defaults.
sudo tcpflow -AH -c -e  -i lo0 src or dst host localhost and port 3335 | ruby -ractive_support/core_ext -ruri -lne 'next unless /^format=([^&]+)&options=(.*)/; format = URI.unescape($1); opts = URI.unescape($2) ; opts.gsub!(/"(\w+)"/) { %Q['\''#{$1.underscore}'\''] }; opts.gsub!(/:/,": "); opts.gsub!(/,/,",\n\t"); opts.gsub!(/(true|false)/) { $1.titleize }; puts "        '\''#{format}'\'': #{opts},"'
2013-10-12 23:38:16 +06:00
Paul Makepeace 4104e58fd5 Refer to the archived message of David Huynh's original refine client 2013-10-10 16:43:16 +05:00
Paul Makepeace c9fbc66e8e Remove README.txt too 2013-10-10 16:42:29 +05:00
Paul Makepeace bbd4d84c96 Google Refine -> OpenRefine 2013-10-10 16:41:10 +05:00
Paul Makepeace eade7dafe0 Use full path to test data 2013-10-10 15:40:23 +05:00
Paul Makepeace 5b701821a9 incorrectly class attributes 2013-10-10 15:32:56 +05:00
Paul Makepeace 6f8db835ab Add a link to pip installer 2013-10-09 23:16:43 +05:00
Paul Makepeace bc0a8e7c7b Whitespace & minor renaming to bring in line with PEP8 guidelines 2013-10-09 23:16:43 +05:00
Paul Makepeace e9ef9a6d56 Use less confusing package name 2013-10-09 13:27:30 +05:00
Paul Makepeace 251c514cb4 Add MANIFEST.in for correct setup.py sdist upload behavior 2011-07-22 11:00:35 +00:00
Paul Makepeace b446cfedb7 Change Makefile dist target to upload to remind myself how to do it 2011-07-22 11:00:08 +00:00
Paul Makepeace eaa0adda8f Remove apparently no-longer used 'Environment :: Library' classifier 2011-07-22 10:55:18 +00:00
Paul Makepeace 3bed3c04c3 Roll version to 0.2.1 2011-07-21 17:12:20 +00:00
Paul Makepeace 8e07662e65 Remove incomplete reconciliation response parsing. It's not exposed in the API yet and changed from Refine 2.0 to 2.1 2011-07-21 17:03:17 +00:00
Paul Makepeace 2b8456ba34 Read whole file for completeness. Include an example of how to use csv.reader to parse the incoming export 2011-07-20 15:31:47 +00:00
Paul Makepeace e6a2810433 Special case test of :80 to match the client's own figuring 2011-07-20 15:30:57 +00:00
Paul Makepeace e6a3038e46 Init key_column 2011-06-23 09:51:12 +00:00
Paul Makepeace 4405e4a9b1 Guard use of reconCandidates
which existed only up to Refine 2.0
2011-06-23 09:50:56 +00:00
Paul Makepeace a9066491a7 Don't use kwargs any more 2011-06-23 09:50:18 +00:00
Paul Makepeace 63258f58b1 Use + for consistency 2011-06-23 09:49:59 +00:00
Paul Makepeace bd43d001c4 Clean up interface to passing multiple facets into Engine() 2011-06-23 09:49:25 +00:00
Paul Makepeace 9a461607b9 Ensure clearing facet map 2011-06-23 09:48:16 +00:00
Paul Makepeace 5e544bb827 Move get_version() to RefineServer & add RefineServer.version lazy property 2011-06-10 17:49:06 +00:00
Paul Makepeace bd44e16b07 Remove unused import & trailing whitespace 2011-06-10 17:47:46 +00:00
Paul Makepeace c21def528b Update to include reconciliation features 2011-06-10 14:42:18 +00:00
Paul Makepeace 7a77121e8c No engine for get-processes, and decode reconciliation JSON response 2011-06-10 14:39:54 +00:00
Paul Makepeace 59b9b51715 Fix up get_preference() 2011-06-10 14:39:20 +00:00
Paul Makepeace c345c465be Clarity docs (I hope) 2011-06-10 14:38:44 +00:00
Paul Makepeace 9ab8ab3695 Add query params option and tidy up parameter organization 2011-06-10 14:38:16 +00:00
Paul Makepeace d3163dd693 Add ReconJudgmentFacet 2011-06-10 14:31:05 +00:00
Paul Makepeace 8e2f44412f Re-enable test_get_models & add test for RefineProject.columns and .wait_until_idle() 2011-06-10 13:06:41 +00:00
Paul Makepeace 316b60b387 Add RefineServer.url() staticmethod to report the Refine server's url 2011-06-10 12:53:46 +00:00
Paul Makepeace 294f3f2690 Remove unused import & whitespace 2011-06-10 12:43:48 +00:00
Paul Makepeace bbb1a374f3 Save & restore REFINE_{HOST,PORT} to allow use of env vars 2011-06-10 12:43:16 +00:00
Paul Makepeace 30d119f5c8 Add untested reconciliation support. 2011-06-09 12:07:18 +00:00
Paul Makepeace 92504e0b34 Allow pending as a response 2011-06-09 12:03:15 +00:00
Paul Makepeace 550b3d9f51 Line wrap 2011-06-09 10:50:13 +00:00
Paul Makepeace 840cf71a29 Remove unused import 2011-06-09 10:49:58 +00:00
Paul Makepeace 5fa24d3509 Add missing time import 2011-06-08 17:17:16 +00:00
Paul Makepeace 0883216e0f Allow no options or args and just print usage. Return project so it's available with python -i refine.py 2011-06-08 17:07:39 +00:00
Paul Makepeace dfcf5e8978 Add --help explicitly to suggest trying that for more help 2011-06-08 17:06:50 +00:00
Paul Makepeace cfd7b9ac99 Start Reconciliation API with guess_types_of_column 2011-06-08 17:05:55 +00:00
Paul Makepeace fce48f1e4c Add --apply example 2011-05-27 01:56:18 +01:00
Paul Makepeace 36beb59d15 Ensure default values for REFINE_{HOST,PORT} 2011-05-27 01:55:58 +01:00
Paul Makepeace 31e30df5bd Script to list Refine project; apply a JSON operation history; and export a Refine project 2011-05-27 01:35:14 +01:00
Paul Makepeace b6137dd803 Allow REFINE_{HOST,PORT} to be set in code. 2011-05-27 01:19:44 +01:00
Paul Makepeace 83f2649221 Allow REFINE_{HOST,PORT} to be set in code. 2011-05-27 00:45:10 +01:00