refine-client

The Google Refine Python Client Library provides an interface to communicating with a Google Refine ser...
Download

refine-client Ranking & Summary

Advertisement

  • Rating:
  • License:
  • GPL
  • Publisher Name:
  • Paul Makepeace
  • Publisher web site:
  • http://paulm.com

refine-client Tags


refine-client Description

The Google Refine Python Client Library provides an interface to communicating with a Google Refine server refine-client is a Python library that provides an interface to communicating with a Google Refine server.Currently, the following API is supported: project creation/import, deletion, export facet computation text text filter numeric blank starred & flagged ... extensible class 'engine': managing multiple facets and their computation results sorting & reordering clustering transforms transposes single and mass edits annotation (star/flag) column move add split rename reorder removeConfiguration:By default the Google Refine server URL is http://127.0.0.1:3333 The environment variables GOOGLE_REFINE_HOST and GOOGLE_REFINE_PORT enable overriding the host & port.In order to run all tests, a live Refine server is needed. No existing projects are affected.Installation:(Someone with more familiarity with python's byzantine collection of installation frameworks is very welcome to improve/"best practice" all this.)1. Install dependencies, which currently is urllib2_file: sudo pip install -r requirements.txt2. Ensure you have a Refine server running somewhere and, if necessary, set the envvars as above.3. Run tests, build, and install: python setup.py test # to do a subset, e.g., --test-suite tests.test_facet python setup.py build python setup.py installThere is a Makefile that will do this too, and more. Requirements: · Python


refine-client Related Software