Skip to main content

A timer/scheduler for Tkinter, built to function similarly to PyQt's QTimer

Project description

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.

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

tkscheduler-0.1.1.tar.gz (14.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tkscheduler-0.1.1-py3-none-any.whl (15.5 kB view details)

Uploaded Python 3

File details

Details for the file tkscheduler-0.1.1.tar.gz.

File metadata

  • Download URL: tkscheduler-0.1.1.tar.gz
  • Upload date:
  • Size: 14.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for tkscheduler-0.1.1.tar.gz
Algorithm Hash digest
SHA256 9b097b5555e8dc68609fdea0e72dbd86c64e2938e97793bad5cbb4b0bb814fd1
MD5 a6a79ae9ab09875e0d785f200efa8c13
BLAKE2b-256 d93a2569f0a46efd796e7fbeaccbdfa601124ae3a1e18ddd0503b778fe906b54

See more details on using hashes here.

File details

Details for the file tkscheduler-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: tkscheduler-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 15.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.13.14

File hashes

Hashes for tkscheduler-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 9ef8b1600d649ed6fc09b49d7a6ca7a6ddbd71e2b425b9b23bff3be195383c9d
MD5 503866a862e51b43af78d17f1084b908
BLAKE2b-256 c7fb02bb864e8c0125dc48cb3d1453cd074b836b721561e6d5a4ef7c653c6b02

See more details on using hashes here.

Supported by

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