Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

project stability #1

Open
capacman opened this issue Oct 1, 2020 · 4 comments
Open

project stability #1

capacman opened this issue Oct 1, 2020 · 4 comments

Comments

@capacman
Copy link

capacman commented Oct 1, 2020

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

@SpencerPark
Copy link
Owner

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

@capacman
Copy link
Author

capacman commented Oct 6, 2020

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.

@SpencerPark
Copy link
Owner

Hi @capacman, got a chance to publish tonight. SHAPSHOTs 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!

@SpencerPark
Copy link
Owner

I know you're kind of in the dark with docs here, but the interesting classes are:

  • KernelSpecManager to search the system for KernelSpecs,
  • KernelLauncher to start a Process (or ProcessBuilder) from the provided spec,
  • and 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 :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants