1.0.2 • Published 10 years ago

ipython-paths v1.0.2

Weekly downloads
2
License
BSD-3-Clause
Repository
github
Last release
10 years ago

IPython paths

Fetches expected IPython paths for you, both system installed and user installed kernels.

Only works on IPython 3.x. For 4.x, you'll need jupyter-paths.

For anything earlier, send a PR.

Full listing, doesn't check validity or existence

> require('.').kernelDirsListing()
[ '/usr/share/jupyter/kernels',
  '/usr/local/share/jupyter/kernels',
  '/Users/rgbkrk/.ipython/kernels' ]

Promise that resolves to an array of valid kernel directories

> require('.').kernelDirs().then((dirs) => console.log(dirs))
Promise { <pending> }
> [ '/usr/local/share/jupyter/kernels' ]
1.0.2

10 years ago

1.0.1

10 years ago

1.0.0

10 years ago

0.0.0

10 years ago