notebooks

package
v0.19.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 29, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package notebooks allows one to check if running within a notebook. It supports GoNB [1] and bash_kernel [2].

[1] GoNB: https://github.com/janpfeifer/gonb [2] bash_kernel: https://github.com/takluyver/bash_kernel

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func IsBashKernel

func IsBashKernel() bool

IsBashKernel returns whether running in a Jupyter notebook with a bash_kernel.

func IsGoNB

func IsGoNB() bool

IsGoNB returns whether running in a Jupyter notebook with a GoNB kernel.

func IsNotebook

func IsNotebook() bool

IsNotebook returns whether running inside a Jupyter notebook.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL