You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Improve developer experience on handling Kotlin dependencies.
Kotlin Notebook for general purpose
Existing %use design
I am an experience Kotlin/JVM users and building general purpose Kotlin Notebooks. When I am new to Kotlin Notebook and reading the following inline magic, it is not clear to me about what to resolve in dataframe.
%use dataframe
It is actually controlled by another repository that resolved to org.jetbrains.kotlinx in 0.15.0 version.
The list in the repository is very limited and not practical for Kotlin Notebook to be used in general purpose. Consequently, if my notebook need to use aws kotlin sdk and dataframe. I have two different ways to import dependencies.
More work to maintain the kotlin-jupyter-libraries repostiory
Handle the alias naming collision when it grows
More complexities for new users to kick start in their first step!! (limited library options and need to find another way USE to import)
Not align with the existing JVM/multiple-platform dependencies for experience users
Proposed design
Resolve libraries from Maven automatically.
%use org.jetbrains.kotlinx.dataframe aws.sdk.kotlin:bedrock-jvm
# or with version
%use org.jetbrains.kotlinx.dataframe:0.15.0 aws.sdk.kotlin:bedrock-jvm:1.4.11
As the naming pattern must have {groupId}:{artifactId}:{version}, it should be backward-compatible.
The text was updated successfully, but these errors were encountered:
gaplo917
added a commit
to gaplo917/awesome-kotlin-notebook
that referenced
this issue
Feb 9, 2025
Objective
Existing
%use
designI am an experience Kotlin/JVM users and building general purpose Kotlin Notebooks. When I am new to Kotlin Notebook and reading the following inline magic, it is not clear to me about what to resolve in
dataframe
.It is actually controlled by another repository that resolved to
org.jetbrains.kotlinx
in 0.15.0 version.The list in the repository is very limited and not practical for Kotlin Notebook to be used in general purpose. Consequently, if my notebook need to use
aws kotlin sdk
anddataframe
. I have two different ways to import dependencies.Option 1: Mixed
Option 2: Use gradle-like syntax only
Using a custom alias in kotlin-jupyter-libraries introduced extra complexities.
USE
to import)Proposed design
Resolve libraries from Maven automatically.
As the naming pattern must have
{groupId}:{artifactId}:{version}
, it should be backward-compatible.The text was updated successfully, but these errors were encountered: