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 Distributions
File details
Details for the file ddx_python-0.1.5-cp38-abi3-manylinux_2_24_x86_64.whl
.
File metadata
- Download URL: ddx_python-0.1.5-cp38-abi3-manylinux_2_24_x86_64.whl
- Upload date:
- Size: 202.2 kB
- Tags: CPython 3.8+, manylinux: glibc 2.24+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa37243e5c7d6b5fa5bf7573dfa2ba24fba889dc66c83644070ac314d9a30538 |
|
MD5 | cbbeaf745348984c32ac9632b35bf92a |
|
BLAKE2b-256 | 038fbb9af3ddf3ef291dc36ebf882cc65441276387b07debac57e23f68266edf |
File details
Details for the file ddx_python-0.1.5-cp38-abi3-macosx_10_7_x86_64.whl
.
File metadata
- Download URL: ddx_python-0.1.5-cp38-abi3-macosx_10_7_x86_64.whl
- Upload date:
- Size: 191.7 kB
- Tags: CPython 3.8+, macOS 10.7+ x86-64
- Uploaded using Trusted Publishing? No
- Uploaded via: maturin/0.12.9
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 09af3ebc108fae36be2a610e38c47e391598ea8a21fdf7b30921dd0cabfe03f2 |
|
MD5 | 1c332e3d45f2cf36ea0065d4f142c6fb |
|
BLAKE2b-256 | 481ab00bf25a1127366c431df701f5bbf16b44cdfb90cc40ff6a303893837ccb |