Qt5Reactor
Using the Qt5Reactor
Qt5Reactor is compatible with both PyQt5 and PySide2.
Install using pip
pip install qt5reactor
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.
There is also pytest-twisted for use with pytest. You can specify to use the qt5reactor by adding --reactor=qt5reactor.
Metadata
Release files for qt5reactor 0.6.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| qt5reactor-0.6.3.tar.gz | 24.5 kB | Without provenance | Details for qt5reactor-0.6.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| qt5reactor-0.6.3-py3-none-any.whl | Python 3 | none | any | Details for qt5reactor-0.6.3-py3-none-any.whl |
Total release size: 34.0 kB
Release files / qt5reactor-0.6.3.tar.gz
| Download URL | qt5reactor-0.6.3.tar.gz |
|---|---|
| Size | 24.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
c3470a8a25d9a339f9ca6243502a9b2277f181d772b7acbff551d5bc363b7572
|
|
BLAKE2b-256 checksum How to use checksums |
c375fccdd06c4bb72fa578abb4212ef66351f7bd2b3d714ff240fa1e1dc05009
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Release files / qt5reactor-0.6.3-py3-none-any.whl
| Download URL | qt5reactor-0.6.3-py3-none-any.whl |
|---|---|
| Size | 9.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
3f01afa5874f51fbfe3cfb7a5fc4cbfcf7b65ddb603824daf145e44c370a225b
|
|
BLAKE2b-256 checksum How to use checksums |
2d59b1628ed0ee00317a7e51ee6c257e84f061bf1ce61474d18ec87771af2213
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/47.1.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5
|
Security for qt5reactor 0.6.3
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.