python3-quicktions - Fast fractions data type for rational numbers

Property Value
Distribution openSUSE Tumbleweed
Repository openSUSE Oss all
Package filename python3-quicktions-1.6-2.2.x86_64.rpm
Package name python3-quicktions
Package version 1.6
Package release 2.2
Package architecture x86_64
Package type rpm
Category Development/Languages/Python
License Python-2.0
Maintainer -
Download size 74.24 KB
Installed size 188.85 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
python3-quicktions-1.6-2.2.i586.rpm 1.6 i586 openSUSE Oss
python3-quicktions - - -


Name Value - - -
python(abi) = 3.7


Name Value
python3-quicktions = 1.6-2.2
python3-quicktions(x86-64) = 1.6-2.2


Type URL
Binary Package python3-quicktions-1.6-2.2.x86_64.rpm
Source Package python-quicktions-1.6-2.2.src.rpm

Install Howto

Install python3-quicktions rpm package:

# zypper install python3-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
python3-radon-3.0.1-2.1.noarch.rpm Code Metrics in Python
python3-rados- Python 3 libraries for the RADOS object store
python3-raet-0.6.8-1.2.noarch.rpm Reliable Asynchronous Event Transport protocol
python3-random2-1.0.1-4.4.noarch.rpm A Session and Caching library with WSGI Middleware
python3-rarfile-3.0-1.6.noarch.rpm RAR Archive Reader for Python
python3-rarfile-doc-3.0-1.6.noarch.rpm RAR Archive Reader for Python (Documentation)
python3-ravello-sdk-2.7-2.2.noarch.rpm Python SDK for the Ravello API
python3-raven-6.9.0-3.2.noarch.rpm Raven is a client for Sentry
python3-rawkit-0.6.0-1.2.noarch.rpm CTypes based LibRaw bindings
python3-rbd- Python 3 libraries for the RADOS block device
python3-rcssmin-1.0.6-2.4.i586.rpm RCSSmin is a CSS Minifier Written in Python
python3-rcssmin-1.0.6-2.4.x86_64.rpm RCSSmin is a CSS Minifier Written in Python
python3-rdflib-4.2.2-2.2.noarch.rpm A Python library for working with RDF
python3-readme_renderer-24.0-2.1.noarch.rpm A library for rendering "readme" descriptions
python3-rebulk-1.0.0-2.2.noarch.rpm Library for defining bulk search patterns to perform advanced string matching