footprints.proxies

Proxy objects to footprints catalogs.

Functions

footprints.proxies.get(**kw)[source]

Return actual proxy object matching description.

footprints.proxies.items()[source]

Return the items of the proxies table.

footprints.proxies.keys()[source]

Return the list of current proxies tags.

footprints.proxies.values()[source]

Return the list of proxies values.

Classes

class footprints.proxies.FootprintProxy(*args, **kw)[source]

Bases: GetByTag

Access to alive footprint items.

Some class variables may have an impact on GetByTag behaviour:

  • _tag_default: Sets the default tag (if the tag attribute is omitted when calling the constructor, the _tag_default string will be used.

  • _tag_implicit_new: If set to False, unless new=True is specified when calling the constructor, it won’t be allowed to create new objects (a RuntimeError exception will be thrown).

  • _tag_topcls: if set to False, the tags list will be shared with the parent class (and possibly other siblings). The tag_classes() class method allows to retrieve the list of Classes sharing the same list of tags

cat()[source]

Print a list of all existing collectors.

catlist()[source]

Return a list of tuples (len, name, collector) for all alive collectors.

exists(tag)[source]

Check if a given tag of objects is tracked or not.

getitem(item, value=None)[source]

Mimic the get access of a dictionary for defined collectors.

objects()[source]

Print the list of all existing objects tracked by the collectors.

objectsmap()[source]

Return a dictionary of instances sorted by collectors entries.