yuuno package

Module contents

class yuuno.Yuuno(**kwargs)[source]

Bases: yuuno.core.settings.Settings

Main-instance of Yuuno.

environment

A trait whose value must be an instance of a specified class.

The value can also be an instance of a subclass of the specified class.

Subclasses can declare default classes by overriding the klass attribute

extensions

An instance of a Python list.

get_extension(cls: typing.Type[T]) → typing.Union[~T, NoneType][source]

Returns the loaded extension given by type. :param cls: The class of the object. :return: The given extension or None

namespace

A trait whose value must be an instance of a specified class.

The value can also be an instance of a subclass of the specified class.

Subclasses can declare default classes by overriding the klass attribute

output

A trait whose value must be an instance of a specified class.

The value can also be an instance of a subclass of the specified class.

Subclasses can declare default classes by overriding the klass attribute

start() → None[source]

Initializes essential stuff about Yuuno.

stop() → None[source]

Clears up stuff about yuuno.

wrap(obj: object) → object[source]

Create the clip-wrapper for a specific object.

yuuno.load_ipython_extension(ipython: IPython.core.interactiveshell.InteractiveShell) → None[source]

Called when IPython load this extension.

Parameters:ipython – The current IPython-console instance.
yuuno.unload_ipython_extension(ipython) → None[source]

Called when IPython unloads the extension.