ipython-paths

1.0.2 • Public • Published

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' ]

Readme

Keywords

Package Sidebar

Install

npm i ipython-paths

Weekly Downloads

0

Version

1.0.2

License

BSD-3-Clause

Last publish

Collaborators

  • hydrosquall
  • benabel
  • alexandercbooth
  • benrussert
  • mpacer
  • theengineear
  • yuvipanda
  • rgbkrk
  • lgeiger
  • ivanov
  • captainsafia
  • peggyrayzis
  • jdetle
  • hasch
  • willingc
  • stormpython
  • crystalline-cat
  • emeeks