Skip to main content

Qt5Reactor

Using the QtReactor

Before running / importing any other Twisted code, invoke:

app = QApplication(sys.argv) # your code to init QtCore
from twisted.application import reactors
reactors.installReactor('qt5')

or

app = QApplication(sys.argv) # your code to init QtCore
import qt5reactor
qt5reactor.install()

Testing

trial --reactor=qt5 [twisted] [twisted.test] [twisted.test.test_internet]

Make sure the plugin directory is in path or in the current directory for reactor discovery to work.

Testing on Python 3

trial does not work on Python3 yet. Use Twisted’s Python 3 test runner instead.

Install the reactor before calling unittest.main().

import qt5reactor
qt5reactor.install()
unittest.main(...)

Metadata

Release files for qt5reactor-fork 0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qt5reactor-fork 0.2
File Size Uploaded Provenance Actions
qt5reactor-fork-0.2.tar.gz 5.9 kB Without provenance Details for qt5reactor-fork-0.2.tar.gz

Release files / qt5reactor-fork-0.2.tar.gz

Download URL qt5reactor-fork-0.2.tar.gz
Size 5.9 kB
Tags Source
SHA-256 checksum
How to use checksums
125044203d9997acac43e200e17cd8e10683023cdbab247c46781086a60668b7
BLAKE2b-256 checksum
How to use checksums
c714eab6112b0d2ed801aa3764ba29bd4d71dbc8d2c6ea139722cfae74e6f16d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for qt5reactor-fork 0.2

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.2 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page