A thread-safe wrapper around Tkinter for Python

tkinter, multi-threading, multithreading, pypi, python, thread-safety
pip install mttkinter==0.6.1



Build status Build Status codecov PyPI version License: LGPL v3

A wrapper around Tkinter for multi-threading by Allen B. Taylor

This is the mtTkinter module written by Allen B. Taylor, originally published here. This module was originally created to fix problems in a program that was not thread-safe, but I have found it to be useful in my own programs as well. This GitHub repository is available for those who want to fork the code, but mostly I just created it to get the module on PyPI. Publishing the module on PyPI was suggested quite a while ago.


You can install mtTkinter by copying it directly into your project folder, install it Python-installation wide by copying the file into %PYTHONDIR%/Libs/lib-tk/ or you could use pip install mttkinter, a method for which this repository was specifically created.


Allen B. Taylor licensed this code under the GNU LGPL license from version 0.4 on.


Since I have not found any bugs or problems with the current code, there will be no further development of the module. If you want, you can fork the repository and suggest changes through pull requests. You will be credited for your work.