{"id":34028179,"url":"https://github.com/lccasagrande/batsim-py","last_synced_at":"2026-04-09T00:31:11.767Z","repository":{"id":44862106,"uuid":"214243657","full_name":"lccasagrande/batsim-py","owner":"lccasagrande","description":"Batsim is a scientific simulator commonly used to  evaluate Resource and Job Management System (RJMS) policies. Batsim-py allows using Batsim from Python 3.","archived":false,"fork":false,"pushed_at":"2022-08-23T18:09:04.000Z","size":6316,"stargazers_count":3,"open_issues_count":3,"forks_count":5,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-03T01:34:25.335Z","etag":null,"topics":["batsim","dvfs","grid-computing","python","resource-manager","rjms","scheduler","shutdown","simulator"],"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/lccasagrande.png","metadata":{"files":{"readme":"README.rst","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":"2019-10-10T17:23:57.000Z","updated_at":"2025-03-02T02:18:18.000Z","dependencies_parsed_at":"2022-09-14T23:33:44.860Z","dependency_job_id":null,"html_url":"https://github.com/lccasagrande/batsim-py","commit_stats":null,"previous_names":[],"tags_count":7,"template":false,"template_full_name":null,"purl":"pkg:github/lccasagrande/batsim-py","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lccasagrande%2Fbatsim-py","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lccasagrande%2Fbatsim-py/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lccasagrande%2Fbatsim-py/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lccasagrande%2Fbatsim-py/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lccasagrande","download_url":"https://codeload.github.com/lccasagrande/batsim-py/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lccasagrande%2Fbatsim-py/sbom","scorecard":{"id":581060,"data":{"date":"2025-08-11","repo":{"name":"github.com/lccasagrande/batsim-py","commit":"529ec35ca5487c11ed223f694bdaebb6b231cac5"},"scorecard":{"version":"v5.2.1-40-gf6ed084d","commit":"f6ed084d17c9236477efd66e5b258b9d4cc7b389"},"score":2.5,"checks":[{"name":"Maintained","score":0,"reason":"0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project is \"actively maintained\".","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#maintained"}},{"name":"Packaging","score":-1,"reason":"packaging workflow not detected","details":["Warn: no GitHub/GitLab publishing workflow detected."],"documentation":{"short":"Determines if the project is published as a package that others can easily download, install, easily update, and uninstall.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#packaging"}},{"name":"Dangerous-Workflow","score":-1,"reason":"no workflows found","details":null,"documentation":{"short":"Determines if the project's GitHub Action workflows avoid dangerous patterns.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#dangerous-workflow"}},{"name":"SAST","score":0,"reason":"no SAST tool detected","details":["Warn: no pull requests merged into dev branch"],"documentation":{"short":"Determines if the project uses static code analysis.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#sast"}},{"name":"Code-Review","score":0,"reason":"Found 0/30 approved changesets -- score normalized to 0","details":null,"documentation":{"short":"Determines if the project requires human code review before pull requests (aka merge requests) are merged.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#code-review"}},{"name":"Binary-Artifacts","score":10,"reason":"no binaries found in the repo","details":null,"documentation":{"short":"Determines if the project has generated executable (binary) artifacts in the source repository.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#binary-artifacts"}},{"name":"Token-Permissions","score":-1,"reason":"No tokens found","details":null,"documentation":{"short":"Determines if the project's workflows follow the principle of least privilege.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#token-permissions"}},{"name":"Pinned-Dependencies","score":-1,"reason":"no dependencies found","details":null,"documentation":{"short":"Determines if the project has declared and pinned the dependencies of its build process.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#pinned-dependencies"}},{"name":"CII-Best-Practices","score":0,"reason":"no effort to earn an OpenSSF best practices badge detected","details":null,"documentation":{"short":"Determines if the project has an OpenSSF (formerly CII) Best Practices Badge.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#cii-best-practices"}},{"name":"Security-Policy","score":0,"reason":"security policy file not detected","details":["Warn: no security policy file detected","Warn: no security file to analyze","Warn: no security file to analyze","Warn: no security file to analyze"],"documentation":{"short":"Determines if the project has published a security policy.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#security-policy"}},{"name":"Fuzzing","score":0,"reason":"project is not fuzzed","details":["Warn: no fuzzer integrations found"],"documentation":{"short":"Determines if the project uses fuzzing.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#fuzzing"}},{"name":"License","score":10,"reason":"license file detected","details":["Info: project has a license file: LICENSE:0","Info: FSF or OSI recognized license: MIT License: LICENSE:0"],"documentation":{"short":"Determines if the project has defined a license.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#license"}},{"name":"Signed-Releases","score":-1,"reason":"no releases found","details":null,"documentation":{"short":"Determines if the project cryptographically signs release artifacts.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#signed-releases"}},{"name":"Branch-Protection","score":0,"reason":"branch protection not enabled on development/release branches","details":["Warn: branch protection not enabled for branch 'master'"],"documentation":{"short":"Determines if the default and release branches are protected with GitHub's branch protection settings.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#branch-protection"}},{"name":"Vulnerabilities","score":6,"reason":"4 existing vulnerabilities detected","details":["Warn: Project is vulnerable to: GHSA-29gw-9793-fvw7","Warn: Project is vulnerable to: PYSEC-2022-12 / GHSA-pq7m-3gw7-gq5x","Warn: Project is vulnerable to: PYSEC-2022-249 / GHSA-9jmq-rx5f-8jwq","Warn: Project is vulnerable to: PYSEC-2020-73"],"documentation":{"short":"Determines if the project has open, known unfixed vulnerabilities.","url":"https://github.com/ossf/scorecard/blob/f6ed084d17c9236477efd66e5b258b9d4cc7b389/docs/checks.md#vulnerabilities"}}]},"last_synced_at":"2025-08-20T19:11:15.983Z","repository_id":44862106,"created_at":"2025-08-20T19:11:15.983Z","updated_at":"2025-08-20T19:11:15.983Z"},"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31579819,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-08T14:31:17.711Z","status":"ssl_error","status_checked_at":"2026-04-08T14:31:17.202Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["batsim","dvfs","grid-computing","python","resource-manager","rjms","scheduler","shutdown","simulator"],"created_at":"2025-12-13T17:04:05.188Z","updated_at":"2026-04-09T00:31:11.735Z","avatar_url":"https://github.com/lccasagrande.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Batsim-py |build| |coverage| |doc| |license| |last-release|\n===========================================================\n\n`Batsim \u003chttps://batsim.readthedocs.io/en/latest/\u003e`_ is a scientific simulator commonly used to \nevaluate Resource and Job Management System (RJMS) policies. **Batsim-py allows using Batsim from Python 3**.\n\nMain Features\n-------------\n- Developed on Python 3.8\n- Simple API for evaluating the performance of Scheduling/Shutdown/DVFS policies\n- Time/Event-based design\n- Simple to be extended\n- Fully documented\n\nInstallation\n------------\n\n1. Make sure you have Batsim v3.1.0 installed and working. Otherwise, you must follow `Batsim installation \u003chttps://batsim.readthedocs.io/en/latest/installation.html\u003e`_ instructions. Check the version of Batsim with:\n\n.. code-block:: bash\n\n    batsim --version\n\n2. Install batsim-py from PyPI:\n\n.. code-block:: bash\n\n    pip install batsim-py\n\n3. [Optional] If you prefer, you can install batsim-py and run tests with:\n\n.. code-block:: bash\n\n    git clone https://github.com/lccasagrande/batsim-py.git\n    cd batsim-py\n    pip install -e .\n    python setup.py test\n\n4. [Optional] Go to the `Tutorials`_  section to find examples.\n\nFor further information, check the `API Documentation`_ to understand how to customize the simulation behavior.\n\nSimulation Inputs\n-----------------\nTo evaluate the behavior of a RJMS policy, you must provide:\n\n- A `platform \u003chttps://batsim.readthedocs.io/en/latest/input-platform.html\u003e`_ description (XML): describes the network and resource characteristics. \n- A `workload \u003chttps://batsim.readthedocs.io/en/latest/input-workload.html\u003e`_ (JSON): defines the jobs to be submitted to the system and their execution profiles. \n\nThe expected format of both files is the same adopted in Batsim. Check `Batsim docs \u003chttps://batsim.readthedocs.io/en/latest/\u003e`_ to get further information on how to define platforms and workloads.\n\nTutorials\n---------\nThe tutorials section provides examples of different simulation scenarios:\n\n- `Scheduling`_\n- `Shutdown`_\n- `DVFS`_\n\nAPI Documentation\n-----------------\nThe API documentation provides information on classes and modules in the Batsim-py package.\n\n- `Simulator`_\n- `Events`_\n- `Monitors`_\n- `Jobs`_\n- `Resources`_\n\n.. _`Scheduling`: https://lccasagrande.github.io/batsim-py/tutorials/scheduling.html\n.. _`Shutdown`: https://lccasagrande.github.io/batsim-py/tutorials/shutdown.html\n.. _`DVFS`: https://lccasagrande.github.io/batsim-py/tutorials/dvfs.html\n\n.. _`Simulator`: https://lccasagrande.github.io/batsim-py/api_doc/simulator.html\n.. _`Events`: https://lccasagrande.github.io/batsim-py/api_doc/events.html\n.. _`Monitors`: https://lccasagrande.github.io/batsim-py/api_doc/monitors.html\n.. _`Resources`: https://lccasagrande.github.io/batsim-py/api_doc/resources.html\n.. _`Jobs`: https://lccasagrande.github.io/batsim-py/api_doc/jobs.html\n\n.. |build| image:: https://travis-ci.org/lccasagrande/batsim-py.svg?branch=master\n    :alt: coverage\n    :target: https://travis-ci.org/lccasagrande/batsim-py\n\n.. |coverage| image:: https://coveralls.io/repos/github/lccasagrande/batsim-py/badge.svg?branch=master\u0026kill_cache=1\n    :alt: coverage\n    :target: https://coveralls.io/github/lccasagrande/batsim-py?branch=master\u0026kill_cache=1\n\n.. |doc| image:: https://img.shields.io/badge/docs-latest-brightgreen.svg?style=flat\n    :alt: doc\n    :target: https://lccasagrande.github.io/batsim-py/index.html\n\n.. |license| image:: https://img.shields.io/github/license/lccasagrande/batsim-py\n    :alt: GitHub\n    :target: https://github.com/lccasagrande/batsim-py/blob/master/LICENSE\n\n\n.. |last-release| image:: https://img.shields.io/github/v/release/lccasagrande/batsim-py\n    :alt: GitHub release (latest by date)\n    :target: https://github.com/lccasagrande/batsim-py/releases/latest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flccasagrande%2Fbatsim-py","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flccasagrande%2Fbatsim-py","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flccasagrande%2Fbatsim-py/lists"}