wiki:WikiStart

Version 13 (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

import json
from Phase import Phase
from RecurringPhaseSequence import RecurringPhaseSequence
from Schedule import Schedule

p1 = Phase('Huddle', 600)
p2 = Phase('Tasking', 600)
p3 = Phase('Work', 2700)
p4 = Phase('Sync', 600)
p5 = Phase('Break', 900)

seq1 = RecurringPhaseSequence(title = 'AM', phases = [p2, p3, p4, p5], repetitions=3)
schedule = Schedule(title = 'Morning', blocks= [p1, seq1]).to_json()
Error: Failed to load processor json
No macro or processor named 'json' found
Note: See TracWiki for help on using the wiki.