ddx-python 0.2.0__cp310-cp310-macosx_10_12_x86_64.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
ddx_python/__init__.py ADDED
@@ -0,0 +1,5 @@
1
+ from .ddx_python import *
2
+
3
+ __doc__ = ddx_python.__doc__
4
+ if hasattr(ddx_python, "__all__"):
5
+ __all__ = ddx_python.__all__
@@ -0,0 +1,28 @@
1
+ Metadata-Version: 2.3
2
+ Name: ddx_python
3
+ Version: 0.2.0
4
+ Classifier: Programming Language :: Rust
5
+ Classifier: Programming Language :: Python :: Implementation :: CPython
6
+ Classifier: Programming Language :: Python :: Implementation :: PyPy
7
+ Requires-Python: >=3.6
8
+ Description-Content-Type: text/markdown; charset=UTF-8; variant=GFM
9
+
10
+ # DDX-Python
11
+ Rust bindings and utils for use in Python
12
+
13
+ ## decimal
14
+ Python bindings for `rust_decimal`. Supports comparison, addition, subtraction, multiplication, division, and remainder. Constructor only supports `str`.
15
+
16
+ Usage:
17
+ ```
18
+ $ python
19
+ >>> from ddx_python.decimal import Decimal
20
+ >>> d1 = Decimal("8631989.747461568422879160")
21
+ >>> d2 = Decimal("12354.867325583148587639999525")
22
+ >>> d3 = Decimal("8644344.6147871515714668000000")
23
+ >>> d1+d2 == d3
24
+ True
25
+ >>> d1+d2
26
+ Decimal('8644344.614787151571466800000')
27
+ ```
28
+
@@ -0,0 +1,5 @@
1
+ ddx_python-0.2.0.dist-info/METADATA,sha256=gCwFGOUXRLPAwsGE1f0Cf3-x0SVYhFHvKz39oY1YhJY,839
2
+ ddx_python-0.2.0.dist-info/WHEEL,sha256=A9vshlUqXbblRXoHRKPi7hNTVM76fezXzqipa6bbYsI,106
3
+ ddx_python/__init__.py,sha256=06dzA7Twk99CR5Ljtpw-mbdvLDligoxltPPjf1Jn4cA,123
4
+ ddx_python/ddx_python.cpython-310-darwin.so,sha256=m4unWLw8YLMLW7U73dYdUSuToszCbNCcjYERxofUP_o,1971292
5
+ ddx_python-0.2.0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: maturin (1.5.1)
3
+ Root-Is-Purelib: false
4
+ Tag: cp310-cp310-macosx_10_12_x86_64