{ "info": { "author": "Stefan Krah", "author_email": "skrah@bytereef.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "Intended Audience :: Education", "Intended Audience :: End Users/Desktop", "Intended Audience :: Financial and Insurance Industry", "Intended Audience :: Science/Research", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: C", "Programming Language :: Python :: 2.5", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.1", "Programming Language :: Python :: 3.2", "Topic :: Scientific/Engineering :: Mathematics", "Topic :: Software Development" ], "description": "Overview\n--------\n\nThe ``cdecimal`` package is a fast drop-in replacement for the ``decimal`` module\nin Python's standard library. Both modules provide complete implementations of\nMike Cowlishaw/IBM's ``General Decimal Arithmetic Specification``.\n\nTesting\n-------\n\nBoth ``cdecimal`` and the underlying library - ``libmpdec`` - are extremely\nwell tested. ``libmpdec`` is one of the few open source projects with 100%\ncode coverage. ``cdecimal`` is rigorously tested against ``decimal.py``.\n\nShort benchmarks\n----------------\n\nTypical performance gains are between 30x for I/O heavy benchmarks\nand 80x for numerical programs. In a database benchmark, cdecimal\nexhibits a speedup of 12x over decimal.py.\n\n+---------+-------------+--------------+-------------+\n| | decimal | cdecimal | speedup |\n+=========+=============+==============+=============+\n| pi | 42.75s | 0.58s | 74x |\n+---------+-------------+--------------+-------------+\n| telco | 172.19s | 5.68s | 30x |\n+---------+-------------+--------------+-------------+\n| psycopg | 3.57s | 0.29s | 12x |\n+---------+-------------+--------------+-------------+\n\nDocumentation\n-------------\n\nSince ``cdecimal`` is compatible with ``decimal.py``, the official documentation\nis valid. For the few remaining differences, refer to the second link.\n\n* `Decimal module `_\n* `Differences between cdecimal and decimal `_\n\nLinux Notes\n-----------\n\nThe build process requires a working C compiler and a *full* Python install with\ndevelopment headers. Linux distributions often ship the Python header files as\na separate package, called *python-dev* or *python-devel*.\n\nInstall headers on Debian/Ubuntu:\n\n* ``sudo apt-get install python-dev``\n\nWindows Notes\n-------------\n\n* `Binary installers `_\n\nLinks\n-----\n\n* `cdecimal project homepage `_\n* `cdecimal benchmarks `_", "description_content_type": null, "docs_url": null, "download_url": "http://www.bytereef.org/software/mpdecimal/releases/cdecimal-2.3.tar.gz", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://www.bytereef.org/mpdecimal/index.html", "keywords": "decimal,floating point,correctly-rounded,arithmetic,arbitrary precision", "license": "BSD License", "maintainer": null, "maintainer_email": null, "name": "pypi-cdecimal", "package_url": "https://pypi.org/project/pypi-cdecimal/", "platform": "Many", "project_url": "https://pypi.org/project/pypi-cdecimal/", "project_urls": { "Download": "http://www.bytereef.org/software/mpdecimal/releases/cdecimal-2.3.tar.gz", "Homepage": "http://www.bytereef.org/mpdecimal/index.html" }, "release_url": "https://pypi.org/project/pypi-cdecimal/2.3/", "requires_dist": null, "requires_python": null, "summary": "Fast arbitrary precision correctly-rounded decimal floating point arithmetic.", "version": "2.3" }, "last_serial": 2098019, "releases": { "2.3": [ { "comment_text": "", "digests": { "md5": "a95cce0eb5967f9ed8dadc2b632e4016", "sha256": "8ed3b8a876f88d8244c73d4f584bbc0937b70911e14ff4e613cb2a3f0e10906b" }, "downloads": -1, "filename": "pypi_cdecimal-2.3-cp27-none-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "a95cce0eb5967f9ed8dadc2b632e4016", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 135200, "upload_time": "2016-05-04T00:48:09", "url": "https://files.pythonhosted.org/packages/26/3d/e52c0a8216bfb8be649733276c2555a88b67345b519d556926758d0f1592/pypi_cdecimal-2.3-cp27-none-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "e5fb99f813d05114fee73c6381fa2ce6", "sha256": "4b7fd1bf6e680ff6f094576a6a791b1ac959d7a489cc29125a3c3ffdcc169dc8" }, "downloads": -1, "filename": "pypi-cdecimal-2.3.tar.gz", "has_sig": false, "md5_digest": "e5fb99f813d05114fee73c6381fa2ce6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90605, "upload_time": "2016-05-04T00:47:55", "url": "https://files.pythonhosted.org/packages/c6/3e/0e8408545ef9bca6e11956c1e78215b820f0193669afe8750f9cbaa054d1/pypi-cdecimal-2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "a95cce0eb5967f9ed8dadc2b632e4016", "sha256": "8ed3b8a876f88d8244c73d4f584bbc0937b70911e14ff4e613cb2a3f0e10906b" }, "downloads": -1, "filename": "pypi_cdecimal-2.3-cp27-none-macosx_10_11_x86_64.whl", "has_sig": false, "md5_digest": "a95cce0eb5967f9ed8dadc2b632e4016", "packagetype": "bdist_wheel", "python_version": "cp27", "requires_python": null, "size": 135200, "upload_time": "2016-05-04T00:48:09", "url": "https://files.pythonhosted.org/packages/26/3d/e52c0a8216bfb8be649733276c2555a88b67345b519d556926758d0f1592/pypi_cdecimal-2.3-cp27-none-macosx_10_11_x86_64.whl" }, { "comment_text": "", "digests": { "md5": "e5fb99f813d05114fee73c6381fa2ce6", "sha256": "4b7fd1bf6e680ff6f094576a6a791b1ac959d7a489cc29125a3c3ffdcc169dc8" }, "downloads": -1, "filename": "pypi-cdecimal-2.3.tar.gz", "has_sig": false, "md5_digest": "e5fb99f813d05114fee73c6381fa2ce6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 90605, "upload_time": "2016-05-04T00:47:55", "url": "https://files.pythonhosted.org/packages/c6/3e/0e8408545ef9bca6e11956c1e78215b820f0193669afe8750f9cbaa054d1/pypi-cdecimal-2.3.tar.gz" } ] }