cmixf-0.2.0
توضیحات
A CMIXF-12 library
| ویژگی | مقدار |
|---|---|
| سیستم عامل | POSIX :: Linux |
| نام فایل | cmixf-0.2.0 |
| نام | cmixf |
| نسخه کتابخانه | 0.2.0 |
| نگهدارنده | ['satra'] |
| ایمیل نگهدارنده | ['satra@mit.edu'] |
| نویسنده | satra |
| ایمیل نویسنده | satra@mit.edu |
| آدرس صفحه اصلی | https://github.com/satra/cmixf |
| آدرس اینترنتی | https://pypi.org/project/cmixf/ |
| مجوز | Apache License, 2.0 |

# cmixf
A library to parse [CMIXF-12](https://people.csail.mit.edu/jaffer/MIXF/CMIXF-12).
## For users:
To install from PyPi.
```
$ pip install cmixf
```
This will install a command line interface called `cmixf`.
```
$ cmixf --help
Usage: cmixf [OPTIONS] [TEXT]...
Options:
-d, --debug Turn on token debugging
--help Show this message and exit.
```
At present this assumes that a number is provided before any unit. To better
understand which characters are erroneous you can turn on the debug flag.
1. Without debugging on:
```
$ cmixf
cmixf (Ctrl+d to quit) > 1mV
1mV
cmixf (Ctrl+d to quit) > 1oC
1oC
cmixf (Ctrl+d to quit) > 1mM
FAILED: Line 1: Bad character 'M'
cmixf (Ctrl+d to quit) >
```
2. With debugging turned on:
```
$ cmixf --debug
cmixf (Ctrl+d to quit) > 1mM
type='REAL', value='1'
type='UNITC', value='m'
FAILED: Line 1: Bad character 'M'
cmixf (Ctrl+d to quit) >
```
## For developers:
After cloning the repo do:
1. pip install -e .[dev]
2. pre-commit install
نیازمندی
| مقدار | نام |
|---|---|
| - | sly |
| - | click |
| >=4.4.0 | pytest |
| - | pytest-cov |
| - | pytest-env |
| - | pytest-xdist |
| - | pytest-rerunfailures |
| - | codecov |
| - | black |
| - | pre-commit |
| >=4.4.0 | pytest |
| - | pytest-cov |
| - | pytest-env |
| - | pytest-xdist |
| - | pytest-rerunfailures |
| - | codecov |
| - | black |
| - | pre-commit |
| >=4.4.0 | pytest |
| - | pytest-cov |
| - | pytest-env |
| - | pytest-xdist |
| - | pytest-rerunfailures |
| - | codecov |
| >=4.4.0 | pytest |
| - | pytest-cov |
| - | pytest-env |
| - | pytest-xdist |
| - | pytest-rerunfailures |
| - | codecov |
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >= 3.7 | Python |
نحوه نصب
نصب پکیج whl cmixf-0.2.0:
pip install cmixf-0.2.0.whl
نصب پکیج tar.gz cmixf-0.2.0:
pip install cmixf-0.2.0.tar.gz