Skip to main content

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


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

ddx_python-0.1.4-cp38-abi3-manylinux_2_24_x86_64.whl (196.6 kB view details)

Uploaded CPython 3.8+ manylinux: glibc 2.24+ x86-64

ddx_python-0.1.4-cp38-abi3-macosx_10_7_x86_64.whl (186.7 kB view details)

Uploaded CPython 3.8+ macOS 10.7+ x86-64

File details

Details for the file ddx_python-0.1.4-cp38-abi3-manylinux_2_24_x86_64.whl.

File metadata

File hashes

Hashes for ddx_python-0.1.4-cp38-abi3-manylinux_2_24_x86_64.whl
Algorithm Hash digest
SHA256 ba4f65ebc62f72ec7b18b4483794826699928fac38935d3cbe0bc4ceb8e2ebf2
MD5 53c579c836bdd86aba9fc403b74ba142
BLAKE2b-256 8826b732201ff574b459a884eee5d66490129da0275b220bf692bc24430c1ec1

See more details on using hashes here.

File details

Details for the file ddx_python-0.1.4-cp38-abi3-macosx_10_7_x86_64.whl.

File metadata

File hashes

Hashes for ddx_python-0.1.4-cp38-abi3-macosx_10_7_x86_64.whl
Algorithm Hash digest
SHA256 038600bba4fb0a56d4211e81f0dd51deea7fab79dafbecb155d9b392be09510d
MD5 c5af5fae3dad79b36b17c7c7573edb71
BLAKE2b-256 e2bc3ec790e26471fb4f9b6a8e2f508ea2a0ff6cd4ba5421009b9093106c6e80

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page