chayandatta / Jupyter2Pluto.jl

Convert a Jupyter notebook to Pluto notebook (vice versa)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Jupyter2Pluto

Jupyter2Pluto is a Julia package that allows you to convert Jupyter notebooks into Pluto.jl notebooks and vice versa.

Installation

You can install Jupyter2Pluto using the Julia package manager. Open a Julia REPL and run the following commands:

using Pkg
Pkg.add("Jupyter2Pluto")

Converting Jupyter to Pluto

To convert a Jupyter notebook into a Pluto notebook, use the following Julia code snippet after installing Jupyter2Pluto:

using Jupyter2Pluto
jupyter2pluto("sample.ipynb")

This command will create a new Pluto notebook named sample.jl in your current working directory.

Converting Pluto to Jupyter

If you have a Pluto notebook and want to convert it to a Jupyter notebook, simply use the following Julia code:

pluto2jupyter("sample.jl")

This command will create a new Jupyter notebook named sample.ipynb in your current working directory.

Contributions

If you'd like to improve the package, fix issues, or add new features, please consider contributing to the project.

About

Convert a Jupyter notebook to Pluto notebook (vice versa)

License:MIT License


Languages

Language:Julia 100.0%