{"id":19289909,"url":"https://github.com/galenseilis/SimQ","last_synced_at":"2025-04-22T05:32:04.796Z","repository":{"id":261337318,"uuid":"866888860","full_name":"galenseilis/SimQ","owner":"galenseilis","description":"Queueing network tool based on SimPy.","archived":false,"fork":false,"pushed_at":"2024-11-11T02:48:25.000Z","size":37,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-02-23T23:43:46.908Z","etag":null,"topics":["discrete-event-simulation","queueing-models","queueing-networks","queueing-systems","simulation"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/galenseilis.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,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-10-03T04:09:30.000Z","updated_at":"2024-11-11T02:48:29.000Z","dependencies_parsed_at":"2024-11-06T02:50:59.245Z","dependency_job_id":null,"html_url":"https://github.com/galenseilis/SimQ","commit_stats":null,"previous_names":["galenseilis/simq"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galenseilis%2FSimQ","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galenseilis%2FSimQ/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galenseilis%2FSimQ/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/galenseilis%2FSimQ/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/galenseilis","download_url":"https://codeload.github.com/galenseilis/SimQ/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":250175077,"owners_count":21387133,"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":["discrete-event-simulation","queueing-models","queueing-networks","queueing-systems","simulation"],"created_at":"2024-11-09T22:17:24.708Z","updated_at":"2025-04-22T05:32:04.533Z","avatar_url":"https://github.com/galenseilis.png","language":"Python","readme":"# SimQ\n\nQueueing network tool based on SimPy.\n\n# Installation\n\n```bash\npip install SimQ\n```\n\n# Example\n\nThe following is a simple example of using SimQ to simulate a single-node queueing system.\n\n```python\nimport simpy\nfrom simdist import dists\nfrom simq.core import Network, Node\n\nSIMULATION_TIME: float = 30.0\n\ndef leave(customer_id: int, current_queue: Node, queue_system: Network) -\u003e None:\n    queue_system.log(\n        {\n            \"customer\": customer_id,\n            \"action\": \"routing\",\n            \"node\": current_queue.name,\n            \"destination\": \"exit\",\n        }\n    )\n\n\nenv = simpy.Environment()\n\nqueue = Node(\n    env,\n    name=\"Queue 2\",\n    num_servers=1,\n    service_time_dist=dists.Gamma(5, 5),\n    inter_arrival_dist=dists.Gamma(1, 2),\n    routing_strategy=leave,\n)\n\nsystem = Network(env, [queue])\n\nsystem.start_customer_generation()\n\n_ = env.run(until=SIMULATION_TIME)\n\nfor entry in system.event_log:\n    print(entry)\n```\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalenseilis%2FSimQ","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgalenseilis%2FSimQ","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgalenseilis%2FSimQ/lists"}