Fritter API Documentation Modules Classes Names
Clear Help

For more information on the search, visit the help page.

Module Index

  • 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 Protocols, TypeVars, 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 a TimeDriver and a Scale 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.
      • jsonable - Serialize Scheduler and the calls scheduled with it to JSON.
    • 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 floats 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.

API Documentation for Fritter, generated by pydoctor 24.11.2 at 2025-12-13 07:23:16.