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.

Source Distribution

triqt-1.0.2.tar.gz (2.5 kB view hashes)

Uploaded source

Supported by

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