{ "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": "m3-cdecimal", "package_url": "https://pypi.org/project/m3-cdecimal/", "platform": "Many", "project_url": "https://pypi.org/project/m3-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/m3-cdecimal/2.3/", "requires_dist": null, "requires_python": null, "summary": "Fast arbitrary precision correctly-rounded decimal floating point arithmetic.", "version": "2.3" }, "last_serial": 1237249, "releases": { "2.3": [ { "comment_text": "", "digests": { "md5": "80db156a9cf279e1d3d0e31e78196867", "sha256": "55406e987fc6fabf21925d1496371d1ae55e61f66b62f2eaa5e152d0e56f3771" }, "downloads": -1, "filename": "m3-cdecimal-2.3.tar.gz", "has_sig": false, "md5_digest": "80db156a9cf279e1d3d0e31e78196867", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 639994, "upload_time": "2014-09-23T16:47:47", "url": "https://files.pythonhosted.org/packages/38/48/f971b928e29d7c163dd01f265c294417dfe898bd07a1d8dcc3da9e69c0b9/m3-cdecimal-2.3.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "80db156a9cf279e1d3d0e31e78196867", "sha256": "55406e987fc6fabf21925d1496371d1ae55e61f66b62f2eaa5e152d0e56f3771" }, "downloads": -1, "filename": "m3-cdecimal-2.3.tar.gz", "has_sig": false, "md5_digest": "80db156a9cf279e1d3d0e31e78196867", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 639994, "upload_time": "2014-09-23T16:47:47", "url": "https://files.pythonhosted.org/packages/38/48/f971b928e29d7c163dd01f265c294417dfe898bd07a1d8dcc3da9e69c0b9/m3-cdecimal-2.3.tar.gz" } ] }