Code Monkey home page Code Monkey logo

ox-ipynb-1's Introduction

License GPL 3

Synopsis

NOTE: This repository is a WIP. The software is still a prototype, but it is functional.

ox-ipynb is an org-mode exporter for Jupyter Notebook. It is written and designed with the intention of making it an official org-mode exporter, i.e., by merging it upstream. As such, when a stable version is achieved, a request for an upstream merge will be issued.

Preview

NOTE: This section will contain screenshots/screencasts when they are ready.

Installation

Via MELPA

The package is not yet available on MELPA.

Via cloning

You can clone the repository somewhere in your load-path. If you would like to assist with development, this is the way to go.

To do that:

  1. Create a directory where you’d like to clone the repository, e.g. mkdir ~/projects.
  2. cd ~/projects
  3. git clone https://github.com/zaeph/ox-ipynb.git

You now have the repository cloned in ~/projects/ox-ipynb/. See Quick-start to learn how to add it to your load-path and to get started with the package.

You can also copy ox-ipynb.el somewhere where load-path can access it, but you’d have to update the file manually.

Quick-start 🚀

You can get ox-ipynb up and running by pasting the following sexps in your init-file:

With use-package

(use-package ox-ipynb
  :load-path "~/projects/org-roam-bibtex/") ;Modify with your own path

Without use-package

(add-to-list 'load-path "~/projects/ox-ipynb/") ;Modify with your own path
(require 'ox-ipynb)

Usage

You can now access the Jupyter exporter in an org-mode file by pressing C-c C-e. You will see a line [j] Export to Jupyter in the *Org Export Dispatcher* which mentions the different options available to you.

Frequently-Asked Questions

Q: How does this package differ from jkitchin/ox-ipynb?

A: jkitchin/ox-ipynb is a another attempt at a Jupyter Notebook exporter for org-mode, and a great one at that. It covers more edge-cases than zaeph/ox-ipynb currently does, but it suffers from early design decisions which 1) make it nearly impossible to implement some common org-export features, and 2) make it impossible to merge it upstream. zaeph/ox-ipynb was designed from the ground up with an upstream merge in mind, most notably by playing nice with ox.el and org-element.el, which has the added benefit of making a lot of things Just Work™.

Contributing

To report bugs and suggest new feature use the issue tracker. If you have some code which you would like to be merged, then open a pull request.

License

Copyright © Leo Vivier and contributors. Distributed under the GNU General Public License, Version 3.

ox-ipynb-1's People

Contributors

zaeph avatar

Watchers

James Cloos 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.