Giter Site home page Giter Site logo

ocaml-jupyter / jupyter-kernel Goto Github PK

View Code? Open in Web Editor NEW
16.0 6.0 1.0 260 KB

Library for writing arbitrary jupyter kernels in OCaml.

Home Page: https://ocaml-jupyter.github.io/jupyter-kernel/

Makefile 0.25% OCaml 99.75%
jupyer-notebook ocaml writing-jupyter-kernels zmq

jupyter-kernel's Introduction

jupyter-kernel's People

Contributors

actionshrimp avatar c-cube avatar slel avatar tautologico avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

Forkers

actionshrimp

jupyter-kernel's Issues

API design

We need to discuss the design of this library, how it can be used for various kernels, what capabilities does it expose, etc.
cc @andrewray .

Should this be working currently?

Hi, sorry to ask this really dumb question, but if I run

$ jupyter kernelspec install /path/to/jupyter-kernel --user --replace --name=ocaml

jupyter says, Installed kernelspec ocaml in /Users/ahmed.fasih/Library/Jupyter/kernels/ocaml but ocaml isn’t listed as an available kernel when I do

$ jupyter kernelspec list

or when I start a jupyter notebook. No errors are reported. Should this work currently? Thank you!

kernel installation: doc + script

need some basic doc, and maybe a tiny ocaml script, to install a kernel description foo.json file in ~/.local/share/jupyter/kernels/.

missing functionalities before stable release

  • history not in kernel
  • need better handling of mime messages
  • file extension for language
  • mime type for language
  • banner
  • object info request
  • proper treatment of optional fields in execute_request
  • renaming ipython stuff to jupyter (or even remove prefix, we live in a pack)
  • [ ] hide some modules (all useful if the lib is also used by frontends)
  • streams/stdin handling

Related projects

Below is the equivalent toolset to iocaml.

  • ocaml-jupyter-kernel an ocaml bytecode interpreter
  • js_of_ocaml-jupyter-kernel ocaml bytecode interpreter compiled to javascript (needs some help from ocaml-jupyter-server to function properly)
  • ocaml-jupyter-server webserver for jupyter kernels, built in ocaml. Should run all projects derived from jupyter-kernel without modification.

Note; both kernels above would use the API in #1.

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.