twosigma / twosigma/beakerx

load JAR from URL

Open
#6,975 0 comments 0 reactions 0 assignees View on GitHub
Enhancement Kernel
Dominant language
Jupyter Notebook
Stars
2.9k
Forks
383
PR merge metrics
No merged PRs in 30d

Description

doc/groovy/STIL.ipynb loads a JAR from a URL like this:
```
%classpath add mvn commons-io commons-io 2.6

import org.apache.commons.io.FileUtils

stilUrl = "http://www.star.bristol.ac.uk/~mbt/stil/stil.jar"
stilFile = System.getProperty("java.io.tmpdir") + "/stilFiles/stil.jar"
FileUtils.copyURLToFile(new URL(stilUrl), new File(stilFile));

%classpath add dynamic stilFile
```

would be cool to if the magic could do this directly, like
```
%classpath add url http://www.star.bristol.ac.uk/~mbt/stil/stil.jar
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.