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 details)

Uploaded Source

File details

Details for the file triqt-1.0.2.tar.gz.

File metadata

  • Download URL: triqt-1.0.2.tar.gz
  • Upload date:
  • Size: 2.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.45.0 CPython/3.8.2

File hashes

Hashes for triqt-1.0.2.tar.gz
Algorithm Hash digest
SHA256 f40b28be2f7f17bb9aa4dbca580e7d8c2e2bd34f34ef6d524d13debeebfd3daf
MD5 794ed52ede2eb451e6a4518e52b774c5
BLAKE2b-256 a6e8d09cdbb2e0eca3e5ba0fb6eca2c5905b94f0b7dc1dd65f55bc040c5730f0

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page