Skip to main content

Convert your zeppelin notebooks to python

Project description

https://img.shields.io/travis/kbsriharsha/Zeppi_Convert.svg https://img.shields.io/pypi/v/Zeppi_Convert.svg

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)(default: extracts the code from all the cells)

Usage

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 mypython.py

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_Convert-0.1.2.tar.gz (2.9 kB view details)

Uploaded Source

File details

Details for the file Zeppi_Convert-0.1.2.tar.gz.

File metadata

  • Download URL: Zeppi_Convert-0.1.2.tar.gz
  • Upload date:
  • Size: 2.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.6

File hashes

Hashes for Zeppi_Convert-0.1.2.tar.gz
Algorithm Hash digest
SHA256 e09ed77cd54ca08a312312db78d48e168df7b915e1144cfe477175cfc9610d8e
MD5 ee9ada88fa6b87170ff30d3981cbf7a8
BLAKE2b-256 c0d204f731af8aa81cc83cf8aa05172a3ba0a2f20993d3830f5956ad5a9653c7

See more details on using hashes here.

Supported by

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