2.1.9 • Published 4 years ago

@nteract/fs-kernels v2.1.9

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

@nteract/fs-kernels

This package contains functions for launching a Jupyter kernel, getting stats on it, and shutting it down.

Installation

$ yarn add @nteract/fs-kernels
$ npm install --save @nteract/fs-kernels

Usage

The example below shows how we can use this package to:

  • create a new kernel (new Kernel(kernelName))
  • launch and connect to the kernel (kernel.launch())
  • retrieve usage stats about the kernel's process (kernel.getUsage())
  • terminate the kernel (kernel.shutdown()).
import Kernel from "@nteract/fs-kernels";

export default async () => {
  const kernelName = "python3";
  const kernel = new Kernel(kernelName);
  await kernel.launch();
  console.log(kernel.getUsage());
  await kernel.shutdown();
};

Documentation

You can view the reference documentation for @nteract/fs-kernels in the package docs.

Support

If you experience an issue while using this package or have a feature request, please file an issue on the issue board and, if possible, add the pkg:fs-kernels label.

License

BSD-3-Clause

2.1.11-alpha.0

4 years ago

2.1.10-alpha.0

4 years ago

2.1.9

4 years ago

2.1.9-alpha.0

4 years ago

2.1.8-alpha.0

4 years ago

2.1.7

4 years ago

2.1.6

5 years ago

2.1.5

5 years ago

2.1.4

5 years ago

2.1.3

5 years ago

2.1.2

5 years ago

2.1.1

5 years ago

2.1.0

5 years ago

2.0.9

5 years ago

2.0.8

5 years ago

2.0.7

5 years ago

2.0.6

5 years ago

2.0.5

5 years ago

2.0.4

5 years ago

2.0.3

5 years ago

2.0.2

5 years ago

2.0.1

5 years ago

2.0.0

5 years ago

1.0.4-alpha.0

5 years ago

1.0.3-alpha.0

5 years ago