Skip to main content

TkScheduler

TkScheduler is a simple timer/scheduler for Tkinter, akin to PyQt's QTimer. It is designed to function similarly and I am building it mostly for use in my own text editor written in Tkinter. However, if you want a feature, I am always open to suggestions if you get me interested enough in an idea that's practical.

Usage

The scheduler provides two core methods: start() and stop().

It is designed for lightweight scheduling tasks such as autosave, linting debounce, and periodic UI updates in Tkinter applications.

Available options:

option description default form
root Tkinter root instance used for scheduling required parameter when initializing class
fn callback function executed on timeout None property
interval delay in milliseconds between executions 0 property & parameter of start()
singleShotState if True, runs only once; if False, repeats False property
isActive returns whether a timer is currently scheduled derived (read-only) function that gets the internal active state

Installing

This software comes as a pip package hosted on PyPI.

pip install tkscheduler

License

This software is licensed under the GNU GPLv3. For more info, see the LICENSE file.

Release files for tkscheduler 0.1.1

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

Source distribution (sdist)

Source distribution for tkscheduler 0.1.1
File Size Uploaded
tkscheduler-0.1.1.tar.gz 14.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tkscheduler 0.1.1
File Interpreter ABI Platform
tkscheduler-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 30.3 kB

Release files / tkscheduler-0.1.1.tar.gz

Download URL tkscheduler-0.1.1.tar.gz
Size 14.8 kB
Tags Source
SHA-256 checksum
How to use checksums
9b097b5555e8dc68609fdea0e72dbd86c64e2938e97793bad5cbb4b0bb814fd1
BLAKE2b-256 checksum
How to use checksums
d93a2569f0a46efd796e7fbeaccbdfa601124ae3a1e18ddd0503b778fe906b54
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release files / tkscheduler-0.1.1-py3-none-any.whl

Download URL tkscheduler-0.1.1-py3-none-any.whl
Size 15.5 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9ef8b1600d649ed6fc09b49d7a6ca7a6ddbd71e2b425b9b23bff3be195383c9d
BLAKE2b-256 checksum
How to use checksums
c7fb02bb864e8c0125dc48cb3d1453cd074b836b721561e6d5a4ef7c653c6b02
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.14

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

0.1.0

2 release files

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