{"id":34059965,"url":"https://github.com/spm/spm-runtime","last_synced_at":"2026-03-11T13:39:45.343Z","repository":{"id":290541743,"uuid":"951375782","full_name":"spm/spm-runtime","owner":"spm","description":"Compiled SPM package that can be called from Python","archived":false,"fork":false,"pushed_at":"2026-01-06T15:27:35.000Z","size":91987,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"main","last_synced_at":"2026-02-27T11:50:55.761Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/spm.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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":"2025-03-19T15:24:07.000Z","updated_at":"2026-01-06T15:27:38.000Z","dependencies_parsed_at":"2025-04-29T11:23:21.960Z","dependency_job_id":"31859916-6d1a-44a1-aa67-fd0641e144e3","html_url":"https://github.com/spm/spm-runtime","commit_stats":null,"previous_names":["spm/spm-runtime","balbasty/spm-runtime"],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/spm/spm-runtime","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-runtime","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-runtime/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-runtime/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-runtime/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/spm","download_url":"https://codeload.github.com/spm/spm-runtime/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/spm%2Fspm-runtime/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":30382673,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-03-11T12:49:11.341Z","status":"ssl_error","status_checked_at":"2026-03-11T12:46:41.342Z","response_time":84,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":"2025-12-14T04:02:47.470Z","updated_at":"2026-03-11T13:39:45.332Z","avatar_url":"https://github.com/spm.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# spm-runtime\n\nCompiled [Statistical Parametric Mapping (SPM)](https://www.fil.ion.ucl.ac.uk/spm/)\npackage that can be called from Python.\n\nThis package contains the compiled SPM runtime used by\n[`spm-python`](https://github.com/spm/spm-python).\n\n## Installation\n\n```shell\n# Version built against the latest available MATLAB runtime\n$ pip install spm-runtime\n$ pip install spm-runtime==25.01\n# Version built against a specific version of the MATLAB runtime\n$ pip install spm-runtime-R2024b\n$ pip install spm-runtime-R2024b==25.01\n```\n\n\u003e [!WARNING]\n\u003e The repository does not contain the compiled CTF file, but wheels\n\u003e released on pypi or as part of our GitHub releases do.\n\u003e It is not advised to install `spm-runtime` directly from the\n\u003e repository, as it assumes that the matlab compiler is available.\n\u003e Installation from our releases wheels and distributions is preferred.\n\n## Supported Python versions\n\nDifferent versions of the MATLAB runtime are compatible with a [different\nrange of python versions](https://uk.mathworks.com/support/requirements/python-compatibility.html).\nTo use the runtime with a python version that is not supported by the latest\nMATLAB runtime, you can choose to install a package specifically compiled\nagainst another MATLAB runtime. The python versions supported by each\nMATLAB runtime is provided in the table below:\n\n| MATLAB | Python      |\n| ------ | ----------- |\n| R2025b | 3.10 - 3.13 |\n| R2025a | 3.9 - 3.12  |\n| R2024b | 3.9 - 3.12  |\n| R2024a | 3.9 - 3.11  |\n| R2023b | 3.9 - 3.11  |\n| R2023a | 3.8 - 3.10  |\n| R2022b | 3.8 - 3.10  |\n| R2022a | 3.8 - 3.9   |\n| R2021b | 3.7 - 3.9   |\n| R2021a | 3.7 - 3.8   |\n| R2020b | 3.6 - 3.8   |\n| R2020a | 3.6 - 3.7   |\n\n## SPM standalone\n\nOn installation, `spm-runtime` exposes the SPM standalone, which can\nbe executed in a terminal by calling `spm`.\n\n```text\n$ spm --help\n\nSPM - Statistical Parametric Mapping\nhttps://www.fil.ion.ucl.ac.uk/spm/\n\nUsage: spm [ fmri | eeg | pet ]\n       spm COMMAND [arg...]\n       spm [ -h | --help | -v | --version ]\n\nCommands:\n    batch          Run a batch job\n    script         Execute a script\n    function       Execute a function\n    eval           Evaluate a MATLAB expression\n    [NODE]         Run a specified batch node\n\nOptions:\n    -h, --help     Print usage statement\n    -v, --version  Print version information\n\nRun 'spm [NODE] help' for more information on a command.\n```\n\n## Python runtime\n\nThis package ships a compiled version of SPM that can be called from\nPython:\n\n```python\nimport spm_runtime\n\nspm_runtime.endpoint(\"spm_standalone\", nargout=0)\n```\n\nAll MATLAB functions from the SPM package can be called.\nHowever, the inputs and outputs of these bindings are not very user-friendly.\nFor pythonic bindings, use the\n[`spm-python`](https://github.com/spm/spm-python) package (which uses\n`spm-runtime` under the hood).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspm%2Fspm-runtime","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fspm%2Fspm-runtime","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fspm%2Fspm-runtime/lists"}