Skip to main content

Convert your zeppelin notebooks to python

Project description

Zeppi_Convert is a python library which can convert the zeppelin notebooks to python or any other formats. It has the built in capability to extract the code from different kind of interpreter cells.

Zeppi_Convert got three arguments,

  • i : input file to be converted(required)

  • o : output file to be returned(optional)(default: outputs a zeppiconvert.txt file)

  • int : specific interpreter cells to be converted (optional) (deafult: extracts the code from all the cells)


From the command line, use the keyword zeppi-convert to convert a zeppelin notebook (.json) to any other format output format

$ zeppi-convert -i <input_filename> -o <output_filename> -int <interpreter_type>

Example1: Extract the code from all the cells and output a python file

$ zeppi_convert -i mynotebook.json -o

Example2: Convert a zeppelin notebook to any text format

$ zeppi_convert -i mynotebook.json -o myfile.txt

Example3: Extract the code from a specific interpreter cells

$ zeppi_convert -i mynotebook.json -o myfile.txt -int pyspark

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

Zeppi_ConvertX-0.1.8.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

Zeppi_ConvertX-0.1.8-py2.py3-none-any.whl (3.8 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page