GithubHelp home page GithubHelp logo

mozilla-github-standards / 41c086d65ca726287f85fc6d4a923a6202e692fc9818e624687c3f1bf18c61bc Goto Github PK

View Code? Open in Web Editor NEW

This project forked from mozilla/python-zeppelin

0.0 0.0 0.0 517 KB

License: Mozilla Public License 2.0

Makefile 2.30% Python 97.70%

41c086d65ca726287f85fc6d4a923a6202e692fc9818e624687c3f1bf18c61bc's Introduction

Python Zeppelin Build Status

Requirements

  • Python 3.* (Tested on Python 3.6 -- may work on other versions)
  • Cairo: python-zeppelin relies on CairoSVG to convert SVG to PNG. Please refer to the CairoSVG documentation for installation instructions.

Installation

pip install python-zeppelin

Usage

Converter

To convert a Zeppelin .json file into Markdown (.md), run zeppelin-convert -i <<INPUT>> -o <<OUTPUT>> in the main directory.

  • <<INPUT>> is the file name. This is a required field.
  • <<OUTPUT>> is the output file name. This is optional. If this is not provided, the output file name will be called knowledge.md and it will be stored in the current directory. You can also provide a path before the filename to specify a location to save the file path/to/file/filename.

If there are png outputs, they will be stored under /images in the same location as the output file.

Executor

To execute a Zeppelin notebook in command line, run zeppelin-execute -i <<INPUT>> -o <<OUTPUT>> -u <<URL>> in the main directory.

  • <<INPUT>> is the file name. This is a required field.
  • <<OUTPUT>> is the path where you want to save the executed json. This is optional. If this is not provided, the output file will be saved to the current directory. The file name is note.json.
  • <<URL>> is the zeppelin url. This is optional. The default is localhost:8890.

Testing

To execute the tests under /tests, run pytest -v.

41c086d65ca726287f85fc6d4a923a6202e692fc9818e624687c3f1bf18c61bc's People

Contributors

comloo avatar maurodoglio avatar mozilla-github-standards 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.