{"id":20373406,"url":"https://github.com/arxiver/visual-os-scheduler","last_synced_at":"2025-04-12T06:51:34.828Z","repository":{"id":128770916,"uuid":"234887421","full_name":"arxiver/Visual-OS-Scheduler","owner":"arxiver","description":"Operating systems scheduling algorithms visualization.","archived":false,"fork":false,"pushed_at":"2023-09-01T19:13:50.000Z","size":271,"stargazers_count":8,"open_issues_count":0,"forks_count":3,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-05T09:34:30.244Z","etag":null,"topics":["algorithm","algorithms","algorithms-implemented","cpu","graphs","matplotlib","operating","operating-system","operating-systems-learning","operating-systems-project","operating-systems-tutorials","os-scheduler","priority","round-robin","scheduling-algorithms","tkinter"],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/arxiver.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2020-01-19T11:17:51.000Z","updated_at":"2024-09-03T18:08:53.000Z","dependencies_parsed_at":"2023-12-31T18:25:12.480Z","dependency_job_id":"d8e338b9-ef7e-44c2-9892-bf7ecb81fa47","html_url":"https://github.com/arxiver/Visual-OS-Scheduler","commit_stats":null,"previous_names":["arxiver/visual-os-scheduler"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arxiver%2FVisual-OS-Scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arxiver%2FVisual-OS-Scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arxiver%2FVisual-OS-Scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/arxiver%2FVisual-OS-Scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/arxiver","download_url":"https://codeload.github.com/arxiver/Visual-OS-Scheduler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248530604,"owners_count":21119595,"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":["algorithm","algorithms","algorithms-implemented","cpu","graphs","matplotlib","operating","operating-system","operating-systems-learning","operating-systems-project","operating-systems-tutorials","os-scheduler","priority","round-robin","scheduling-algorithms","tkinter"],"created_at":"2024-11-15T01:18:12.134Z","updated_at":"2025-04-12T06:51:34.809Z","avatar_url":"https://github.com/arxiver.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# OS-Scheduler\nOperating systems scheduling algorithms visualization.\nit is an OS scheduler using different scheduling algorithms\n### Getting Started\nThese instructions will get you a copy of the project up and running on your local machine for develoment.  \npip install requirements.txt  \npip install tkinter  \npython scheduler.py  \n\n### Requirements\nWhat things you need to install ?\n- matplotlib\n- tkinter\n- numpy\n### How to use?\nNB - you must have an input file contains the process to be scheduled . its format is at docs/document file \n1.  Start the program \n2.  Choose an input file \n3.  Select the algorithm using the scrolling box .\n4. Click on Show/Update Graph .\n\nscheduler module is responsible for generating a schedule for the current processes in the system to specify the\nCPU usage by these processes.\nimplemented 4 scheduling algorithms:\n1. Non-Preemptive Highest Priority First.(HPF)\n2. First Come First Served. (FCFS)\n3. Round Robin with fixed time quantum.(RR)\n4. Preemptive Shortest Remaining Time Next.(SRTN)\n\nLibrary used for GUI : Tkinter  \nLibrary used for plots : matplotlib  \nStartup window for selecting (Input file) and (Selecting an algorithm to draw its corresponding scheduling  \nThe following output graphs is for inputfile at (testcases/SheetQuestion.txt)\n\n0 indicates that the cpu is free  \n-1 indicates that the context switching  \n![Startup window for selecting (Input file) and (Selecting an algorithm to draw its corresponding scheduling](docs/front.png)\n### 1. First come first served  \n![Startup window for selecting (Input file) and (Selecting an algorithm to draw its corresponding scheduling](docs/FCFS.png)\n### 2. High priority first  \n![Startup window for selecting (Input file) and (Selecting an algorithm to draw its corresponding scheduling](docs/HPF.png)\n### 3. Round Robin  \n![Startup window for selecting (Input file) and (Selecting an algorithm to draw its corresponding scheduling](docs/RR.png)\n### 4. Short remaining time next  \n![Startup window for selecting (Input file) and (Selecting an algorithm to draw its corresponding scheduling](docs/SRTN.png)\n\n### Authors\n- [@MOKHTAR](https://github.com/rrrokhtar)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farxiver%2Fvisual-os-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Farxiver%2Fvisual-os-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Farxiver%2Fvisual-os-scheduler/lists"}