cumin-py-0.0.5
توضیحات
Python Binding for cumin
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | cumin-py-0.0.5 |
| نام | cumin-py |
| نسخه کتابخانه | 0.0.5 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | cympfh |
| ایمیل نویسنده | cympfh@gmail.com |
| آدرس صفحه اصلی | https://github.com/cympfh/cumin-py |
| آدرس اینترنتی | https://pypi.org/project/cumin-py/ |
| مجوز | - |
cumin-py
========
Python Binding for `cumin <https://github.com/cympfh/cumin>`__.
setup
-----
from PyPI
~~~~~~~~~
.. code:: bash
pip install cumin-py
from Github
~~~~~~~~~~~
.. code:: bash
clone this, then
pip install .
Usage
-----
.. code:: python
import cumin
cumin.loads("""
struct S { x: Int, y: Int = 0 }
let a = S(1);
[a, a]
""")
# => [{'x': 1, 'y': 0}, {'x': 1, 'y': 0}]
cumin.load("conf.cumin") # read ./conf.cumin
نحوه نصب
نصب پکیج whl cumin-py-0.0.5:
pip install cumin-py-0.0.5.whl
نصب پکیج tar.gz cumin-py-0.0.5:
pip install cumin-py-0.0.5.tar.gz