The docs for the timer classes show examples using from pyface.timer.api import PyfaceTimer, but that import doesn't work:
Working on commit 46f7009:
Python 3.8.20 (default, Sep 7 2024, 06:33:13)
[Clang 16.0.0 (clang-1600.0.26.3)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from pyface.timer.api import PyfaceTimer
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
ImportError: cannot import name 'PyfaceTimer' from 'pyface.timer.api' (/Users/mdickinson/Enthought/ETS/pyface/pyface/timer/api.py)
Importing from pyface.timer.timer works as expected.
>>> from pyface.timer.timer import PyfaceTimer