Matlab to Python/Numpy translator
Project description
Language translator from MATLAB to Python
This package provides a utility mh_python
to translate MATLAB into Python format while keeping most of the MATLAB accent.
The generated Python code hope to be directly runnable with the mat2py framework.
This mh_python
utility was initially developed under fork of MISS_HIT and
then exported to a seperated branch for uploading to PyPi.
We hope to merge this utility back to miss_hit
after it is stable.
Usage
# must install
python3 -m pip install mh_python
# recommend install for prettify generated code
python3 -m pip install black isort --upgrade
# convert `.m` file to `.py` file
mh_python tests/mat2np/demo_fft.m --format
Copyright & License
The initial intention of mh_python
was to be an advanced analysis tool of MISS_HIT,
so it is also licensed under the same GNU Affero GPL version 3 (or later) as described in LICENSE.AGPL.
Acknowledgements
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
mh_python-0.0.1.tar.gz
(18.2 kB
view hashes)
Built Distribution
mh_python-0.0.1-py3-none-any.whl
(19.1 kB
view hashes)
Close
Hashes for mh_python-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c5b4013e36117fcd2cf39e0bdf175ed366701f4bc555dc3a9dae84afe2e4098b |
|
MD5 | bd334aae35436e938f0479109f1b1944 |
|
BLAKE2b-256 | 41600a830fe3eaec2045fb5cf5c05abd9cc6dbf2f51e63138fd742019c629018 |