Skip to main content

# AsyncTK

[![Licence: GPL v3](https://img.shields.io/badge/Licence-GPL%20v3-blue.svg)](https://www.gnu.org/licenses/gpl-3.0)

## 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+https://github.com/Starwort/asynctk.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

Metadata

Release files for asynctk 2021.10.30.rev2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for asynctk 2021.10.30.rev2
File Size Uploaded
asynctk-2021.10.30.rev2.tar.gz 36.4 kB Details

Release files / asynctk-2021.10.30.rev2.tar.gz

Download URL asynctk-2021.10.30.rev2.tar.gz
Size 36.4 kB
Tags Source
SHA-256 checksum
How to use checksums
8bb0243ebf9a813abfddd8c48b1f94c61070748becec53ffba6a54c268ef4e00
BLAKE2b-256 checksum
How to use checksums
9055cf34b8790dd18c90bc80a05cb2f35c03088056ee12cfc39be40035a3f905
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.10.0 pkginfo/1.2.1 requests/2.18.4 setuptools/39.0.1 requests-toolbelt/0.8.0 tqdm/4.19.5 CPython/3.6.9
Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page