{"id":19722028,"url":"https://github.com/datajoint/mym","last_synced_at":"2025-07-11T16:16:31.255Z","repository":{"id":4747065,"uuid":"5896754","full_name":"datajoint/mym","owner":"datajoint","description":"MySQL API for MATLAB with support for BLOB objects","archived":false,"fork":false,"pushed_at":"2024-05-25T04:22:19.000Z","size":53069,"stargazers_count":8,"open_issues_count":7,"forks_count":17,"subscribers_count":11,"default_branch":"master","last_synced_at":"2025-04-29T22:36:24.501Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"C","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"SPikeVanz/bootstrap","license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/datajoint.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","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,"zenodo":null}},"created_at":"2012-09-21T04:33:36.000Z","updated_at":"2024-10-11T02:31:21.000Z","dependencies_parsed_at":"2025-04-29T22:41:17.695Z","dependency_job_id":null,"html_url":"https://github.com/datajoint/mym","commit_stats":null,"previous_names":[],"tags_count":15,"template":false,"template_full_name":null,"purl":"pkg:github/datajoint/mym","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fmym","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fmym/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fmym/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fmym/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/datajoint","download_url":"https://codeload.github.com/datajoint/mym/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/datajoint%2Fmym/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264851354,"owners_count":23673234,"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-11-11T23:16:15.682Z","updated_at":"2025-07-11T16:16:31.235Z","avatar_url":"https://github.com/datajoint.png","language":"C","funding_links":[],"categories":[],"sub_categories":[],"readme":"[![View mym on File Exchange](https://www.mathworks.com/matlabcentral/images/matlab-file-exchange.svg)](https://www.mathworks.com/matlabcentral/fileexchange/81208-mym)\n\n## mym\n\nMySQL API for MATLAB with support for BLOB objects\n\nMYM - Interact with a MySQL database server \n       Copyright 2005, EPFL (Yannick Maret)\n\nCopyright notice: this code is a heavily modified version of the original\nwork of Robert Almgren from University of Toronto [sourceforge project](http://sourceforge.net/projects/mym/)\n\nSee mym.m for further documentation.\n\n## Running Tests Locally\n\n* Create an `.env` with desired development environment values e.g.\n``` sh\nMATLAB_USER=raphael\nMATLAB_LICENSE=\"#\\ BEGIN----...---------END\" # For image usage instructions see https://github.com/guzman-raphael/matlab, https://hub.docker.com/r/raphaelguzman/matlab\nMATLAB_VERSION=R2018b\nMATLAB_HOSTID=XX:XX:XX:XX:XX:XX\nMATLAB_UID=1000\nMATLAB_GID=1000\nMYSQL_TAG=5.7\n```\n* `cp local-docker-compose.yml docker-compose.yml`\n* `docker-compose up` (Note configured `JUPYTER_PASSWORD`)\n* Select a means of running MATLAB e.g. Jupyter Notebook, GUI, or Terminal (see bottom)\n* Run desired tests. Some examples are as follows:\n\n| Use Case                     | MATLAB Code                                                                    |\n| ---------------------------- | ------------------------------------------------------------------------------ |\n| Run all tests                | `run(Main)`                                                              |\n| Run one class of tests       | `run(TestTls)`                                                           |\n| Run one specific test        | `runtests('TestTls/TestTls_testInsecureConn')`                                   |\n| Run tests based on test name | `import matlab.unittest.TestSuite;`\u003cbr\u003e`import matlab.unittest.selectors.HasName;`\u003cbr\u003e`import matlab.unittest.constraints.ContainsSubstring;`\u003cbr\u003e`suite = TestSuite.fromClass(?Main, ... `\u003cbr\u003e\u003ccode\u003e\u0026nbsp;\u0026nbsp;\u0026nbsp;\u0026nbsp;\u003c/code\u003e`HasName(ContainsSubstring('Conn')));`\u003cbr\u003e`run(suite)`|\n\n\n### Launch Jupyter Notebook\n* Navigate to `localhost:8888`\n* Input Jupyter password\n* Launch a notebook i.e. `New \u003e MATLAB`\n\n\n### Launch MATLAB GUI (supports remote interactive debugger)\n* Shell into `mym_app_1` i.e. `docker exec -it mym_app_1 bash`\n* Launch Matlab by runnning command `matlab`\n\n\n### Launch MATLAB Terminal\n* Shell into `mym_app_1` i.e. `docker exec -it mym_app_1 bash`\n* Launch Matlab with no GUI by runnning command `matlab -nodisplay`\n\n\n## Installation\n\n### (Recommended) Using GHToolbox (FileExchange Community Toolbox)\n\n1. Install *GHToolbox* using using an appropriate method in https://github.com/datajoint/GHToolbox\n2. run: `ghtb.install('datajoint/mym')`\n\n### Greater than R2016b\n\n1. Utilize MATLAB built-in GUI i.e. *Top Ribbon -\u003e Add-Ons -\u003e Get Add-Ons*\n2. Search and Select `mym`\n3. Select *Add from GitHub*\n\n### Less than R2016b\n\n1. Utilize MATLAB built-in GUI i.e. *Top Ribbon -\u003e Add-Ons -\u003e Get Add-Ons*\n2. Search and Select `mym`\n3. Select *Download from GitHub*\n4. Save `mym.mltbx` locally\n5. Navigate in MATLAB tree browser to saved toolbox file\n6. Right-Click and Select *Install*\n7. Select *Install*\n\n### From Source\n\n1. Download `mym.mltbx` locally\n2. Navigate in MATLAB tree browser to saved toolbox file\n3. Right-Click and Select *Install*\n4. Select *Install*\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatajoint%2Fmym","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdatajoint%2Fmym","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdatajoint%2Fmym/lists"}