{"id":16651800,"url":"https://github.com/henry232323/triqt","last_synced_at":"2025-04-09T17:45:17.926Z","repository":{"id":62585286,"uuid":"141499383","full_name":"henry232323/triqt","owner":"henry232323","description":"Run the Qt event loop from within the Trio event loop","archived":false,"fork":false,"pushed_at":"2020-07-08T06:13:39.000Z","size":22,"stargazers_count":6,"open_issues_count":2,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-04-03T17:15:24.274Z","etag":null,"topics":["async","pyqt","pyqt4","pyqt5","pyside","python","python-trio","python36","python37","qt","trio"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-2-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/henry232323.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":"2018-07-18T23:17:49.000Z","updated_at":"2023-04-20T03:53:51.000Z","dependencies_parsed_at":"2022-11-03T22:15:41.900Z","dependency_job_id":null,"html_url":"https://github.com/henry232323/triqt","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry232323%2Ftriqt","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry232323%2Ftriqt/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry232323%2Ftriqt/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/henry232323%2Ftriqt/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/henry232323","download_url":"https://codeload.github.com/henry232323/triqt/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248080816,"owners_count":21044568,"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":["async","pyqt","pyqt4","pyqt5","pyside","python","python-trio","python36","python37","qt","trio"],"created_at":"2024-10-12T09:26:38.456Z","updated_at":"2025-04-09T17:45:17.898Z","avatar_url":"https://github.com/henry232323.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# triqt\nRun the Qt event loop from within the [Trio](https://github.com/python-trio/trio) event loop. With inspiration and code borrowed from [Quamash](https://github.com/harvimt/quamash) \n\n**This is a simple single-file answer to a difficult problem. It doesn't have any tests and isn't anything close to professionally maintained. If you're looking for a well made and well documented library that runs Trio within the Qt loop, I recommend [qtrio](https://github.com/altendky/qtrio)**\n\nA simple way to use trio with your Python Qt application.\nTo begin running the app\n```py\n\u003e\u003e\u003e app = App()\n\u003e\u003e\u003e trio.run(task, instruments=[triqt.Instrument(app)])\n```\nTo invoke an async function from Qt using a Signal\n```py\n\u003e\u003e\u003e triqt.async_signal(func, args)\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenry232323%2Ftriqt","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhenry232323%2Ftriqt","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhenry232323%2Ftriqt/lists"}