Skip to content

Python code to generate a PERT graph and Gantt chart given a task schedule

License

Notifications You must be signed in to change notification settings

iguinhomc/PERTgen

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

PERTgen

Python code to generate a PERT graph and Gantt chart given a task schedule.

Requirements

This project uses python3, and the following libraries must be installed to run it:

  • NetworkX - Used to make the PERT graph.
  • Matplotlib - Used to make the Gantt chart, as well as show and save both the PERT graph and Gantt chart.

Data input

The task data must be given in a CSV file, in the format of the sample ones given (tasks.csv and tasks2.csv), i.e. each row starting from the second one should have a task, its duration and all its dependencies seperated by spaces

Test it

The project can be tested with the simple tkinter GUI by running gui.py with the python3 interpreter, although all the important code is in pert.py which can also be run after specifying which file is to be loaded.

About

Python code to generate a PERT graph and Gantt chart given a task schedule

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 100.0%