Metadata-Version: 2.1
Name: mh_python
Version: 0.0.1
Summary: Matlab to Python/Numpy translator
Home-page: https://translate.mat2py.org
Author: Chaoqing Wang
Author-email: chaoqingwang.nick@gmail.com
License: GNU Affero General Public License v3
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: GNU Affero General Public License v3 or later (AGPLv3+)
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python :: 3
Classifier: Topic :: Scientific/Engineering
Classifier: Topic :: Software Development :: Compilers
Classifier: Topic :: Software Development :: Quality Assurance
Classifier: Topic :: Utilities
Requires-Python: >=3.6, <4
Description-Content-Type: text/markdown
License-File: LICENSE.AGPL

# 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](https://mat2py.org) framework.

This `mh_python` utility was initially developed under fork of [MISS_HIT](https://github.com/florianschanda/miss_hit) and
then exported to a seperated [branch](https://github.com/mat2py/miss_hit/tree/mh_python) for uploading to [PyPi](https://pypi.org/project/mh_python/).

We hope to merge this utility back to `miss_hit` after it is stable.

## Usage

```python
# 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](https://github.com/florianschanda/miss_hit),
so it is also licensed under the same GNU Affero GPL version 3 (or later) as described in LICENSE.AGPL.

## Acknowledgements
- [MISS_HIT](https://github.com/florianschanda/miss_hit)
- [Black](https://github.com/psf/black)


