Skip to content

ponyisi/swift-root

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swift-root

Container with Swift + Python + TensorFlow + ROOT 6.20/04

To run dockerhub build:

docker run --rm -p 8888:8888 ponyisi/swift-root

The container will run a Jupyter server with (among others) the kernel Swift-ROOT-Py2, which is what you need.

At the moment, you will need to manually run the following to load ROOT:

import PythonKit
let sys=Python.import("sys")
let os=Python.import("os")
sys.path.append("/root/root/lib")
let ROOT = Python.import("ROOT")

This will get fixed in the future.

For more info on Swift-Python interoperability:

About

Container with Swift + Python + TensorFlow + ROOT

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published