A Jupyter kernel for Clojure - run Clojure code in Jupyter Lab, Notebook and Console.
In the examples
folder of the repository are there 3 example notebooks showing some of the
features of clojupyter. See this
notebook
showing examples of how you can display HTML and use external Javascript:
There are 3 example notebooks because Jupyter offers several distinct user interfaces - Jupyter Lab, Jupyter Notebook and Jupyter Console - which have different feature sets for which clojupyter offers different support. We have one example notebook showing the features shared by Lab and Notebook and for each showing their distinct features. According to the Jupyter development roadmaps, Jupyter Notebook will eventually be phased out and completely replaced by Jupyter Lab.
You can also use existing JVM charting libraries since you can render any Java BufferedImage.
Clojupyter can be used in several ways, please read Usage Scenarios to find out which type of use model best fits you needs, and how to install Clojupyter in that scenario.
To start Jupyter Notebook do:
jupyter notebook
and choose 'New' in the top right corner and select 'Clojure (clojupyter...)' kernel.
To start Jupyter Lab do:
jupyter lab
You can also start the Jupyter Console by:
jupyter-console --kernel=<clojupyter-kernel-name>
Use jupyter-kernelspec list
to list all available kernels. So e.g. in case of installing clojupyter using conda the start command is:
jupyter-console --kernel=conda-clojupyter
Development progress is based on voluntary efforts so we can't make any promises, but the wish list for clojupyter development looks something like this:
Feed-back on development priorities is welcome, use the issue list for input and suggestions.
If you submit a pull request that ends up getting merged, we will give you commit access.
Can you improve this documentation? These fine people already did:
Klaus Harbo, roryk, Rory Kirchner, Aria Haghighi, Daniel Ciumberică, Song Mingxu, Bost, Peter Denno, William Farmer, Rasmus Buchmann, Jieshun, Kane Blueriver & didier amyotEdit on GitHub
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close