{"id":22549854,"url":"https://github.com/openmodelica/ompython","last_synced_at":"2025-04-08T08:11:23.778Z","repository":{"id":31154324,"uuid":"34714283","full_name":"OpenModelica/OMPython","owner":"OpenModelica","description":"A Python interface to OpenModelica communicating via ZeroMQ","archived":false,"fork":false,"pushed_at":"2025-03-25T13:48:06.000Z","size":9237,"stargazers_count":117,"open_issues_count":42,"forks_count":59,"subscribers_count":28,"default_branch":"master","last_synced_at":"2025-04-01T07:45:30.644Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/OpenModelica.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"COPYING","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":"2015-04-28T06:59:00.000Z","updated_at":"2025-03-29T08:25:41.000Z","dependencies_parsed_at":"2024-06-11T11:18:35.847Z","dependency_job_id":"316c6443-1e96-4ed9-a2a6-38fb5555d19d","html_url":"https://github.com/OpenModelica/OMPython","commit_stats":{"total_commits":208,"total_committers":21,"mean_commits":9.904761904761905,"dds":0.7355769230769231,"last_synced_commit":"2ed723192ca802b83817e93a64fc5165c953663e"},"previous_names":[],"tags_count":13,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMPython","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMPython/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMPython/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/OpenModelica%2FOMPython/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/OpenModelica","download_url":"https://codeload.github.com/OpenModelica/OMPython/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247801155,"owners_count":20998338,"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-12-07T16:10:07.244Z","updated_at":"2025-04-08T08:11:23.741Z","avatar_url":"https://github.com/OpenModelica.png","language":"Python","readme":"# OMPython\n\nOMPython is a Python interface that uses ZeroMQ to\ncommunicate with OpenModelica.\n\n[![FMITest](https://github.com/OpenModelica/OMPython/actions/workflows/FMITest.yml/badge.svg)](https://github.com/OpenModelica/OMPython/actions/workflows/FMITest.yml)\n[![Test](https://github.com/OpenModelica/OMPython/actions/workflows/Test.yml/badge.svg)](https://github.com/OpenModelica/OMPython/actions/workflows/Test.yml)\n\n## Dependencies\n\n-   Python 2.7 and 3.x supported\n-   PyZMQ is required\n\n## Installation\n\nInstallation using `pip` is recommended.\n\n### Via pip\n\n```bash\npip install OMPython\n```\n\n### Via source\n\nClone the repository and run:\n\n```\ncd \u003cOMPythonPath\u003e\npython -m pip install -U .\n```\n\n## Usage\n\nRunning the following commands should get you started\n\n```python\nimport OMPython\nhelp(OMPython)\n```\n\n```python\nfrom OMPython import OMCSessionZMQ\nomc = OMCSessionZMQ()\nomc.sendExpression(\"getVersion()\")\n```\n\nor read the [OMPython documentation](https://openmodelica.org/doc/OpenModelicaUsersGuide/latest/ompython.html)\nonline.\n\n## Bug Reports\n\n  - Submit bugs through the [OpenModelica GitHub issues](https://github.com/OpenModelica/OMPython/issues/new).\n  - [Pull requests](https://github.com/OpenModelica/OMPython/pulls) are welcome.\n\n## Contact\n\n  - Adeel Asghar, \u003cadeel.asghar@liu.se\u003e\n  - Arunkumar Palanisamy, \u003carunkumar.palanisamy@liu.se\u003e\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmodelica%2Fompython","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopenmodelica%2Fompython","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopenmodelica%2Fompython/lists"}