Skip to content

Commit 82f50f7

Browse files
committed
drop notebook integration until Kotlin/kotlin-jupyter#147 can be resolved
1 parent 9b4f759 commit 82f50f7

File tree

4 files changed

+23
-26
lines changed

4 files changed

+23
-26
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ repositories {
8181
}
8282

8383
dependencies {
84-
implementation("com.github.breandan:kotlingrad:0.4.0")
84+
implementation("com.github.breandan:kotlingrad:0.4.1")
8585
}
8686
```
8787

@@ -99,7 +99,7 @@ dependencies {
9999
<dependency>
100100
<groupId>com.github.breandan</groupId>
101101
<artifactId>kotlingrad</artifactId>
102-
<version>0.4.0</version>
102+
<version>0.4.1</version>
103103
</dependency>
104104
</project>
105105
```

core/build.gradle.kts

+1-4
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ idea.module {
1717

1818
dependencies {
1919
// implementation("org.jetbrains.kotlinx:kotlinx-coroutines-core:1.4.0")
20-
api("com.github.breandan:kaliningraph")
20+
api("com.github.breandan:kaliningraph:0.1.5")
2121

2222
// Mathematical libraries
2323
implementation("ch.obermuhlner:big-math:2.3.0")
@@ -38,9 +38,6 @@ dependencies {
3838
// val tfVersion by extra { "-SNAPSHOT" }
3939
// testImplementation("com.github.tensorflow:java:$tfVersion")
4040
// testImplementation("com.github.tensorflow:tensorflow-core-platform:$tfVersion")
41-
val ejmlVersion = "0.4.0"
42-
testImplementation("org.ejml:ejml-kotlin:$ejmlVersion")
43-
testImplementation("org.ejml:ejml-all:$ejmlVersion")
4441
testImplementation("com.github.breandan:tensor:master-SNAPSHOT")
4542

4643
// Property-based testing

core/kotlingrad.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"link": "https://github.com/breandan/kotlingrad",
33
"description": "A shape-safe symbolic differentiation framework for Kotlin",
44
"dependencies": [
5-
"com.github.breandan:kotlingrad:0.4.0",
5+
"com.github.breandan:kotlingrad:0.4.1",
66
"com.github.breandan:kaliningraph:0.1.5"
77
],
88
"imports": [
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,21 @@
11
package edu.umontreal.kotlingrad.api
22

3-
import org.jetbrains.kotlinx.jupyter.api.annotations.JupyterLibrary
4-
import org.jetbrains.kotlinx.jupyter.api.*
5-
import org.jetbrains.kotlinx.jupyter.api.libraries.*
6-
7-
@JupyterLibrary
8-
internal class Integration: JupyterIntegration() {
9-
override fun Builder.onLoaded() {
10-
listOf(
11-
"edu.umontreal.kotlingrad.api.*",
12-
"edu.mcgill.kaliningraph.*"
13-
).forEach { import(it) }
14-
15-
render<Fun<*>> { HTML(it.render().toString()) }
16-
17-
// https://github.com/Kotlin/kotlin-jupyter/blob/master/docs/libraries.md#integration-using-kotlin-api
18-
// https://github.com/nikitinas/dataframe/blob/master/src/main/kotlin/org/jetbrains/dataframe/jupyter/Integration.kt
19-
// https://github.com/mipt-npm/visionforge/blob/dev/demo/jupyter-playground/src/main/kotlin/hep/dataforge/playground/VisionForgePlayGroundForJupyter.kt
20-
}
21-
}
3+
//import org.jetbrains.kotlinx.jupyter.api.annotations.JupyterLibrary
4+
//import org.jetbrains.kotlinx.jupyter.api.*
5+
//import org.jetbrains.kotlinx.jupyter.api.libraries.*
6+
//
7+
//@JupyterLibrary
8+
//class Integration: JupyterIntegration() {
9+
// override fun Builder.onLoaded() {
10+
// listOf(
11+
// "edu.umontreal.kotlingrad.api.*",
12+
//// "edu.mcgill.kaliningraph.*"
13+
// ).forEach { import(it) }
14+
//
15+
//// render<Fun<*>> { HTML(it.render().toString()) }
16+
//
17+
// // https://github.com/Kotlin/kotlin-jupyter/blob/master/docs/libraries.md#integration-using-kotlin-api
18+
// // https://github.com/nikitinas/dataframe/blob/master/src/main/kotlin/org/jetbrains/dataframe/jupyter/Integration.kt
19+
// // https://github.com/mipt-npm/visionforge/blob/dev/demo/jupyter-playground/src/main/kotlin/hep/dataforge/playground/VisionForgePlayGroundForJupyter.kt
20+
// }
21+
//}

0 commit comments

Comments
 (0)