continuedfractions
A simple extension of the Python fractions.Fraction standard library class for working with (finite, simple) continued fractions as Python objects.
Install from PyPI:
pip install -U continuedfractions
or the main branch of this repo:
pip install -U git+https://github.com/sr-murthy/continuedfractions
The documentation now consists only of an API reference. All other previous documentation has been removed to reduce maintenance.
The continuedfractions package is aimed at users interested in:
- working with (finite, simple) continued fractions as Python objects, in an intuitive object-oriented way
- making stateful computations involving key properties such as elements/coefficients, convergents, semiconvergents, remainders, and others
- operating on them as rationals and instances of the
fractions.Fractionstandard library class - testing approximations for irrational numbers
- exploring other related objects such as rational points in the plane, enumerations of rational numbers, mediants, and special sequences of rational numbers such as Farey sequences
Metadata
Release files for continuedfractions 1.12.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| continuedfractions-1.12.0.tar.gz | 59.5 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| continuedfractions-1.12.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 120.9 kB
Release files / continuedfractions-1.12.0.tar.gz
| Download URL | continuedfractions-1.12.0.tar.gz |
|---|---|
| Size | 59.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
784be183fab3ac308b26200dd305b64df6bcd475a2edc8245a4eb17469c5a4ec
|
|
BLAKE2b-256 checksum How to use checksums |
079c3046651c4099cfa91c7fe33827fc4d6ecf7683d0613e0aa4843b62391eb1
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|
Release files / continuedfractions-1.12.0-py3-none-any.whl
| Download URL | continuedfractions-1.12.0-py3-none-any.whl |
|---|---|
| Size | 61.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
438dad4d1a2eed8cc32c8fcad1e4681f30a857f8ee0c8fc094abe220eb5a6c47
|
|
BLAKE2b-256 checksum How to use checksums |
5bd4dbb4dbcc485f605224eb8be5e2b2ded4f002701c4a83ecb6fee0b2b6bc2b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/6.2.0 CPython/3.11.11
|