Flask-APScheduler
Adds APScheduler support to Flask
What it is and what it does
Flask-APScheduler is a Flask extension that wraps APScheduler, allowing you to define scheduled jobs and manage them through Flask configuration rather than imperative code. It loads job definitions and scheduler settings from your Flask app config, provides a REST API to query and control running jobs, and supports optional authentication for that API. It also integrates with Flask Blueprints for modular application structures.
The package is classified as Production/Stable and supports Python 3 only. However, it has been dormant since 2023-11-07 with no recent updates, so it may not be compatible with the latest versions of Flask or APScheduler. It has no explicit runtime dependencies listed in its metadata, suggesting those are handled transitively or assumed to be installed separately.
Use it for:
- Run periodic background tasks (e.g., cleanup, reports, notifications) on a schedule defined in Flask config.
- Expose a REST API to view, trigger, or pause scheduled jobs without restarting the application.
- Manage job scheduling in a Flask application factory pattern using Blueprints.
- Implement cron-like scheduling for Flask web applications without writing raw APScheduler code.
- Authenticate and control job execution through a managed REST endpoint.
Worth the install?
AI-flagged interpretation of the facts on this page — verify before relying
Flask-APScheduler integrates APScheduler with Flask, enabling you to define and manage scheduled jobs through Flask configuration and a REST API.
Yes, if you need basic APScheduler integration with Flask and can tolerate dormant maintenance. The package is stable and permissively licensed, but given the extended gap since the last release, verify compatibility with your Flask and APScheduler versions before committing. If you need active maintenance or support for very recent library versions, consider whether a more actively maintained alternative exists.
Install
flask-apscheduler on PyPI
pip
pip install flask-apscheduleruv
uv add flask-apschedulerpoetry
poetry add flask-apschedulerInstalling Flask-APScheduler
Before you install
Installation friction is high; the package has no runtime dependencies listed but has not been updated since 2023-11-07. Maintenance is dormant, so expect no active bug fixes or compatibility updates for newer Flask or APScheduler versions.
License in practice
Licensed under Apache 2.0 (permissive), so you can use, modify, and distribute it freely in commercial and private projects with minimal restrictions.
Quickstart
pip install Flask-APScheduler
from flask import Flask
from flask_apscheduler import APScheduler
app = Flask(__name__)
scheduler = APScheduler()
scheduler.init_app(app)
scheduler.start()
Requires Python >= 3.8 and an underlying APScheduler installation (transitive dependency not listed in this fact sheet).
Verify before relying
- Whether APScheduler is pulled in as a transitive dependency or must be installed separately.
- Current compatibility with recent Flask and APScheduler versions given the extended gap since last release.
- Whether the REST API authentication mechanism meets modern security standards.
Package facts
| License | Apache 2.0 (permissive) |
| Python support | supports the current Python release (>=3.8) |
| Install friction | high — source build required |
| Runtime dependencies | none |
| Maintenance | dormant — 1,011 days since the last release |
| Last repo commit | |
| First released | |
| Downloads | 277,960/month — #8,140 on PyPI (30-day window, as of 2026-08-14) |
| Known vulnerabilities | none known (OSV.dev, checked 2026-08-14) |
Evidence: Flask-APScheduler-1.13.1.tar.gz
Keywords: apscheduler, scheduler, scheduling, cron
Tags
More Application Frameworks packages
FastAPI is a Python web framework for building…
permissive · top 100 on PyPI
annotated-docProvides a way to document function parameters,…
permissive · top 100 on PyPI
textualTextual is a Python framework for building…
permissive · top 100 on PyPI
typerTyper builds command-line applications from…
permissive · top 1,000 on PyPI
mcpBuild and connect to Model Context Protocol…
permissive · top 1,000 on PyPI
WerkzeugWerkzeug is a WSGI utility library providing…
permissive · top 1,000 on PyPI
APSchedulerAPScheduler lets you schedule Python code to…
permissive · top 1,000 on PyPI
django-apschedulerAdds persistent job scheduling to Django…
permissive · top 15,000 on PyPI
django-crontabIntegrates system crontab scheduling into…
permissive · top 15,000 on PyPI
scheduleSchedule provides a human-friendly API for…
permissive · top 5,000 on PyPI
rq-schedulerAdds job scheduling capabilities to RQ (Redis…
permissive · top 15,000 on PyPI
schedulerAn in-process job scheduler for Python that…
copyleft · top 15,000 on PyPI
aiocronSchedules async functions to run on cron…
permissive · top 15,000 on PyPI
django-celery-beatStores Celery periodic task schedules in a…
permissive · top 5,000 on PyPI
python-crontabReads, writes, and manipulates system crontab…
copyleft · top 5,000 on PyPI
aiojobsaiojobs provides a scheduler for spawning and…
permissive · top 15,000 on PyPI