module ipythonhelper.magic_scratch

Inheritance diagram of code_beatrix.ipythonhelper.magic_scratch

Short summary

module code_beatrix.ipythonhelper.magic_scratch

Magic command to handle files

source on GitHub

Classes

class

truncated documentation

MagicScratch

Defines magic commands to list the content of a folder

Functions

function

truncated documentation

register_scratch_magics

register magics function, can be called from a notebook

Properties

property

truncated documentation

Context

return the context or None

cross_validation_lock

A contextmanager for running a block with our cross validation lock set to True. At the end of the block, …

Static Methods

staticmethod

truncated documentation

snap_parser

defines the way to parse the magic command %snap

Methods

method

truncated documentation

snap

Defines %snap which inserts a :epkg:`snap` window inside a notebook.

Documentation

Magic command to handle files

source on GitHub

class code_beatrix.ipythonhelper.magic_scratch.MagicScratch(shell=None, **kwargs)[source]

Bases : pyquickhelper.ipythonhelper.magic_class.MagicClassWithHelpers

Defines magic commands to list the content of a folder

Nouveau dans la version 1.1.

source on GitHub

_trait_default_generators = {}
snap(line)[source]

Defines %snap which inserts a :epkg:`snap` window inside a notebook.

source on GitHub

static snap_parser()[source]

defines the way to parse the magic command %snap

source on GitHub

code_beatrix.ipythonhelper.magic_scratch.register_scratch_magics(ip)[source]

register magics function, can be called from a notebook

Paramètres

ip – ip

source on GitHub