A Jupyter Notebook (based on jupyter/minimal-notebook) with a Swift 4.1 Kernel
509
iSwift is the kernel IPython/Notebook implementation for Swift programming language.
It can:
This project is based off KelvinJin/iSwift but makes a few changes:
The preferred way of using this is via the docker image, either locally or in jupyterhub/binderhub
$ docker run -t -i -p 8888:8888 --privileged rayh/swift-notebook
And open the link you see in the console, which will start Jupyter, from there you can select New -> Swift
You can demo a version of this on binderhub here:
Clone this repo locally. And:
Follow this script to install the libzmq on your machine.
Build the project.
swift build
kernel.json. Put the following content to the file and replace the Path/to/iSwift
with your local clone path.{
"argv": ["Path/to/iSwift/.build/debug/iSwift", "-f", "{connection_file}"],
"display_name": "Swift",
"language": "swift"
}
Folder/that/has/kernel/json with
the path of the folder that contains the kernel.json file)jupyter-kernelspec install Folder/that/has/kernel.json
jupyter notebook --NotebookApp.token=
Simply clone this repo and run docker build -t iswift .. It will build the docker image.
Contributions are welcome. Simply create an issue if you have ideas on how we can improve iSwift.
MIT
Content type
Image
Digest
Size
1.3 GB
Last updated
over 8 years ago
docker pull rayh/swift-notebook