MATLAB® based Python® Requirements manager
Versión 1.0.6 (14,1 KB) por
Ashish Uthama
MPyReq is a MATLAB-based Python requirements manager that simplifies installing and configuring Python environments for MATLAB projects.
MPyReq is a MATLAB-based Python requirements manager that simplifies installing and configuring Python environments for MATLAB projects. It handles Python version management, package installations, git repository cloning, and weight file downloads with a simple API. MPyReq ensures consistent Python environments across sessions by caching configurations and providing runtime setup for your Python dependencies.
Setup
To Run:
- Download MPyReq.m
- Ensure MPyReq.m is on the MATLAB path. Not just in pwd, but on MATLAB path.
- Call MPyReq.setInstallFolder(largeSSDFolder) to set the install folder. This only needs to be done once per machine. All subsequent uses of MPyReq share downloaded content from this folder.
Getting Started
Invoke help to see documentation
help MPyReq.m
Examples
Run the following examples after ensuring to set an installation folder using the call below. Ideally, this folder should be a fast access (e.g SSD) with ~15+ GB free space. These examples download large libraries and model files.
demoCellpose - Run https://www.cellpose.org/ cell segmentation model.
demoDepthPro - Run https://github.com/apple/ml-depth-pro A quick, sharp monocular metric depth model.
demoSAM2 - Run https://github.com/facebookresearch/sam2 Segment Anything Model 2
demoVGGT - Run https://vgg-t.github.io/ Visual Geometry Grounded Transformer
Citar como
Ashish Uthama (2025). MATLAB® based Python® Requirements manager (https://es.mathworks.com/matlabcentral/fileexchange/182230-matlab-based-python-requirements-manager), MATLAB Central File Exchange. Recuperado .
Compatibilidad con la versión de MATLAB
Se creó con
R2025b
Compatible con cualquier versión desde R2019b
Compatibilidad con las plataformas
Windows macOS LinuxEtiquetas
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Descubra Live Editor
Cree scripts con código, salida y texto formateado en un documento ejecutable.
Versión | Publicado | Notas de la versión | |
---|---|---|---|
1.0.6 | Help update |
||
1.0.5 | Fix links |
||
1.0.4 | Typo in error |
||
1.0.3 | Update setup instructions |
||
1.0.2 | re-include examples |
||
1.0.1 | Dont default installation path since it can fill up with large data. Always explicitly ask user. |
||
1.0.0 |