wiki:WikiStart

Version 11 (modified by Enrico Schwass, 9 months ago) ( diff )

--

Welcome to Playground project

Various code samples

SplitLists

SplitListsRecursivly

Sample project flowtimer

see source:flowtimer@master for the master branch

see source:flowtimer@guix for the development branch

Error: Failed to load processor json
No macro or processor named 'json' found
from Phase import Phase
from RecurringPhaseSequence import RecurringPhaseSequence
from Schedule import Schedule

p1 = Phase('Huddle', 10)
p2 = Phase('Tasking', 5)
p3 = Phase('Work', 45)
p4 = Phase('Break', 15)

seq1 = RecurringPhaseSequence(phase_list = [p1, p2, p3, p4], repetitions=3)
unrolled = [[deepcopy(seq) for seq in [each for each in seq1.repetitions * seq1.phase_list]]]
schedule = Schedule(unrolled)
Note: See TracWiki for help on using the wiki.