Download

License

The latest source and binary distributions on this page are licensed under the Simplified BSD License.

Stable Version (2012-02-01)

Source

All downloads are identical, except:

  • The ZIP archive has DOS line endings.
  • The cdecimal archive comes without library tests and documentation.
OS File Size sha256sum
Unix mpdecimal-2.3.tar.gz 2.4MB 03f76f4acbb6e7f648c6efc6e424bbc1b4afb5632dac5196f840e71f603a2b4a
Windows mpdecimal-2.3.zip 2.4MB b0fd5bec2cc6a6035bc406339d020d2f4200a7dce8e8136a2850612a06508ed1
All cdecimal-2.3.tar.gz 354KB d737cbe43ed1f6ad9874fb86c3db1e9bbe20c0c750868fde5be3f379ade83d8b

Python Module Installers

These versions are compatible with decimal.py.

OS File Py Version Size sha1sum
Windows cdecimal-2.3.win32-py2.6.msi 2.6 192KB d196a9e0b44dcb75bbf4eda44078b766e6113f72
Windows cdecimal-2.3.win32-py2.7.msi 2.7 192KB e2b044da6c241df0911059216821c9865cb9e4f0
Windows cdecimal-2.3.win32-py3.1.msi 3.1 192KB 7e8b47eb3a2f50191e76f981fbe55050f13495e8
Windows cdecimal-2.3.win32-py3.2.msi 3.2 192KB 61be767b91aab0ba0d602fb2b23f6d882cafec05
Windows cdecimal-2.3.win-amd64-py2.6.msi 2.6 224KB 84afd94126549a3c67c3bab7437d085347f9d05c
Windows cdecimal-2.3.win-amd64-py2.7.msi 2.7 224KB ba0fbb1f9314dcef29481414a5c3496ec159df2e
Windows cdecimal-2.3.win-amd64-py3.1.msi 3.1 224KB d11bbd560e9cb9d34b0e7a068ac1c1eac5371428
Windows cdecimal-2.3.win-amd64-py3.2.msi 3.2 224KB d024148ea603dc8e82f8371ebdfaa0e65f5a9945

Python Module Installers (non-threaded version)

These versions are 8-16% faster, but in threaded programs the global default context cannot be used. Instead, thread local contexts have to be passed explicitly.

OS File Py Version Size sha1sum
Windows cdecimal-2.3-no-thread.win32-py2.6.msi 2.6 192KB 40f245e907512c5d3602ba5993755a0b4b67ca80
Windows cdecimal-2.3-no-thread.win32-py2.7.msi 2.7 192KB 960eb9bfd9fcf0faee6493506c1917d46536193a
Windows cdecimal-2.3-no-thread.win32-py3.1.msi 3.1 192KB 42b651ee1bf4c94611c43522d69f1965515949b8
Windows cdecimal-2.3-no-thread.win32-py3.2.msi 3.2 192KB ec26f14c35502d1d5488d440d7bc22ad41e9ac65
Windows cdecimal-2.3-no-thread.win-amd64-py2.6.msi 2.6 224KB a2278910a5b447af963e1d427dbeb48f49e377be
Windows cdecimal-2.3-no-thread.win-amd64-py2.7.msi 2.7 224KB 8da96d2f1ab1a98062cd43cb4f381b47309d8c22
Windows cdecimal-2.3-no-thread.win-amd64-py3.1.msi 3.1 224KB 85cd3ff4496aa7e0d0979d1695eef27cc7735c28
Windows cdecimal-2.3-no-thread.win-amd64-py3.2.msi 3.2 224KB 6c179a1284aceb3a7bfc481daae1d7d60359d487

Previous stable versions

OS File Size sha256sum
All mpdecimal-2.2.tar.gz 2.3MB 3d92429fab74ddb17d12feec9cd949cd8a0be4bc0ba9afc5ed9b3af884e5d406
All cdecimal-2.2.tar.gz 320KB 515625c5c5830b109c57af93d49ae2c57ec3f230d46a3e0583840ff73d7963be

Benchmarks

OS File sha1sum
Unix decbench-2.3.tar.gz 2480df3d5de41f56a58766b2ba0361496b34199e
All bench.py -
All Bench.java -
All telco.py -
All telco.testb -
All setup_dectest.sql -
All psycopg.py -