Language and library facilities used in this repository are intentionally restricted within The Python Language and The Python Standard Library. So, the only requirement for running and using this repository is a standard Python 3.4+ environment.
First, prepare a text file, e.g. todo_list.txt, which contains your tasks and their prerequisites.
To schedule the tasks listed in todo_list.txt, run the following command:
python3 scheduler.py < todo_list.txtwhich should give the following result:
Independent Task Group 1:
A
B
C
Independent Task Group 2:
1
2
3In this repo, we adopt PEP 8 as our code style and use pylint to check the conformance.