Skip to main content
`Ctrl`+`K`

# jupyter_server.services.kernelspecs package

## Submodules

Tornado handlers for kernel specifications.

Preliminary documentation at ipython/ipython

class jupyter_server.services.kernelspecs.handlers.KernelSpecHandler(application, request, **kwargs)

  Bases: `KernelSpecsAPIHandler`

  A handler for an individual kernel spec.

  get(kernel_name)

    Get a kernel spec model.

class jupyter_server.services.kernelspecs.handlers.KernelSpecsAPIHandler(application, request, **kwargs)

  Bases: `APIHandler`

  A kernel spec API handler.

  auth_resource = 'kernelspecs'

class jupyter_server.services.kernelspecs.handlers.MainKernelSpecHandler(application, request, **kwargs)

  Bases: `KernelSpecsAPIHandler`

  The root kernel spec handler.

  get()

    Get the list of kernel specs.

jupyter_server.services.kernelspecs.handlers.is_kernelspec_model(spec_dict)

  Returns True if spec_dict is already in proper form. This will occur when using a gateway.

jupyter_server.services.kernelspecs.handlers.kernelspec_model(handler, name, spec_dict, resource_dir)

  Load a KernelSpec by name and return the REST API model

## Module contents