{"id":28563870,"url":"https://github.com/twisted/qt5reactor","last_synced_at":"2025-12-12T00:50:42.949Z","repository":{"id":29853071,"uuid":"33397954","full_name":"twisted/qt5reactor","owner":"twisted","description":"Twisted and PyQt5 eventloop integration. Borrowed from https://github.com/nehbit/aether-public/blob/master/qt5reactor.py","archived":false,"fork":false,"pushed_at":"2024-02-02T13:08:23.000Z","size":103,"stargazers_count":47,"open_issues_count":18,"forks_count":22,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-06-01T20:05:09.081Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/twisted.png","metadata":{"files":{"readme":"README.rst","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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2015-04-04T07:33:36.000Z","updated_at":"2023-09-24T11:14:11.000Z","dependencies_parsed_at":"2024-06-18T21:34:21.844Z","dependency_job_id":"0355702d-17bc-4bea-a026-4473d591e6df","html_url":"https://github.com/twisted/qt5reactor","commit_stats":{"total_commits":60,"total_committers":11,"mean_commits":5.454545454545454,"dds":0.5333333333333333,"last_synced_commit":"65a5aa9808fcfbb54e5ea0425778b1ba51c01b67"},"previous_names":["sunu/qt5reactor"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Fqt5reactor","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Fqt5reactor/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Fqt5reactor/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Fqt5reactor/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/twisted","download_url":"https://codeload.github.com/twisted/qt5reactor/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/twisted%2Fqt5reactor/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":258803528,"owners_count":22760443,"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-06-10T13:08:56.370Z","updated_at":"2025-12-12T00:50:42.916Z","avatar_url":"https://github.com/twisted.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"Qt5Reactor\n==========\n\n|PyPI| |Pythons| |GitHub| |GitHub Actions|\n\n\n.. |PyPI| image:: https://img.shields.io/pypi/v/qt5reactor.svg\n   :alt: PyPI version\n   :target: https://pypi.org/project/qt5reactor/\n\n.. |Pythons| image:: https://img.shields.io/pypi/pyversions/qt5reactor.svg\n   :alt: supported Python versions\n   :target: https://pypi.org/project/qt5reactor/\n\n.. |GitHub| image:: https://img.shields.io/github/last-commit/twisted/qt5reactor/master.svg\n   :alt: source on GitHub\n   :target: https://github.com/twisted/qt5reactor\n\n.. |GitHub Actions| image:: https://github.com/twisted/qt5reactor/workflows/CI/badge.svg\n   :alt: GitHub Actions build status\n   :target: https://github.com/twisted/qt5reactor/actions\n\n\nUsing the Qt5Reactor\n--------------------\n\nQt5Reactor is compatible with both PyQt5 and PySide2.\n\nInstall using pip\n\n::\n\n    pip install qt5reactor\n\nBefore running / importing any other Twisted code, invoke:\n\n::\n\n    app = QApplication(sys.argv) # your code to init QtCore\n    from twisted.application import reactors\n    reactors.installReactor('qt5')\n\nor\n\n::\n\n    app = QApplication(sys.argv) # your code to init QtCore\n    import qt5reactor\n    qt5reactor.install()\n\nTesting\n~~~~~~~\n\n::\n\n   trial --reactor=qt5 [twisted] [twisted.test] [twisted.test.test_internet]\n\nMake sure the plugin directory is in path or in the current directory for\nreactor discovery to work.\n\nThere is also `pytest-twisted`_ for use with pytest_.\nYou can specify to use the qt5reactor by adding ``--reactor=qt5reactor``.\n\n.. _pytest-twisted: https://github.com/pytest-dev/pytest-twisted\n.. _pytest: https://github.com/pytest-dev/pytest\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwisted%2Fqt5reactor","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftwisted%2Fqt5reactor","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftwisted%2Fqt5reactor/lists"}