{"id":20181076,"url":"https://github.com/dantesc03/pert-method","last_synced_at":"2025-10-07T15:06:46.053Z","repository":{"id":223641930,"uuid":"761104781","full_name":"DanteSc03/Pert-Method","owner":"DanteSc03","description":"Python implementation of the Program Evaluation and Review technique.","archived":false,"fork":false,"pushed_at":"2024-02-29T06:28:46.000Z","size":93,"stargazers_count":4,"open_issues_count":0,"forks_count":3,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T17:19:18.468Z","etag":null,"topics":["ghdesktop","github","github-codespaces","github-copilot","gitkraken","gitlens","graphviz","learn","pert","python","student-vscode"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/DanteSc03.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-02-21T08:48:41.000Z","updated_at":"2024-12-16T11:54:26.000Z","dependencies_parsed_at":"2024-11-14T07:03:26.346Z","dependency_job_id":null,"html_url":"https://github.com/DanteSc03/Pert-Method","commit_stats":null,"previous_names":["dantesc03/pert-method"],"tags_count":2,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FPert-Method","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FPert-Method/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FPert-Method/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/DanteSc03%2FPert-Method/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/DanteSc03","download_url":"https://codeload.github.com/DanteSc03/Pert-Method/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241616700,"owners_count":19991543,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["ghdesktop","github","github-codespaces","github-copilot","gitkraken","gitlens","graphviz","learn","pert","python","student-vscode"],"created_at":"2024-11-14T02:34:15.217Z","updated_at":"2025-10-07T15:06:41.022Z","avatar_url":"https://github.com/DanteSc03.png","language":"Python","readme":"\n# 🔧 PERT Analysis Tool 🔧\n\nThis repository contains a Python implementation of the Program Evaluation and Review Technique (PERT), a widely used tool in project management for planning and scheduling tasks. We made this work for the subject of optimization for business analytics in order to analyze and understand the method and to be able to calculate an example.\n\n## ➕ Description\n\nThe PERT analysis tool calculates several key metrics for project management, including:\n\n- Expected time for task completion.\n- Variance of the time estimates.\n- Earliest and latest start times for each task.\n- Earliest and latest finish times for each task.\n- Slack time for each task, indicating the flexibility in scheduling.\n\n## How to Use ❓\n\n1. Define your tasks and their optimistic (o), pessimistic (p), and most likely (m) time estimates.\n2. Define the dependencies between the tasks.\n3. Run the `pert` function to get the analysis results.\n4. The `Pert.py` file is intended to be a comprehensive example.\n5. Running `pert` in `Pert-Interactive.py` allows you to customize your tasks, the quantity of tasks and the dependencies.\n\n## Requirements\nRun in the command line\n```python \npip install pandas\n```\nPandas is necessary to run the files in this respository\n\n```python\nbrew install graphviz\n```\ngraphviz is required to create the graph within this repository\n\n## Code Example\n\n#### For Pert-Interactive.py\n```python\nimport math\nimport pandas as pd\n\ndef pert(tasks, dependencies):\n    # ... [Include the entire PERT function code here]\n\n# Example usage\ntasks = {\n    # This dictionary is set to blank. When running the program, python will \n    # ask you to complete this information in the command line\n}\n\ndependencies = {\n    # This dictionary is set to blank. When running the program, python will \n    # ask you to complete this information in the command line\n}\n\nresults = pert(tasks, dependencies)\n\n#Print the results\nresults_df = pd.DataFrame.from_dict(results, orient='index')\nprint(results_df)\n```\n\n#### For Pert.py\n```python\nimport math\nimport pandas as pd\n\ndef pert(tasks, dependencies):\n    # ... [Include the entire PERT function code here]\n\n# Example usage\ntasks = {\n    \"A\": (3, 7, 5),\n    \"B\": (2, 6, 4),\n    # ... [Rest of your tasks]\n}\n\ndependencies = {\n    \"A\": [],\n    \"B\": [],\n    # ... [Rest of your dependencies]\n}\n\nresults = pert(tasks, dependencies)\n\n#Print the results\nresults_df = pd.DataFrame.from_dict(results, orient='index')\nprint(results_df)\n```\n\n## Contributing\n\nContributions to improve this tool are welcome. Feel free to fork this repository and submit your pull requests.\n\n## License\n\n[MIT License](LICENSE.md)\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantesc03%2Fpert-method","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdantesc03%2Fpert-method","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdantesc03%2Fpert-method/lists"}