python2-quicktions - Fast fractions data type for rational numbers

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python2-quicktions-1.6-2.2.i586.rpm
Package name python2-quicktions
Package version 1.6
Package release 2.2
Package architecture i586
Package type rpm
Category Development/Languages/Python
License Python-2.0
Maintainer -
Download size 74.43 KB
Installed size 205.36 KB
Python's Fraction data type is an excellent way to do exact money
calculations and largely beats Decimal in terms of simplicity,
accuracy and safety.  Clearly not in terms of speed, though, given
the cdecimal accelerator in Py3.3+.
Quicktions is an adaptation of the original fractions module
(as included in CPython 3.5) that is compiled and optimised with
Cython into a fast, native extension module.
Compared to the standard library fractions module in Py2.7 and
Py3.4, quicktions is currently about 10x faster, and still about
6x faster than the current version in Python 3.5.  It's also about
15x faster than the (Python implemented) decimal module in Py2.7.


Package Version Architecture Repository
python2-quicktions-1.6-2.2.x86_64.rpm 1.6 x86_64 openSUSE Oss
python2-quicktions - - -


Name Value - - -
python(abi) = 2.7


Name Value
python-quicktions = 1.6-2.2
python2-quicktions = 1.6-2.2
python2-quicktions(x86-32) = 1.6-2.2


Name Value
python-quicktions < 1.6-2.2


Type URL
Binary Package python2-quicktions-1.6-2.2.i586.rpm
Source Package python-quicktions-1.6-2.2.src.rpm

Install Howto

Install python2-quicktions rpm package:

# zypper install python2-quicktions




2018-06-15 -
- Use more compatible py.test syntax.
2018-05-16 -
- Update to 1.6
* Speed up Fraction creation from a string value by 3-5x.
* Built using Cython 0.28.1.
- Update to 1.5
* Result of power operator (``**``) was not normalised for negative values.
* Built using Cython 0.27.2.
- Update to 1.4
* Rebuilt using Cython 0.26.1 to improve support of Python 3.7.
- Update to 1.3
* repair the faster instantiation from Decimal values in Python 3.6
* avoid potential glitch for certain large numbers in normalisation under Python 2.x
- Update to 1.2
* change hash function in Python 2.x to match that of ``fractions.Fraction``
- Update to 1.1
* faster instantiation from float values
* faster instantiation from Decimal values in Python 3.6
- Update to 1.0
* ``Fraction.imag`` property could return non-zero
* parsing strings with long fraction parts could use an incorrect scale
- Implement single-spec version
2015-09-03 -
- Update to 0.7 (2014-10-09)
* faster instantiation from float and string values
fix test in Python 2.x
- Update to 0.6 (2014-10-09)
* faster normalisation (and thus instantiation)
2014-10-08 -
- Initial version

See Also

Package Description
python2-radon-3.0.1-2.1.noarch.rpm Code Metrics in Python
python2-raet-0.6.8-1.2.noarch.rpm Reliable Asynchronous Event Transport protocol
python2-random2-1.0.1-4.4.noarch.rpm A Session and Caching library with WSGI Middleware
python2-rarfile-3.0-1.6.noarch.rpm RAR Archive Reader for Python
python2-rarfile-doc-3.0-1.6.noarch.rpm RAR Archive Reader for Python (Documentation)
python2-ravello-sdk-2.7-2.2.noarch.rpm Python SDK for the Ravello API
python2-raven-6.9.0-3.2.noarch.rpm Raven is a client for Sentry
python2-rawkit-0.6.0-1.2.noarch.rpm CTypes based LibRaw bindings
python2-rcssmin-1.0.6-2.4.i586.rpm RCSSmin is a CSS Minifier Written in Python
python2-rcssmin-1.0.6-2.4.x86_64.rpm RCSSmin is a CSS Minifier Written in Python
python2-rdflib-4.2.2-2.2.noarch.rpm A Python library for working with RDF
python2-readme_renderer-24.0-2.1.noarch.rpm A library for rendering "readme" descriptions
python2-rebulk-1.0.0-2.2.noarch.rpm Library for defining bulk search patterns to perform advanced string matching
python2-recommonmark-0.5.0-2.1.noarch.rpm Python docutils-compatibility bridge to CommonMark
python2-redbaron-0.8-1.2.noarch.rpm Python module for writing code that modifies source code