pyface.util.id_helper module

Helper functions to automatically generate unique IDs.

pyface.util.id_helper.get_unique_id(object)[source]

Return a unique ID of the form ClassName_X, where X is an integer.

It is only guaranteed that IDs are unique to a specific Python session, not across sessions.