bibliopixel.builder.description module

class bibliopixel.builder.description.Description[source]

Bases: object

Set and get project description, either as attributes or as indexes.

Examples are :

desc.run[‘threaded’] = True desc.animation = ‘.tests.PixelTester’

as_dict()[source]

Returns a dictionary of non-empty description

clear()[source]

Clear description to default values

desc
items()[source]

Return an iterable of (key, section value) pairs

update(desc=None, **kwds)[source]

This method updates the description much like dict.update(), except:

  1. for description which have dictionary values, it uses update to alter the existing value and does not replace them.
  2. None is a special value that means “clear section to default” or “delete field”.