yuuno.ipython.magic module

class yuuno.ipython.magic.MagicFeature(*args, **kwargs)[source]

Bases: yuuno.ipython.feature.Feature

deinitialize()[source]
magic_manager
magics

An instance of a Python dict.

register_magics(magic: typing.Type[IPython.core.magic.Magics]) → None[source]

Registers a new magic into the IPython console.

Parameters:magic – The magics to use.
unregister_magics(magic: typing.Type[IPython.core.magic.Magics]) → None[source]

Unregisters the magic-type from IPython.

Rant: Why the fuck does IPython define it’s own unregister function?

Parameters:magic – The magics-type you wish to deactivate.