skillfed

Flask-APScheduler

Adds APScheduler support to Flask

flask-apscheduler v1.13.1 278.0K downloads/30d#8,140 on PyPI1,138
Permissive license Apache 2.0 DORMANT released

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-apscheduler

uv

uv add flask-apscheduler

poetry

poetry add flask-apscheduler

Installing 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

Development Status :: 5 - Production/StableIntended Audience :: DevelopersNatural Language :: EnglishOperating System :: OS IndependentProgramming Language :: PythonProgramming Language :: Python :: 3 :: Only

Tags

flask scheduled tasksbackground job schedulingcron jobs in flaskapscheduler flask integrationtask scheduling rest apiflask periodic tasksjob scheduling framework
background-jobsschedulingflask-extension

More Application Frameworks packages