fritter
- Fritter, the Frame-Rate IndependenT TimEr tRee.boundaries
- fritter.boundaries
describes the boundaries between different parts of the system and its interface with your application code. It contains Protocol
s, TypeVar
s, and constant values, but no logic of its own.drivers
- Implementations of fritter.boundaries.TimeDriver
and fritter.boundaries.AsyncDriver
.asyncio
- Implementation of TimeDriver
and AsyncDriver
for asyncio
.datetimes
- Implementation of TimeDriver
to convert floating-point POSIX timestamps into timezone-aware datetimes.memory
- In-memory implementation of TimeDriver
for use in tests and batch scripts.sleep
- Implementation of TimeDriver
that can run timers by blocking until all its timers have been run, sleeping between them as necessary.twisted
- Implementation of TimeDriver
and AsyncDriver
in terms of Twisted's APIs, IReactorTime
and Deferred
.heap
- Implementation of PriorityQueue
in terms of the standard library's heappop
and heappush
functions.persistent
- Package of mechanisms for persisting schedulers and timed calls.repeat
- Schedule repeated invocations of a function, indicating how many steps have been passed so that the repeated calls may catch up to real time to preserve timing accuracy when timers cannot always be invoked promptly.rules
- The fritter.repeat.rules
package contains various implementations of fritter.boundaries.RecurrenceRule
.datetimes
- Recurrence rules for use with fritter.repeat.repeatedly
which work with datetype.DateTime objects.seconds
- Recurrence rules for use with fritter.repeat.repeatedly
which work with float
s representing a number of seconds as both a reference point and a delta between times.scheduler
- A Scheduler
is the core interface of Fritter; a collection of timed calls scheduled by callAt
connected to a TimeDriver
that causes them to actually be called.tree
- Groups of timers that may be paused, resumed, or time-scaled together.