| Version 4 (modified by , 17 months ago) ( diff ) |
|---|
Welcome to Playground project
Sample project flowtimer
see source:flowtimer@master for the master branch
see source:flowtimer@guix for the development branch
{ "phase_list": [ { "title": "Huddle", "duration": 10, "state": "initial", "time_left": 10 }, { "title": "Tasking", "duration": 5, "state": "initial", "time_left": 5 }, { "title": "Work", "duration": 45, "state": "initial", "time_left": 45 }, { "title": "Break", "duration": 15, "state": "initial", "time_left": 15 } ], "repetitions": 2 }
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([p1, p2, p3, p4], 2) sc1 = Schedule(seq1.unrolled()) sc1.phase_list
Note:
See TracWiki
for help on using the wiki.
![(please configure the [header_logo] section in trac.ini)](/playground/chrome/site/playground.png)