--- id: tgscheduler version: "1.7.0" license: MIT license_treatment: permissive maintenance: abandoned --- # TGScheduler — Pure Python Scheduler License: permissive · Maintenance: abandoned · Downloads: 108.4K/mo ## What it is and what it does TGScheduler is a lightweight, dependency-free scheduler for Python applications that need to run tasks on a schedule. It originated from TurboGears 1's built-in scheduler and supports three execution modes: in-process threading, forked processes, or synchronous execution. The scheduler is designed to handle both one-time and recurring tasks with a simple API. The package is pure Python with no external runtime dependencies, making it easy to integrate into existing applications. However, it has been abandoned since 2015 and receives no active maintenance, meaning it lacks updates for modern Python versions, security patches, or bug fixes. The lack of maintenance is a significant concern for production use. Use it for: - Schedule periodic maintenance tasks or data cleanup jobs to run at fixed intervals within a Python application. - Run background tasks asynchronously in separate threads without introducing a heavy external scheduler dependency. - Execute one-time delayed tasks or cron-like jobs in simple applications that do not require a full job queue system. - Prototype or test scheduling logic in development before migrating to a maintained scheduler like APScheduler or Celery. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. TGScheduler is a pure Python task scheduler that runs one-time or recurring tasks either in-process within threads, as forked processes, or synchronously. No. While TGScheduler has no dependencies and a permissive license, it has been abandoned for over 11 years with no maintenance, security updates, or verified compatibility with modern Python versions. For any production or long-term use, choose an actively maintained alternative like APScheduler. Only consider it for legacy TurboGears 1 projects or short-lived prototypes where the lack of maintenance is acceptable. ## Install pip install tgscheduler uv add tgscheduler poetry add tgscheduler ## Installing TGScheduler Before you install: Installation is straightforward with no runtime dependencies. However, the package has been abandoned since 2015 and has not received updates for over 11 years, which means no bug fixes, security patches, or compatibility improvements for modern Python versions. License in practice: Licensed under MIT (permissive), so you can use, modify, and distribute the package freely with minimal restrictions. Quickstart: pip install TGScheduler from tgscheduler.scheduler import Scheduler scheduler = Scheduler() scheduler.add_interval_task(action=my_function, taskname='mytask', minutes=5) Package requires 'six' for Python 2/3 compatibility but has not been maintained since 2015; compatibility with modern Python versions is unverified. Verify before relying: - Whether TGScheduler works reliably on Python 3.10+ without modification or workarounds. - Whether the package's thread and process forking mechanisms are safe for concurrent use in modern applications. - Whether there are known issues or incompatibilities with current dependency versions. ## Package facts - License: MIT (permissive) - Python support: unspecified - Install friction: low - Maintenance: abandoned - Downloads: 108.4K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags python task scheduler, recurring job scheduler, in-process thread scheduler, background task runner, cron-like scheduler, one-time task execution, process forking scheduler, abandoned, legacy-turbogears [View on SkillFed](https://skillfed.io/packages/tgscheduler) · [View on PyPI](https://pypi.org/project/tgscheduler/)