Commit Graph

  • 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 Paul Makepeace 2011-05-01 17:21:37 +0000
  • de96dca762 Add my email Paul Makepeace 2011-05-01 17:07:27 +0000
  • 8859a8f396 Add a way of making a Windows-readable README.txt Paul Makepeace 2011-05-01 17:07:09 +0000
  • f863045f01 Fix swapped args in do_raw. Add project_url(). Test fix & RefineProject.export() Paul Makepeace 2011-04-28 18:00:04 +0000
  • e9bc0a2a5a Factor out project_path to tidy Paul Makepeace 2011-04-28 17:57:53 +0000
  • 3d5834c522 Add URL to all URLErrors Paul Makepeace 2011-04-28 17:13:19 +0000
  • e771a0ed53 Fall back to distutils. All platforms info & another classifier Paul Makepeace 2011-04-28 16:39:16 +0000
  • c412ef4e27 .pyc, etc Paul Makepeace 2011-04-28 15:58:43 +0000
  • 480bb3d5b5 Artfinder inspirational credit Paul Makepeace 2011-04-28 15:57:29 +0000
  • d10a1cc5d5 requirements.txt for pip install while I figure out how to get setup.py to do this Paul Makepeace 2011-04-28 15:51:16 +0000
  • 28af98cadb use python setup.py where possible. Remove unused vars. Add more clean up :-/ Paul Makepeace 2011-04-28 15:50:30 +0000
  • 6869ae3134 Update Installation based on using setup.py. Paul Makepeace 2011-04-28 15:49:17 +0000
  • 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 :-/ Paul Makepeace 2011-04-28 15:48:42 +0000
  • 461befef21 mv google/test to tests/ and make it a package Paul Makepeace 2011-04-28 15:47:10 +0000
  • 885afe6f06 (was renamed) Paul Makepeace 2011-04-28 15:39:09 +0000
  • fc69ff7e3c Restore mocked get_models so subsequent tests in the same session work Paul Makepeace 2011-04-28 15:15:10 +0000
  • b7e56fe203 Add some more diagnostics on server connection failure Paul Makepeace 2011-04-28 14:43:15 +0000
  • 35bb7754be Add setup.py Paul Makepeace 2011-04-28 12:13:19 +0000
  • e03b3913b4 Add readme target & clean-up Paul Makepeace 2011-04-28 12:01:33 +0100
  • 8838261f76 Add attribution for data sources. Mention make smalltest, and non-destructive nature of tests. Paul Makepeace 2011-04-28 11:59:35 +0100
  • 3b3e297a6b Add make {clean,dist} to Makefile Paul Makepeace 2011-04-27 19:28:22 +0100
  • 4d97828324 Add README.rst and Makefile Paul Makepeace 2011-04-27 18:53:17 +0100
  • 6d59e2e2cf Document compute_facets() Paul Makepeace 2011-04-27 05:04:09 +0100
  • 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. Paul Makepeace 2011-04-26 23:52:13 -0400
  • f30af6dcdd Remove loose line Paul Makepeace 2011-04-26 22:50:02 -0400
  • ec52c05b3e Add in tests {6} - {9} and skip rest (at least for now) Paul Makepeace 2011-04-26 20:14:54 -0400
  • a0e4ce60e8 Add NumericFacet.reset that clears the range (from, to) Paul Makepeace 2011-04-26 19:31:10 -0400
  • dbe0ba518a Add expression to NumericFacet Paul Makepeace 2011-04-26 19:24:32 -0400
  • 7ce6468d9b Add TutorialTestWebScraping (section 6) {1} - {4} Paul Makepeace 2011-04-26 19:11:56 -0400
  • fe68217fba Take expression out of Facet and put it in TextFacet. Add case_sensitive to TextFilterFacet Paul Makepeace 2011-04-26 19:09:52 -0400
  • 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) Paul Makepeace 2011-04-26 18:59:32 -0400
  • b23147ce48 Fix TextFilterFacet and make query most important option. Paul Makepeace 2011-04-26 18:56:59 -0400
  • 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). Paul Makepeace 2011-04-26 18:20:21 -0400
  • 87903f7808 Amend envvars for GOOGLE_REFINE_{HOST,PORT}. Paul Makepeace 2011-04-26 17:02:40 -0400
  • 423a887f56 Add Engine.set_facets() so RefineProject.{compute_facets,get_rows}() don't lose the Engine's other attrs (i.e. mode). Split TestFacet into component classes in test_facet.py. Paul Makepeace 2011-04-26 16:55:07 -0400
  • 0ba7c56ac3 Tidy grammar & test for no filtering. Paul Makepeace 2011-04-26 16:52:19 -0400
  • df2661448a Simplify server URL parsing & allow a server behind e.g. Varnish. Paul Makepeace 2011-04-26 15:44:32 -0400
  • 7bcf52996a Factor out RefineTestCase into test/refinetest.py Paul Makepeace 2011-04-26 15:13:25 -0400
  • 25f144bf85 Move non-tutorial tests out to test_refine.py. Paul Makepeace 2011-04-26 15:05:02 -0400
  • fa6c544cfc Rename test_{refine,tutorial}.py. Paul Makepeace 2011-04-26 14:58:56 -0400
  • 5f8437327a Tidy & add test_refine commentary. Paul Makepeace 2011-04-26 14:55:18 -0400
  • bde4eb7466 Add row indexing to get_rows()'s response.rows. Paul Makepeace 2011-04-26 14:54:44 -0400
  • d5038c6618 Move camel case testing to test_facet Paul Makepeace 2011-04-26 14:20:47 -0400
  • e8beb422b7 Rename test_{engine,facet}.py Paul Makepeace 2011-04-26 14:13:52 -0400
  • 27586bc10c Remove find-project-by-name functionality as it doesn't really work. Defer project name discovering 'til it's needed. Paul Makepeace 2011-04-26 02:27:22 -0400
  • 51d2294878 Break facet & engine out into facet.py; move refine.py into refine/refine.py. Tidy up (c) notice. Paul Makepeace 2011-04-26 02:02:44 -0400
  • b33d280ee7 Factor out BoolFacet from StarredFacet and add BlankFacet. Paul Makepeace 2011-04-26 01:04:30 -0400
  • b34ff146c4 Tidy up Facet Paul Makepeace 2011-04-26 01:03:28 -0400
  • 478fae7d91 Add split_column(), move_column(). Allow RefineRow to have missing data and return None. This seems to happen when column data at the end of a row is all null. Paul Makepeace 2011-04-26 00:30:20 -0400
  • 65c3309e94 Add reorder_columns(), transpose_rows_into_columns() Paul Makepeace 2011-04-25 23:15:35 -0400
  • 17f39d4447 80 cols Paul Makepeace 2011-04-25 23:14:21 -0400
  • a65ad6fce1 Make facet methods chainable. Paul Makepeace 2011-04-25 23:13:41 -0400
  • 364bed871b Add rename_column(), fill_down(), transpose_columns_into_rows() Paul Makepeace 2011-04-25 21:22:12 -0400
  • d3bd69798b Add tests to complete section 4. Paul Makepeace 2011-04-25 15:56:59 -0400
  • 062f283e6b Add blank_down() and project.has_records (its consequence). Fix unintentional sort in test, and clear sort after reorder_rows(). Paul Makepeace 2011-04-25 15:45:20 -0400
  • d3b4a38574 Remove RefineProject.columns (not really used) and tidy up get_models(). Paul Makepeace 2011-04-25 11:59:18 -0400
  • 10dfc41bcb ResponseRows now created by a factory to allow the column cell index to be used to index rows by column name. Paul Makepeace 2011-04-25 11:51:01 -0400
  • d769f761b9 Correct misunderstanding about how columnModel's cellIndex is working. Paul Makepeace 2011-04-25 10:32:11 -0400
  • 8cd3fdc131 Add add_column() Paul Makepeace 2011-04-25 10:27:28 -0400
  • 191d93e33f Add reorder_rows(), and supporting Sorting class. Paul Makepeace 2011-04-25 02:49:19 -0400
  • ca2b690a17 Have do_json include engine param itself. Paul Makepeace 2011-04-25 01:28:30 -0400
  • 5051a0c15f Add {Starred,Flagged}Facet, and {star,flag}_row. Allow get_rows to have a facets param. Add remove_rows(). Paul Makepeace 2011-04-25 01:08:53 -0400
  • d980f9b89b Pull Facet selection handling into TextFacet. Allow TextFacet to be initialized with selections. Paul Makepeace 2011-04-25 00:03:43 -0400
  • 140413e72a Add compute_clusters(). Rename its testcase. Add stack trace to error reporting. Paul Makepeace 2011-04-24 23:43:45 -0400
  • 1371911c94 Add mass_edit() and edit() Paul Makepeace 2011-04-24 20:45:53 -0400
  • a03212ca94 Add text_transform(). Remove dead engine param from get_rows(). Make error reporting in urlopen_json show returned 'code'. Paul Makepeace 2011-04-24 20:19:45 -0400
  • 2562f199c9 Add tests for custom text & numeric facets. Rename test_basic_facet to test_facet :) Paul Makepeace 2011-04-24 19:13:59 -0400
  • 2da0288975 Add engine.{remove,reset}_all(). Paul Makepeace 2011-04-24 18:51:21 -0400
  • da85e698dd Add NumericFacet & camelcase tests. Rename text_facet to compute_facets. Make FacetResponse more generic, with support for bins & baseBins. Paul Makepeace 2011-04-24 18:36:19 -0400
  • 263c991804 Create NumericFacet and change old Facet to TextFacet, with both as subclasses of Facet. Fix selections -> selection. Paul Makepeace 2011-04-24 17:20:53 -0400
  • 9607c30bfa Test 'office title' facet & allow no blank choice in facet response. Paul Makepeace 2011-04-24 15:59:32 -0400
  • 0657c415b7 Test blank_choice facet Paul Makepeace 2011-04-24 15:56:24 -0400
  • 686723445b Remove redundant add facet test. Add Facet.reset(). Add tests for filtering on 2nd facet, and reset'ing both. Paul Makepeace 2011-04-24 15:45:32 -0400
  • a2fa25d4e4 Add tests for selection faceting for section {8} Paul Makepeace 2011-04-24 15:31:06 -0400
  • c7b445e851 Add: selections to facets; row index to RefineRow; reference to sections of tutorial '{n}' into tests; {7} adding a selection to a facet Paul Makepeace 2011-04-24 15:07:49 -0400
  • 26bc2030a2 Add get_rows() and supporting row classes. Add len() to engine for number of facets. Add test for Engine.add_facet() Paul Makepeace 2011-04-24 12:43:11 -0400
  • 0586e55ea8 Move project creation into test superclass. Paul Makepeace 2011-04-23 15:33:21 -0400
  • 0ba708ada2 Add get_version(), and get_models() that fills in .columns and .column_index. Remove dev comments for upload. Paul Makepeace 2011-04-23 12:49:18 -0400
  • 20af589a96 Google Refine Python client library. Initial check-in: upload project; list projects; delete project; basic text faceting. Test data referred to by David Huynh's Refine tutorial at http://davidhuynh.net/spaces/nicar2011/tutorial.pdf Paul Makepeace 2011-04-23 00:00:10 -0400