{"id":18628585,"url":"https://github.com/sr-murthy/continuedfractions","last_synced_at":"2025-08-03T14:07:50.887Z","repository":{"id":223532029,"uuid":"756086825","full_name":"sr-murthy/continuedfractions","owner":"sr-murthy","description":"Object-oriented continued fractions with Python.","archived":false,"fork":false,"pushed_at":"2025-07-30T18:51:44.000Z","size":3247,"stargazers_count":6,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-07-30T20:55:55.850Z","etag":null,"topics":["computational-number-theory","continued-fractions","coprime-number","coprimes","farey-sequence","irrational-numbers","mediants","number-theory","rational-approximation","rational-numbers","real-numbers"],"latest_commit_sha":null,"homepage":"https://continuedfractions.readthedocs.io","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mpl-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/sr-murthy.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":"CITATION.cff","codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null},"funding":{"github":"sr-murthy","patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"lfx_crowdfunding":null,"polar":null,"buy_me_a_coffee":null,"custom":null}},"created_at":"2024-02-11T23:07:26.000Z","updated_at":"2025-07-30T18:51:48.000Z","dependencies_parsed_at":"2024-02-20T18:59:56.749Z","dependency_job_id":"2d12dcb6-f19c-4afe-b93b-de6365c077a2","html_url":"https://github.com/sr-murthy/continuedfractions","commit_stats":null,"previous_names":["sr-murthy/continuedfractions"],"tags_count":81,"template":true,"template_full_name":null,"purl":"pkg:github/sr-murthy/continuedfractions","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-murthy%2Fcontinuedfractions","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-murthy%2Fcontinuedfractions/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-murthy%2Fcontinuedfractions/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-murthy%2Fcontinuedfractions/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/sr-murthy","download_url":"https://codeload.github.com/sr-murthy/continuedfractions/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/sr-murthy%2Fcontinuedfractions/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":268554909,"owners_count":24269062,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-03T02:00:12.545Z","response_time":2577,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["computational-number-theory","continued-fractions","coprime-number","coprimes","farey-sequence","irrational-numbers","mediants","number-theory","rational-approximation","rational-numbers","real-numbers"],"created_at":"2024-11-07T04:48:20.247Z","updated_at":"2025-08-03T14:07:50.867Z","avatar_url":"https://github.com/sr-murthy.png","language":"Python","funding_links":["https://github.com/sponsors/sr-murthy"],"categories":[],"sub_categories":[],"readme":"\u003cdiv align=\"center\"\u003e\n  \n[![CI](https://github.com/sr-murthy/continuedfractions/actions/workflows/ci.yml/badge.svg?branch=main)](https://github.com/sr-murthy/continuedfractions/actions/workflows/ci.yml)\n[![CodeQL Analysis](https://github.com/sr-murthy/continuedfractions/actions/workflows/codeql-analysis.yml/badge.svg)](https://github.com/sr-murthy/continuedfractions/actions/workflows/codeql-analysis.yml)\n[![Codecov](https://codecov.io/gh/sr-murthy/continuedfractions/graph/badge.svg?token=GWQ08T4P5J)](https://codecov.io/gh/sr-murthy/continuedfractions)\n[![Ruff](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)\n[![pdm-managed](https://img.shields.io/badge/pdm-managed-blueviolet)](https://pdm-project.org)\n[![License: MPL\n2.0](https://img.shields.io/badge/License-MPL_2.0-brightgreen.svg)](https://opensource.org/licenses/MPL-2.0)\n[![Docs](https://readthedocs.org/projects/continuedfractions/badge/?version=latest)](https://continuedfractions.readthedocs.io/en/latest/?badge=latest)\n\u003ca href=\"https://trackgit.com\"\u003e\n\u003cimg src=\"https://us-central1-trackgit-analytics.cloudfunctions.net/token/ping/lsudelfvcxb7f1xm6i4l\" alt=\"trackgit-views\" /\u003e\n\u003c/a\u003e\n[![PyPI version](https://img.shields.io/pypi/v/continuedfractions?logo=python\u0026color=41bb13)](https://pypi.org/project/continuedfractions)\n[![Downloads](https://static.pepy.tech/badge/continuedfractions)](https://pepy.tech/project/continuedfractions)\n\n\u003c/div\u003e\n\n# continuedfractions\n\nA simple extension of the Python [`fractions`](https://docs.python.org/3/library/fractions.html) standard library for working with (finite, simple) [continued fractions](https://en.wikipedia.org/wiki/Continued_fraction) as Python objects.\n\nInstall from [PyPI](https://pypi.org/project/continuedfractions/):\n```shell\npip install -U continuedfractions\n```\nor the `main` branch of this repo:\n```shell\npip install -U git+https://github.com/sr-murthy/continuedfractions\n```\n\nSee the [project docs](https://continuedfractions.readthedocs.io) for more details, which includes the [API reference](https://continuedfractions.readthedocs.io/sources/api-reference.html).\n\n[Continued fractions](https://en.wikipedia.org/wiki/Continued_fraction) are beautiful and interesting mathematical objects, with many connections in [number theory](https://en.wikipedia.org/wiki/Number_theory) and also very useful practical applications, including the [rational approximation of real numbers](https://en.wikipedia.org/wiki/Continued_fraction#Best_rational_approximations).\n\nThe `continuedfractions` package is designed for users interested in:\n\n* learning about and working with (finite, simple) continued fractions as Python objects, in an intuitive object-oriented way\n* exploring their key properties, such as elements/coefficients, convergents, semiconvergents, remainders, and others\n* operating on them as rationals and instances of the standard library [`fractions.Fraction`](https://docs.python.org/3/library/fractions.html#fractions.Fraction) class\n* making approximations of and experimental computations for irrational numbers\n* exploring other related objects, such as mediants, and special sequences of rational numbers such as Farey sequences\n\nThe project is [licensed](LICENSE) under the [Mozilla Public License 2.0](https://opensource.org/licenses/MPL-2.0).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr-murthy%2Fcontinuedfractions","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsr-murthy%2Fcontinuedfractions","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsr-murthy%2Fcontinuedfractions/lists"}