# tljh-matlab
TLJH plugin for [The Littlest JupyterHub](https://tljh.jupyter.org/) that installs MATLAB, and the MATLAB Integration for Jupyter.
The [Littlest JupyterHub installation](https://tljh.jupyter.org/en/latest/topic/customizing-installer.html#installing-tljh-plugins) can install **plugins** that provide additional features, in the JupyterHub stack being provisioned.
The `tljh-matlab` plugin installs:
* A specified version of MATLAB
* The system libraries required by MATLAB
* The MATLAB Integration for Jupyter, to enable the usage of MATLAB via Notebooks, and to access the MATLAB desktop from Jupyter. See [jupyter-matlab-proxy](github.com/mathworks/jupyter-matlab-proxy) for more information.
Command to install plugin:
```bash
docker run --privileged --detach --name=tljh-dev --publish 12000:80 --mount type=bind,source="$(pwd)",target=/srv/src tljh-systemd
docker exec -it tljh-dev /bin/bash
python3 /srv/src/bootstrap/bootstrap.py --admin admin:password --plugin tljh-matlab
```
To customize the default values used by the plugin , set the appropriate environment variable before the `bootstrap` command
| Environment Variable Name | Default Values | Notes|
|--|--|--|
| MATLAB_RELEASE | R2024a | Specify the MATLAB release you would like to install |
| MATLAB_PRODUCT_LIST | "MATLAB Symbolic_Math_Toolbox" | See `--products` section of [MPM.md](https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md) for information on the supported products and their name specification. For example to install Simulink along with MATLAB use `"MATLAB Simulink"` |
|MATLAB_INSTALL_DESTINATION| /opt/matlab/R2024a | Specify the path to the location you would like to install MATLAB |
| OS | ubuntu22.04 | See [matlab-deps](https://github.com/mathworks-ref-arch/container-images/tree/main/matlab-deps/r2024a) for the list of supported OS values by Release.|
Example:
```bash
env MATLAB_RELEASE=R2023b MATLAB_PRODUCT_LIST="MATLAB Simulink" python3 /srv/src/bootstrap/bootstrap.py --admin admin:password --plugin tljh-matlab
```
----
Copyright 2024 The MathWorks, Inc.
----
Raw data
{
"_id": null,
"home_page": "https://github.com/prabhakk-mw/tljh-matlab",
"name": "tljh-matlab",
"maintainer": null,
"docs_url": null,
"requires_python": null,
"maintainer_email": null,
"keywords": null,
"author": "The MathWorks, Inc.",
"author_email": "cloud@mathworks.com",
"download_url": "https://files.pythonhosted.org/packages/59/48/e15c19ef372e3dd79f2ba3f054ec08500a66cbc65074bc119f5a398e3cb0/tljh_matlab-0.0.5.tar.gz",
"platform": null,
"description": "# tljh-matlab\n\nTLJH plugin for [The Littlest JupyterHub](https://tljh.jupyter.org/) that installs MATLAB, and the MATLAB Integration for Jupyter.\n\nThe [Littlest JupyterHub installation](https://tljh.jupyter.org/en/latest/topic/customizing-installer.html#installing-tljh-plugins) can install **plugins** that provide additional features, in the JupyterHub stack being provisioned.\n\nThe `tljh-matlab` plugin installs:\n* A specified version of MATLAB\n* The system libraries required by MATLAB \n* The MATLAB Integration for Jupyter, to enable the usage of MATLAB via Notebooks, and to access the MATLAB desktop from Jupyter. See [jupyter-matlab-proxy](github.com/mathworks/jupyter-matlab-proxy) for more information.\n\n\nCommand to install plugin:\n```bash\ndocker run --privileged --detach --name=tljh-dev --publish 12000:80 --mount type=bind,source=\"$(pwd)\",target=/srv/src tljh-systemd\ndocker exec -it tljh-dev /bin/bash\npython3 /srv/src/bootstrap/bootstrap.py --admin admin:password --plugin tljh-matlab\n```\n\nTo customize the default values used by the plugin , set the appropriate environment variable before the `bootstrap` command\n\n| Environment Variable Name | Default Values | Notes|\n|--|--|--|\n| MATLAB_RELEASE | R2024a | Specify the MATLAB release you would like to install |\n| MATLAB_PRODUCT_LIST | \"MATLAB Symbolic_Math_Toolbox\" | See `--products` section of [MPM.md](https://github.com/mathworks-ref-arch/matlab-dockerfile/blob/main/MPM.md) for information on the supported products and their name specification. For example to install Simulink along with MATLAB use `\"MATLAB Simulink\"` |\n|MATLAB_INSTALL_DESTINATION| /opt/matlab/R2024a | Specify the path to the location you would like to install MATLAB |\n| OS | ubuntu22.04 | See [matlab-deps](https://github.com/mathworks-ref-arch/container-images/tree/main/matlab-deps/r2024a) for the list of supported OS values by Release.|\n\nExample:\n```bash\nenv MATLAB_RELEASE=R2023b MATLAB_PRODUCT_LIST=\"MATLAB Simulink\" python3 /srv/src/bootstrap/bootstrap.py --admin admin:password --plugin tljh-matlab\n```\n\n\n\n----\n\nCopyright 2024 The MathWorks, Inc.\n\n----\n",
"bugtrack_url": null,
"license": "MATHWORKS CLOUD REFERENCE ARCHITECTURE LICENSE",
"summary": "TLJH plugin for MATLAB",
"version": "0.0.5",
"project_urls": {
"Homepage": "https://github.com/prabhakk-mw/tljh-matlab"
},
"split_keywords": [],
"urls": [
{
"comment_text": "",
"digests": {
"blake2b_256": "d6fa545ca33f07a94bb83c9eccbe0973f71d0b399063da7f887fd43fc0caaee4",
"md5": "91c426f14ef262be0518985afad018bb",
"sha256": "a00eeaa9654ab973db6b34df97339f290ad4e2b591616f8f989d4a02adaa3eab"
},
"downloads": -1,
"filename": "tljh_matlab-0.0.5-py3-none-any.whl",
"has_sig": false,
"md5_digest": "91c426f14ef262be0518985afad018bb",
"packagetype": "bdist_wheel",
"python_version": "py3",
"requires_python": null,
"size": 9436,
"upload_time": "2024-06-24T06:12:53",
"upload_time_iso_8601": "2024-06-24T06:12:53.934104Z",
"url": "https://files.pythonhosted.org/packages/d6/fa/545ca33f07a94bb83c9eccbe0973f71d0b399063da7f887fd43fc0caaee4/tljh_matlab-0.0.5-py3-none-any.whl",
"yanked": false,
"yanked_reason": null
},
{
"comment_text": "",
"digests": {
"blake2b_256": "5948e15c19ef372e3dd79f2ba3f054ec08500a66cbc65074bc119f5a398e3cb0",
"md5": "5051b9e92df02f1378744102d07a89d7",
"sha256": "f19b09ff2330cba7abf4f98f75a95f11e03e2f0008e0e107e263faaea8e236f5"
},
"downloads": -1,
"filename": "tljh_matlab-0.0.5.tar.gz",
"has_sig": false,
"md5_digest": "5051b9e92df02f1378744102d07a89d7",
"packagetype": "sdist",
"python_version": "source",
"requires_python": null,
"size": 7617,
"upload_time": "2024-06-24T06:12:55",
"upload_time_iso_8601": "2024-06-24T06:12:55.503792Z",
"url": "https://files.pythonhosted.org/packages/59/48/e15c19ef372e3dd79f2ba3f054ec08500a66cbc65074bc119f5a398e3cb0/tljh_matlab-0.0.5.tar.gz",
"yanked": false,
"yanked_reason": null
}
],
"upload_time": "2024-06-24 06:12:55",
"github": true,
"gitlab": false,
"bitbucket": false,
"codeberg": false,
"github_user": "prabhakk-mw",
"github_project": "tljh-matlab",
"travis_ci": false,
"coveralls": false,
"github_actions": true,
"lcname": "tljh-matlab"
}