# 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": "",
"docs_url": null,
"requires_python": ">=3.8",
"maintainer_email": "",
"keywords": "simulink,c++,gym,gymnasium",
"author": "Jiang Yuxuan",
"author_email": "jyx21@mails.tsinghua.edu.cn",
"download_url": "https://files.pythonhosted.org/packages/05/08/a1b9cae4d427e78092fd6e9cad1885cb7a361bca344ef8f7c523f68f0479/slxpy-1.6.1.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.1",
"project_urls": {
"Homepage": "https://github.com/jjyyxx/slxpy"
},
"split_keywords": [
"simulink",
"c++",
"gym",
"gymnasium"
],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "e007f02b9e2a789d0a89b38a65ca36c1e5b22ea12172487e4b2fac8e3e0b7889",
"md5": "a21209daab4188d81a80b05e601d0909",
"sha256": "5d36967f0ea8a0fa32e158ff61de8413256a2a4858e21fff840a1cd503b3e634"
},
"downloads": -1,
"filename": "slxpy-1.6.1-py3-none-any.whl",
"has_sig": false,
"md5_digest": "a21209daab4188d81a80b05e601d0909",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": ">=3.8",
"size": 366557,
"upload_time": "2023-10-20T11:47:41",
"upload_time_iso_8601": "2023-10-20T11:47:41.260249Z",
"url": "https://files.pythonhosted.org/packages/e0/07/f02b9e2a789d0a89b38a65ca36c1e5b22ea12172487e4b2fac8e3e0b7889/slxpy-1.6.1-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "0508a1b9cae4d427e78092fd6e9cad1885cb7a361bca344ef8f7c523f68f0479",
"md5": "297e037d0a466bde602ea19fb2d7c0ae",
"sha256": "984aab922437ff626c8ff435ec4051f3c9104097297857782936d328c83f6bb2"
},
"downloads": -1,
"filename": "slxpy-1.6.1.tar.gz",
"has_sig": false,
"md5_digest": "297e037d0a466bde602ea19fb2d7c0ae",
"packagetype": "sdist",
"python_version": "source",
"requires_python": ">=3.8",
"size": 319534,
"upload_time": "2023-10-20T11:47:43",
"upload_time_iso_8601": "2023-10-20T11:47:43.416992Z",
"url": "https://files.pythonhosted.org/packages/05/08/a1b9cae4d427e78092fd6e9cad1885cb7a361bca344ef8f7c523f68f0479/slxpy-1.6.1.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2023-10-20 11:47:43",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "jjyyxx",
"github_project": "slxpy",
"github_not_found": true,
"lcname": "slxpy"
}