ddx-python-0.1.6
توضیحات
-
| ویژگی | مقدار |
|---|---|
| سیستم عامل | - |
| نام فایل | ddx-python-0.1.6 |
| نام | ddx-python |
| نسخه کتابخانه | 0.1.6 |
| نگهدارنده | [] |
| ایمیل نگهدارنده | [] |
| نویسنده | - |
| ایمیل نویسنده | - |
| آدرس صفحه اصلی | - |
| آدرس اینترنتی | https://pypi.org/project/ddx-python/ |
| مجوز | - |
# DDX-Python
Rust bindings and utils for use in Python
## decimal
Python bindings for `rust_decimal`. Supports comparison, addition, subtraction, multiplication, division, and remainder. Constructor only supports `str`.
Usage:
```
$ python
>>> from ddx_python.decimal import Decimal
>>> d1 = Decimal("8631989.747461568422879160")
>>> d2 = Decimal("12354.867325583148587639999525")
>>> d3 = Decimal("8644344.6147871515714668000000")
>>> d1+d2 == d3
True
>>> d1+d2
Decimal('8644344.614787151571466800000')
```
زبان مورد نیاز
| مقدار | نام |
|---|---|
| >=3.6 | Python |
نحوه نصب
نصب پکیج whl ddx-python-0.1.6:
pip install ddx-python-0.1.6.whl
نصب پکیج tar.gz ddx-python-0.1.6:
pip install ddx-python-0.1.6.tar.gz