Skip to main content

Convert your zeppelin notebooks to python

Project description

https://img.shields.io/travis/mecsys/Zeppi_ConvertX.svg https://img.shields.io/pypi/v/Zeppi_ConvertX.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) (deafult: 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_ConvertX-0.1.8.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

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

Uploaded Python 2Python 3

File details

Details for the file Zeppi_ConvertX-0.1.8.tar.gz.

File metadata

  • Download URL: Zeppi_ConvertX-0.1.8.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for Zeppi_ConvertX-0.1.8.tar.gz
Algorithm Hash digest
SHA256 33f4db35b2655aeeaa9930608197d05b55fa4886311929804146c56f7ff1b816
MD5 c517563a28bd58b5fb84e5835a270d1b
BLAKE2b-256 ccb38177ffde4e4e3ee4c570bd9b3f7277644f8395af78d96c2afd46e025b502

See more details on using hashes here.

File details

Details for the file Zeppi_ConvertX-0.1.8-py2.py3-none-any.whl.

File metadata

  • Download URL: Zeppi_ConvertX-0.1.8-py2.py3-none-any.whl
  • Upload date:
  • Size: 3.8 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.3.1 requests-toolbelt/0.9.1 tqdm/4.55.1 CPython/3.8.6

File hashes

Hashes for Zeppi_ConvertX-0.1.8-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 f3fada42d873222cbb264b95338fb880ddbcd602d8bfde8d7a0b67ad66a501ff
MD5 de49745c5dbace4be81d20b9979e6c63
BLAKE2b-256 538af98b3a28818a97a09b2e75dfb387bec932aafe83f5f4427d481e1fce9e7c

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