{"id":19289910,"url":"https://github.com/snkas/discrevpy","last_synced_at":"2025-04-22T05:32:07.261Z","repository":{"id":57418481,"uuid":"361825488","full_name":"snkas/discrevpy","owner":"snkas","description":"Minimalist discrete event simulator in Python.","archived":false,"fork":false,"pushed_at":"2021-05-02T18:38:03.000Z","size":338,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2024-09-29T08:08:30.383Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"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/snkas.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}},"created_at":"2021-04-26T16:50:03.000Z","updated_at":"2021-05-02T18:35:08.000Z","dependencies_parsed_at":"2022-09-13T08:00:47.458Z","dependency_job_id":null,"html_url":"https://github.com/snkas/discrevpy","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snkas%2Fdiscrevpy","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snkas%2Fdiscrevpy/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snkas%2Fdiscrevpy/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/snkas%2Fdiscrevpy/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/snkas","download_url":"https://codeload.github.com/snkas/discrevpy/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":223888637,"owners_count":17220136,"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":[],"created_at":"2024-11-09T22:17:24.742Z","updated_at":"2024-11-09T22:17:33.361Z","avatar_url":"https://github.com/snkas.png","language":"Python","readme":"# discrevpy: minimalist discrete event simulator\n\n[![build](https://github.com/snkas/discrevpy/workflows/build/badge.svg)](https://github.com/snkas/discrevpy/actions?query=workflow%3Abuild+branch%3Amaster)\n[![codecov](https://codecov.io/gh/snkas/discrevpy/branch/master/graph/badge.svg)](https://codecov.io/gh/snkas/discrevpy) \n[![license: MIT](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/snkas/discrevpy/blob/master/LICENSE)\n[![GitHub release version](https://img.shields.io/github/v/release/snkas/discrevpy)](https://github.com/snkas/discrevpy/releases)\n[![PyPI version](https://img.shields.io/pypi/v/discrevpy?color=blue)](https://pypi.org/project/discrevpy/)\n\n**discrevpy** is a minimalist discrete event simulator in Python. It makes use of function/method\ncallbacks in its event execution. The discrevpy simulator does not implement any message passing\nand is thus exclusively single-threaded.\n\n\n## Installation\n\n**Python version: 3.7+**\n\n```bash\npython3 -m pip install discrevpy\n```\n\n\n## Getting started\n\n**Example usage:**\n\n```python\nfrom discrevpy import simulator\n\ndef something(value):\n  print(\"t=\" + str(simulator.now()) + \": something() with value \" + str(value))\n\nsimulator.ready()\nsimulator.schedule(44, something, \"ABC\")\nsimulator.schedule(967, something, \"XYZ\")\nsimulator.end(10000)\nsimulator.run()\nsimulator.reset()\n```\n\n**Documentation:**\n\nhttps://snkas.github.io/discrevpy/\n\n**Next steps:**\n\n* [View some short examples](https://snkas.github.io/discrevpy/short_examples.html)\n* [View more in-depth longer examples](https://snkas.github.io/discrevpy/long_examples.html)\n* [Explore the API](https://snkas.github.io/discrevpy/api_reference.html)\n* [Learn more about discrete event simulation](https://snkas.github.io/discrevpy/what_is_discrete_event_simulation.html)\n* [Read some tips to help you speed up your simulations](https://snkas.github.io/discrevpy/practical_tips.html)\n* [Understand better the memory usage overhead of discrevpy](https://snkas.github.io/discrevpy/memory_usage.html)\n\n**Development:**\n\n* [Read the module development instructions](https://snkas.github.io/discrevpy/development.html)\n* [Browse the GitHub repository](https://github.com/snkas/discrevpy)\n* [View the MIT license](https://github.com/snkas/discrevpy/blob/master/LICENSE)\n","funding_links":[],"categories":["Uncategorized"],"sub_categories":["Uncategorized"],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnkas%2Fdiscrevpy","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsnkas%2Fdiscrevpy","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsnkas%2Fdiscrevpy/lists"}