Skip to main content

An asynchronous wrapper for TK/TCL using TKInter and AsyncIO

Project description

# AsyncTK

[![Licence: GPL v3](](

## What is AsyncTK?

AsyncTK is an asynchronous wrapper for TK/TCL using TKInter and AsyncIO. It can:

  • Initialise and start the event loop
  • Run all major TK/TCL commands and widgets, asynchronously!
  • Be combined, using class inheritance, with other asynchronous processes and classes!

### Installation

AsyncTK can be installed using pip install asynctk, or for the more adventurous, pip install git+

### Usage

AsyncTK’s window is used as TK’s is, it’s created, and components are placed onto it. Finally, the app’s .mainloop() method is called, and your program runs. Nothing new there, right? Wrong. By calling asyncio.ensure_future() on your coroutines, those coroutines will continue to run, and can interact with the TK window. This means no more threading solutions - processes can change the window!

### Future improvements

  • Make coroutines the default for callbacks
  • Ensure there is no widget lag
  • Submodules
  • Stability

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 asynctk, version 2019.08.26.rev10
Filename, size File type Python version Upload date Hashes
Filename, size asynctk-2019.08.26.rev10.tar.gz (35.9 kB) File type Source Python version None Upload date Hashes View

Supported by

Pingdom Pingdom Monitoring Google Google Object Storage and Download Analytics Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN DigiCert DigiCert EV certificate StatusPage StatusPage Status page