Code Monkey home page Code Monkey logo

zeppelin-exporter's Introduction

zeppelin-exporter

GitHub release CircleCI MIT License

The export tool for all zeppelin notebooks.

Installation

Get binary from here or build yourself.

go get github.com/bells17/zeppelin-exporter
cd $GOPATH/src/github.com/bells17/zeppelin-exporter
make && make install

Usage

zeppelin-exporter --host 127.0.0.1 -p 8080 > notebooks.json
cat notebooks.json | jq .[0] > notebook1.json
content=`cat notebook1.json`
curl -v -H "Accept: application/json" -H "Content-type: application/json" -d $content http://127.0.0.1:8080/api/notebook/import

Help

zeppelin-exporter --help
Usage:
  zeppelin-exporter [OPTIONS]

Application Options:
      --host=     Zeppelin host (default: 127.0.0.1)
  -p, --port=     port (default: 8080)
      --protocol= protocol (default: http)

Help Options:
  -h, --help      Show this help message

Reference

Development

Requirements

  • ghr
    • And need set your Github Token(export GITHUB_TOKEN="...")
  • zopfli

Use Docker

docker-compose run builder bash

Initialize

make init
make bundle

Run Testing

make test

Build

make build

Release

make tag
make release

zeppelin-exporter's People

Contributors

bells17 avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  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.