Commit Graph

195 Commits

Author SHA1 Message Date
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
Paul Makepeace 45a80902ef Allow RefineProject to take just a project id as a convenience. 2011-05-27 00:36:43 +01:00
Paul Makepeace ba4fcbbbb2 Merge pull request #1 from badzil/master
Hi. Fixed a couple of issues where you meant to call self.do_json. Great work which made my life a lot easier.
2011-05-21 08:48:14 -07:00
Benoit Thiell bd8d9e2727 Fix bad function calls
RefineProject.apply_operations and RefineProject.wait_until_idle called RefineProject.do when they are supposed to call RefineProject.do_json.
2011-05-18 15:03:06 -04:00
Paul Makepeace f3354f6fc1 fix indentation 2011-05-13 00:59:20 +01:00
Paul Makepeace ddfcd6baff Add a Contribute section 2011-05-13 00:38:21 +01:00
Paul Makepeace 4dbe1f69b6 new project name 2011-05-01 19:10:38 +00:00
Paul Makepeace b4fa504d9c merge 2011-05-01 18:05:50 +00:00
Paul Makepeace b6c689e5af Remove egg-info from new name. Update make dist to use setup.py now it seems to work. 2011-05-01 17:59:10 +00:00
Paul Makepeace 9ea349b2b4 Remove egg-info from new name. Update make dist to use setup.py now it seems to work. 2011-05-01 17:58:11 +00:00
Paul Makepeace 5702c02407 remove fi ligature that somehow got in there & is breaking ascii codec 2011-05-01 17:49:11 +00:00
Paul Makepeace d26edd815f use find_packages rather than hardcode (actually includes 'google' too, as it happens) 2011-05-01 17:39:41 +00:00
Paul Makepeace 1fa9679b23 Apply GPL 2011-05-01 17:24:12 +00:00
Paul Makepeace 48a738ba00 Remove distutils in favor of setuptools. Rename project to refine-client. Add urllib2_file to install_requires after I got author to upload it, w00t. Add GPL license. Add Text Processing classifier 2011-05-01 17:21:37 +00:00
Paul Makepeace de96dca762 Add my email 2011-05-01 17:07:27 +00:00
Paul Makepeace 8859a8f396 Add a way of making a Windows-readable README.txt 2011-05-01 17:07:09 +00:00
Paul Makepeace f863045f01 Fix swapped args in do_raw. Add project_url(). Test fix & RefineProject.export() 2011-04-28 18:00:04 +00:00
Paul Makepeace e9bc0a2a5a Factor out project_path to tidy 2011-04-28 17:57:53 +00:00
Paul Makepeace 3d5834c522 Add URL to all URLErrors 2011-04-28 17:13:19 +00:00
Paul Makepeace e771a0ed53 Fall back to distutils. All platforms info & another classifier 2011-04-28 16:39:16 +00:00
Paul Makepeace c412ef4e27 .pyc, etc 2011-04-28 15:58:43 +00:00
Paul Makepeace 480bb3d5b5 Artfinder inspirational credit 2011-04-28 15:57:29 +00:00
Paul Makepeace d10a1cc5d5 requirements.txt for pip install while I figure out how to get setup.py to do this 2011-04-28 15:51:16 +00:00
Paul Makepeace 28af98cadb use python setup.py where possible. Remove unused vars. Add more clean up :-/ 2011-04-28 15:50:30 +00:00
Paul Makepeace 6869ae3134 Update Installation based on using setup.py. 2011-04-28 15:49:17 +00:00
Paul Makepeace 98a1f5eb8e Add more metadata. Use setuptools instead of distutils for install_requires and tests, the former of which I couldn't get to work anyway :-/ 2011-04-28 15:48:42 +00:00
Paul Makepeace 461befef21 mv google/test to tests/ and make it a package 2011-04-28 15:47:10 +00:00
Paul Makepeace 885afe6f06 (was renamed) 2011-04-28 15:39:09 +00:00
Paul Makepeace fc69ff7e3c Restore mocked get_models so subsequent tests in the same session work 2011-04-28 15:15:10 +00:00
Paul Makepeace b7e56fe203 Add some more diagnostics on server connection failure 2011-04-28 14:43:33 +00:00
Paul Makepeace 35bb7754be Add setup.py 2011-04-28 12:13:19 +00:00
Paul Makepeace e03b3913b4 Add readme target & clean-up 2011-04-28 12:02:17 +01:00
Paul Makepeace 8838261f76 Add attribution for data sources. Mention make smalltest, and non-destructive nature of tests. 2011-04-28 11:59:35 +01:00
Paul Makepeace 3b3e297a6b Add make {clean,dist} to Makefile 2011-04-27 19:28:22 +01:00
Paul Makepeace 4d97828324 Add README.rst and Makefile 2011-04-27 18:53:17 +01:00
Paul Makepeace 6d59e2e2cf Document compute_facets() 2011-04-27 05:04:46 +01:00
Paul Makepeace 5c4930cc78 Couple Engine to FacetsResponse to enable looking up computed facet by their originating object handle/id. Remove unused Engine.as_dict(). Add some commentary. 2011-04-26 23:52:13 -04:00
Paul Makepeace f30af6dcdd Remove loose line 2011-04-26 22:50:02 -04:00
Paul Makepeace ec52c05b3e Add in tests {6} - {9} and skip rest (at least for now) 2011-04-26 20:18:09 -04:00
Paul Makepeace a0e4ce60e8 Add NumericFacet.reset that clears the range (from, to) 2011-04-26 19:31:10 -04:00
Paul Makepeace dbe0ba518a Add expression to NumericFacet 2011-04-26 19:24:32 -04:00
Paul Makepeace 7ce6468d9b Add TutorialTestWebScraping (section 6) {1} - {4} 2011-04-26 19:11:56 -04:00
Paul Makepeace fe68217fba Take expression out of Facet and put it in TextFacet. Add case_sensitive to TextFilterFacet 2011-04-26 19:09:52 -04:00
Paul Makepeace 5f24f5bd69 Add (back in) self.columns and use in move_column to provide index='end' convenience to move a column to the end (rightmost in UI) 2011-04-26 18:59:32 -04:00
Paul Makepeace b23147ce48 Fix TextFilterFacet and make query most important option. 2011-04-26 18:56:59 -04:00
Paul Makepeace a34c8c72c9 Add HistoryEntry class for responses to many commands. Store that info in the project.history_entry which then allows the test suite to interrogate via assertInResponse (much tidier). 2011-04-26 18:21:43 -04:00
Paul Makepeace 87903f7808 Amend envvars for GOOGLE_REFINE_{HOST,PORT}. 2011-04-26 17:02:40 -04:00