Open capacman opened 4 years ago
Hey @capacman, great use case. I moved it to the restructure
branch of the basekernel repo (https://github.com/SpencerPark/jupyter-jvm-basekernel/tree/restructure) as there are a few related modules that really need to be developed together.
I've been writing some integration tests for the IJava kernel with it and its helping to iron out the api kinks. I can publish a snapshot this weekend if you're looking to use the new branch. The api is very similar but packages shuffled around a little
Hi Spencer,
Thank you for quick response. It would be better for us if you publish a snapshot. Thanks for your help, I appreciate it.
Hi @capacman, got a chance to publish tonight. SHAPSHOT
s are published to https://oss.sonatype.org/content/repositories/snapshots/
. See also https://oss.sonatype.org/#nexus-search;quick~io.github.spencerpark.
You should just need a dependency on io.github.spencerpark:jupyter-jvm-zmq-client:0.0.1-SNAPSHOT
. It has transitives on jeromq and gson like the kernel. The rest of the transitive deps (jupyter-jvm-client-api
, jupyter-jvm-api
, jupyter-jvm-shared-protocol
) under io.github.spencerpark
should be published there as well but please let me know if you're having trouble resolving any.
Thanks!
I know you're kind of in the dark with docs here, but the interesting classes are:
KernelSpecManager
to search the system for KernelSpec
s,KernelLauncher
to start a Process
(or ProcessBuilder
) from the provided spec,ZmqJupyterClient
with the factory method createConnectedTo
to connect to a kernel (of course the props can be for a kernel you start or one that jupyter started as long as you grab it's details from the connection json). Hopefully that's enough to get started :)
Hi ,
When I look project commits latest commit was almost two years ago. Is this project usable? We just want to implement jupyter enterprise gateway like functionality in Java and we need a jupyter client.
Thank you in advance