No project description provided
Project description
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')
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
File details
Details for the file ddx_python-0.2.4-cp310-cp310-macosx_10_12_x86_64.whl
.
File metadata
- Download URL: ddx_python-0.2.4-cp310-cp310-macosx_10_12_x86_64.whl
- Upload date:
- Size: 828.2 kB
- Tags: CPython 3.10, macOS 10.12+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/1.5.1
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 229f6306974d61460772c0fa682f9399f1ced7082abe4fa5d21a968182bbd1cf |
|
MD5 | 915a9d382300cfa90de80b06b5d81d0d |
|
BLAKE2b-256 | 70bb3a576fb15a39890c0e5b2da355e7899e15585a7fc7f5e5e84c66e369c08b |