module documentation

versatile shortcuts for quick typing in an (i)python shell or even from cma.s import * in interactive sessions.

Provides various aliases from within the cma package, to be reached like cma.s....

Don't use for stable code.

This is not actively maintained.

Function clean return "public" elements of a list or dict or of object.__dict__.
Function figshow pyplot.show to make a plotted figure show up
Function _cdict return public attributes of obj as a dict.
def clean(obj, exclude='_'):

return "public" elements of a list or dict or of object.__dict__.

Ignore entries starting with exclude. Return a 'list` when obj is a list or a dict, return a dict otherwise. This is versatile and could change in future.

Typical usage: clean(dir()) or clean(obj) or clean(dir(), '__').

def figshow():

pyplot.show to make a plotted figure show up

def _cdict(obj, exclude='_'):

return public attributes of obj as a dict.

Pass '__' as second argument to see "private" attributes.