{"id":24116205,"url":"https://github.com/aib/frametimer","last_synced_at":"2025-07-11T10:37:36.265Z","repository":{"id":38284558,"uuid":"488890649","full_name":"aib/frametimer","owner":"aib","description":null,"archived":false,"fork":false,"pushed_at":"2022-06-25T05:32:03.000Z","size":9,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-02-20T09:31:18.789Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/aib.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-05-05T08:29:56.000Z","updated_at":"2022-05-05T22:51:01.000Z","dependencies_parsed_at":"2022-09-03T00:01:32.188Z","dependency_job_id":null,"html_url":"https://github.com/aib/frametimer","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aib%2Fframetimer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aib%2Fframetimer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aib%2Fframetimer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/aib%2Fframetimer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/aib","download_url":"https://codeload.github.com/aib/frametimer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241150264,"owners_count":19918340,"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","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":[],"created_at":"2025-01-11T06:15:47.037Z","updated_at":"2025-02-28T12:22:44.761Z","avatar_url":"https://github.com/aib.png","language":"Python","readme":"# frametimer\n\nAn accurate clock/timer that can be used to help obtain constant framerates. It uses a hybrid approach of sleeping for *most* of the required duration, then spin-waiting for the rest.\n\n## Installation\n\n```pip install frametimer```\n\n(Or just grab the .py file, it's a simple module)\n\n## Usage\n\n```python\ntimer = frametimer.FrameTimer(60)\n\nwhile run_main_loop:\n\tdt = timer.tick()\n\n\tupdate(dt)\n\t...\n```\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faib%2Fframetimer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faib%2Fframetimer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faib%2Fframetimer/lists"}