Skip to main content

Run the Qt event loop from within the Trio event loop

Project description

triqt

Run the Qt event loop from within the Trio event loop. With inspiration and code borrowed from Quamash

A simple way to use trio with your Python Qt application. To begin running the app

>>> app = App()
>>> trio.run(task, instruments=[triqt.Instrument(app)])

To invoke an async function from Qt using a Signal

>>> triqt.async_signal(func, args)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for triqt, version 1.0.2
Filename, size File type Python version Upload date Hashes
Filename, size triqt-1.0.2.tar.gz (2.5 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page