Version 13 (modified by 9 months ago) ( diff ) | ,
---|
Welcome to Playground project
Various code samples
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()
Note:
See TracWiki
for help on using the wiki.