GithubHelp home page GithubHelp logo

madsi1m / nb_serverproxy_openrefine Goto Github PK

View Code? Open in Web Editor NEW

This project forked from innovationoutside/nb_serverproxy_openrefine

0.0 1.0 0.0 425 KB

Jupyter server proxy for OpenRefine

License: MIT License

Shell 22.56% Python 77.44%

nb_serverproxy_openrefine's Introduction

nb_serverproxy_openrefine

Jupyter server proxy for OpenRefine

Based on the original https://github.com/psychemedia/jupyterserverproxy-openrefine which has some docs, although the reponame/install instructions will need updating for this repo. I will pop the package on PyPi at some point.

Jupyter-server-proxy config for running OpenRefine.

Install as:

pip install nb-serverproxy-openrefine

To install directly from this repo:

pip install git+https://github.com/innovationOUtside/nb_serverproxy_openrefine.git

Open to Notebook homepage: Binder

Open to OpenRefine: Binder

Open to Jupyterlab: Binder

OpenRefine can now be started and launched from the notebook homepage New menu:

Or from the JupyterLab launcher:

The OpenRefine client can be found on the openrefine path (the port number is allocated dynamically).

Calling the path directly (eg starting MyBinder with the path openrefine, or adding ?urlpath=openrefine to the Binder URL) will launch the Binder container directly into the OpenRefine GUI application.

The directory path into which the OpenRefine project files are saved is $HOME/openrefine by default, although you can trump it via the $REFINE_DIR global variable:

openrefine_path =  os.getenv("REFINE_DIR") if "REFINE_DIR" in os.environ else str(Path.home() / 'openrefine')

Early original work on getting OpenRefine running in MyBinder was done by @betatim (betatim/openrefineder) and @yuvipanda helped me get my head round various bits of jupyterhub/jupyter-server-proxy/ which is key to proxying web services via Jupyter. @manics PR for handling predefined, rather than allocated, port mappings also made life much easier...

Python Client

A Python client is also available for working with OpenRefine:

Using the client requires Open Refine to be running. TO DO: should we hardwire the port? Else how do we know where to connect?:

When the client works with Python3 I will add it as an optional dependency to this package.

nb_serverproxy_openrefine's People

Contributors

psychemedia avatar vemonet avatar madsi1m avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.