Kotlin Kernel for Jupyter Notebook, v0.8
Today we have released a new version of the Kotlin kernel for Jupyter Notebook, and if you are experimenting with data — give notebooks with Kotlin kernel a try.
One of the great things about Jupyter Notebook is its interactive nature. It allows you to quickly get familiar with your data, try out some ideas, and run some experiments. Kotlin kernel helps you iterate over your ideas even faster by featuring enhanced code completion.
Previously, the kernel was already capable of completing local symbols, but with this update code completion works for global ones as well.
Another new feature included in this update is code completion after the dot:
Finally, when typing a string literal, Kotlin Kernel will help you complete the file paths on your local file system.
While experiments do become faster in a Jupyter Notebook, if you’re used to working in a regular IDE, you may found yourself missing some functionality, such as error analysis.
With this update, errors in your code will be underlined as you type just like in an IDE, and you’ll get a helpful hint on hover:
How To Try
You can play with Kotlin Kernel right in the browser using MyBinder service. There are several examples in the official repository.
To try the new Kotlin kernel with your existing Jupyter Notebook, install it via conda or pip install:
conda install kotlin-jupyter-kernel -c jetbrains
- pip install:
pip install kotlin-jupyter-kernel
Note, Kotlin Jupyter requires Java 8 to be installed:
apt-get install openjdk-8-jre
If you have previously installed Kotlin kernel, use following commands to update it to the latest version:
conda update kotlin-jupyter-kernel -c jetbrains
- pip install:
pip install --upgrade kotlin-jupyter-kernel
Also, feel free to join #datascience channel in the Kotlin community on Slack. We invite you to join this channel to ask questions, find out in what areas help is needed and how you can contribute, and of course share your feedback and your work with the community.
Subscribe to Blog updates
Thanks, we've got you!
Introducing Kotlin Notebook
The first experimental version of the Kotlin Notebook plugin for IntelliJ IDEA is now available! This post will offer insight into the plugin’s functionality and use cases, but before launching into that, we’d like to let the plugin speak for itself: https://youtu.be/2PLYlDJPelQ W…
Kotlin Dataframe 0.9.1 released!
It's time for another Kotlin Dataframe update to start off the new year.There have been a lot of exciting changes since the last 0.8.0 preview release. So without any further ado, let's jump right in! TL;DR: OpenAPI type schemas can now be parsed and converted into data schemas.New JSON readin…
KotlinDL 0.5 Has Come to Android!
Version 0.5 of our deep learning library, KotlinDL, is now available! This release focuses on the new API for the flexible and easy-to-use deployment of ONNX models on Android. We have reworked the Preprocessing DSL, introduced support for ONNX runtime execution providers, and more. Here's a summ…