# Slxpy
![PyPI](https://img.shields.io/pypi/v/slxpy)
[![MATLAB FileExchange](https://img.shields.io/badge/MATLAB-FileExchange-blue.svg)](https://www.mathworks.com/matlabcentral/fileexchange/100416-slxpy)
Toolchain for seamlessly generating efficient Simulink-to-Python binding and gymnasium-like environment wrapper.
> For smooth integration, it's recommended to read through the [wiki](https://github.com/jjyyxx/slxpy/wiki) carefully
## Features
- Almost complete Simulink and Embedded Coder features support
- Compatible with a wide range of MATLAB versions
- Help tuning Simulink code generation config
- Mininal dependencies and cross-platform, not depending on MATLAB after Simulink code generation step
- Exchange array data with numpy for efficiency
- Raw and gymnasium (formerly gym) environment wrapper, with seeding and parameter randomization support
- Automatic single-node parallelization with vector environment
- Generate human-readable object `__repr__` for ease of use
- Automatically generate stub file to assist development (with pybind11-stubgen)
- Compile with all modern C++ compilers
## Prerequisities & Installation & Quick start
You need to prepare Python, optionally MATLAB and a C++ compiler to begin with slxpy. See the [wiki](https://github.com/jjyyxx/slxpy/wiki) for details.
Raw data
{
"_id": null,
"home_page": "https://github.com/jjyyxx/slxpy",
"name": "slxpy",
"maintainer": null,
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": null,
"keywords": "simulink, c++, gym, gymnasium",
"author": "Jiang Yuxuan",
"author_email": "jyx21@mails.tsinghua.edu.cn",
"download_url": "https://files.pythonhosted.org/packages/3d/88/8bf3b0d4d92ce53e6f1c6cebe12e74e1a95101e5e22e8247b8b3308b3133/slxpy-1.6.2.tar.gz",
"platform": null,
"description": "# Slxpy\r\n![PyPI](https://img.shields.io/pypi/v/slxpy)\r\n[![MATLAB FileExchange](https://img.shields.io/badge/MATLAB-FileExchange-blue.svg)](https://www.mathworks.com/matlabcentral/fileexchange/100416-slxpy)\r\n\r\nToolchain for seamlessly generating efficient Simulink-to-Python binding and gymnasium-like environment wrapper.\r\n\r\n> For smooth integration, it's recommended to read through the [wiki](https://github.com/jjyyxx/slxpy/wiki) carefully\r\n\r\n## Features\r\n\r\n- Almost complete Simulink and Embedded Coder features support\r\n- Compatible with a wide range of MATLAB versions\r\n- Help tuning Simulink code generation config\r\n- Mininal dependencies and cross-platform, not depending on MATLAB after Simulink code generation step\r\n- Exchange array data with numpy for efficiency\r\n- Raw and gymnasium (formerly gym) environment wrapper, with seeding and parameter randomization support\r\n- Automatic single-node parallelization with vector environment\r\n- Generate human-readable object `__repr__` for ease of use\r\n- Automatically generate stub file to assist development (with pybind11-stubgen)\r\n- Compile with all modern C++ compilers\r\n\r\n## Prerequisities & Installation & Quick start\r\n\r\nYou need to prepare Python, optionally MATLAB and a C++ compiler to begin with slxpy. See the [wiki](https://github.com/jjyyxx/slxpy/wiki) for details.\r\n",
"bugtrack_url": null,
"license": "MIT",
"summary": "Simulink Python binding generator.",
"version": "1.6.2",
"project_urls": {
"Homepage": "https://github.com/jjyyxx/slxpy"
},
"split_keywords": [
"simulink",
" c++",
" gym",
" gymnasium"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e2007ede5c12e2909090fc74a71dba66fce6247bd7a41516a0326d69dc1a75a1",
"md5": "0466675382e3615527e6205d27efca81",
"sha256": "ee030c739b7d79411b71d79e47a07c38872d8dfb9f5ca79d95fa2c1c035089c6"
},
"downloads": -1,
"filename": "slxpy-1.6.2-py3-none-any.whl",
"has_sig": false,
"md5_digest": "0466675382e3615527e6205d27efca81",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 366663,
"upload_time": "2024-07-11T13:17:07",
"upload_time_iso_8601": "2024-07-11T13:17:07.381414Z",
"url": "https://files.pythonhosted.org/packages/e2/00/7ede5c12e2909090fc74a71dba66fce6247bd7a41516a0326d69dc1a75a1/slxpy-1.6.2-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "3d888bf3b0d4d92ce53e6f1c6cebe12e74e1a95101e5e22e8247b8b3308b3133",
"md5": "6dfe28602842bbe797c62996d075246d",
"sha256": "3ce588058a6786198886e9c92b8f1805d651a3ea722c36227b8f318af34251aa"
},
"downloads": -1,
"filename": "slxpy-1.6.2.tar.gz",
"has_sig": false,
"md5_digest": "6dfe28602842bbe797c62996d075246d",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 319649,
"upload_time": "2024-07-11T13:17:11",
"upload_time_iso_8601": "2024-07-11T13:17:11.256693Z",
"url": "https://files.pythonhosted.org/packages/3d/88/8bf3b0d4d92ce53e6f1c6cebe12e74e1a95101e5e22e8247b8b3308b3133/slxpy-1.6.2.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-07-11 13:17:11",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jjyyxx",
"github_project": "slxpy",
"github_not_found": true,
"lcname": "slxpy"
}