{
 "kind": "tool",
 "slug": "apscheduler",
 "path": "tools/apscheduler/",
 "name": "APScheduler",
 "maker": null,
 "density": "profile",
 "crumbs": [
  [
   "Tools",
   "tools/"
  ],
  [
   "Jobs, queues and workflows",
   "tools/jobs-workflows/"
  ]
 ],
 "lead": "In-process task scheduler with Cron-like capabilities for Python applications.",
 "chips": [
  {
   "label": "Jobs, queues and workflows",
   "path": "tools/jobs-workflows/"
  },
  {
   "label": "PYPI"
  }
 ],
 "primary": {
  "label": "Copy install command",
  "copy": "pip install apscheduler"
 },
 "links": [
  {
   "label": "GitHub",
   "href": "https://github.com/agronholm/apscheduler"
  }
 ],
 "track": "New versions, deprecation and license changes on your dashboard",
 "verdicts": [
  {
   "key": "license",
   "label": "License",
   "value": "MIT",
   "status": "yes",
   "sub": "Use it in paid apps",
   "quote": null,
   "note": "License from PyPI classifier.",
   "src": "https://github.com/agronholm/apscheduler"
  },
  {
   "key": "maint",
   "label": "Maintained",
   "value": "Maintained",
   "status": "yes",
   "sub": "Last change Nov 21, 2026",
   "note": "Latest GitHub release Jun 28, 2026. ",
   "src": "https://github.com/agronholm/apscheduler"
  },
  {
   "key": "pop",
   "label": "Used by agents' projects",
   "value": "48 projects",
   "status": "info",
   "sub": "#1 of 48 in its category",
   "note": "Dependency in 48 public GitHub projects set up for AI coding agents that we scanned (0.8%).",
   "src": null
  },
  {
   "key": "agent",
   "label": "Agent access",
   "value": "Install only",
   "status": "info",
   "sub": null,
   "note": "Agent skills for this library in the skills catalog; community skills are written by others, read them before you install.",
   "src": null
  }
 ],
 "vfoot": "From the package registry and GitHub, checked daily.",
 "blocks": [
  {
   "id": "overview",
   "nav": "Overview",
   "h2": "What APScheduler does",
   "parts": [
    {
     "t": "prose",
     "text": "APScheduler is both a scheduler and a task queue, in sync and async flavors, and it can share one data store across many schedulers and workers. The README that describes all this covers a v4 pre-release that it says not to use in production."
    }
   ]
  },
  {
   "id": "popularity",
   "nav": "Popularity",
   "h2": "APScheduler popularity",
   "parts": [
    {
     "t": "stats",
     "items": [
      {
       "n": "66",
       "of": "/ 100",
       "l": "Gid Score, #580 overall"
      },
      {
       "n": "10.1M",
       "l": "downloads a week, pypi"
      },
      {
       "n": "7,721",
       "l": "GitHub stars"
      },
      {
       "n": "48",
       "l": "agent projects use it"
      }
     ]
    },
    {
     "t": "small",
     "text": "Gid Score measures public popularity and activity, not quality.",
     "link": "How the Gid Score is calculated",
     "path": "tools/top/"
    }
   ]
  },
  {
   "id": "usage",
   "nav": "How it is used",
   "h2": "How APScheduler is used",
   "parts": [
    {
     "t": "list",
     "items": [
      "APScheduler is a dependency in 48 of the 6,258 public GitHub projects set up for AI coding agents that we scanned (3.0% of the 1,623 Python ones), #1 of 48 in jobs, queues and workflows.",
      "Counting the projects our scan samples by dependency (Solana 3,067, Ethereum and EVM 1,774, 3D and games 3,130, agent frameworks and SDKs 13,750), it appears in 327; those are left out of every share on this page.",
      "The most used alternative in our scan is Celery (37 projects).",
      "Projects that use it most often also use Uvicorn (75.0%), python-dotenv (68.8%), FastAPI (62.5%).",
      "It is more common in projects set up for OpenClaw (5.1%) than for GitHub Copilot (0.4%)."
     ]
    },
    {
     "t": "h3",
     "text": "By coding agent"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "25 projects, 0.8%",
       "v": "Claude Code",
       "path": "agents/claude-code/"
      },
      {
       "l": "17 projects, 5.1%",
       "v": "OpenClaw",
       "path": "agents/openclaw/"
      },
      {
       "l": "14 projects, 0.6%",
       "v": "Cursor",
       "path": "agents/cursor/"
      },
      {
       "l": "13 projects, 0.4%",
       "v": "GitHub Copilot",
       "path": "agents/github-copilot/"
      },
      {
       "l": "7 projects, 1.5%",
       "v": "Gemini CLI",
       "path": "agents/gemini-cli/"
      }
     ]
    },
    {
     "t": "h3",
     "text": "Often used with"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "In 75.0% of its projects",
       "v": "Uvicorn",
       "path": "tools/uvicorn/"
      },
      {
       "l": "In 68.8% of its projects",
       "v": "python-dotenv",
       "path": "tools/python-dotenv/"
      },
      {
       "l": "In 62.5% of its projects",
       "v": "FastAPI",
       "path": "tools/fastapi/"
      },
      {
       "l": "In 56.2% of its projects",
       "v": "Requests",
       "path": "tools/requests-py/"
      },
      {
       "l": "In 50.0% of its projects",
       "v": "Pydantic",
       "path": "tools/pydantic/"
      },
      {
       "l": "In 47.9% of its projects",
       "v": "PyYAML",
       "path": "tools/pyyaml/"
      },
      {
       "l": "In 47.9% of its projects",
       "v": "httpx",
       "path": "tools/httpx/"
      },
      {
       "l": "In 47.9% of its projects",
       "v": "SQLAlchemy",
       "path": "tools/sqlalchemy/"
      }
     ]
    }
   ]
  },
  {
   "id": "profile",
   "nav": "Profile",
   "h2": "APScheduler in practice",
   "parts": [
    {
     "t": "h3",
     "text": "Strengths"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "Queue-only mode",
       "v": "The README says the library can serve as a job queue on its own when you have no use for time-based scheduling."
      },
      {
       "l": "Threads or asyncio/Trio",
       "v": "It ships synchronous and asynchronous flavors. The README says it fits thread-based apps and asyncio or Trio apps, and it includes docs for WSGI and ASGI web apps."
      },
      {
       "l": "Jobs survive restarts",
       "v": "Schedules and jobs can be kept in PostgreSQL, MySQL and derivatives, SQLite or MongoDB. They then survive process and node restarts and can be shared between instances."
      },
      {
       "l": "Several nodes, one store",
       "v": "Multiple schedulers and workers can point at a shared data store. The maintainers say this gives \"a degree of high availability and horizontal scaling.\""
      }
     ]
    },
    {
     "t": "h3",
     "text": "Watch out for"
    },
    {
     "t": "rows",
     "rows": [
      {
       "l": "v4 is not for production",
       "v": "The README warns that the v4.0 series may break backwards compatibility with no migration path. It says in capitals not to use it in production."
      },
      {
       "l": "README and stable release differ",
       "v": "The README describes v4 features such as data stores and event brokers. The latest published release is 3.11.3. Check which line the docs you are reading belong to."
      },
      {
       "l": "DST stall fixed only in 3.11.3",
       "v": "Before 3.11.3, sub-minute interval jobs could stall through a DST spring-forward gap when the scheduler used a <code>ZoneInfo</code> time zone."
      }
     ]
    }
   ]
  },
  {
   "id": "more",
   "nav": null,
   "spy_as": "profile",
   "h2": "More about APScheduler",
   "parts": [
    {
     "t": "more",
     "items": [
      {
       "title": "Packages around it",
       "items": [
        "python-dotenv: .env file loading",
        "requests: HTTP client",
        "pydantic: data validation",
        "fastapi: web API framework",
        "uvicorn: ASGI server",
        "solders: solders"
       ]
      },
      {
       "title": "More in Jobs, queues and workflows",
       "path": "tools/jobs-workflows/",
       "items": [
        {
         "text": "Croner",
         "path": "tools/croner/"
        },
        {
         "text": "node-cron",
         "path": "tools/node-cron/"
        },
        {
         "text": "BullMQ",
         "path": "tools/bullmq/"
        },
        {
         "text": "Inngest",
         "path": "tools/inngest/"
        },
        {
         "text": "Socket.IO Redis Adapter",
         "path": "tools/socket-io-redis-adapter/"
        },
        {
         "text": "p-queue",
         "path": "tools/p-queue/"
        },
        {
         "text": "Workflow DevKit",
         "path": "tools/workflow/"
        },
        {
         "text": "amqplib",
         "path": "tools/amqplib/"
        }
       ]
      }
     ]
    }
   ]
  },
  {
   "id": "alternatives",
   "nav": "Alternatives",
   "h2": "Alternatives",
   "parts": [
    {
     "t": "alts",
     "items": [
      {
       "name": "APScheduler",
       "me": true,
       "facts": [
        "MIT",
        "Gid 66",
        "10.1M/wk"
       ]
      },
      {
       "name": "Celery",
       "why": "Distributed task queue for Python executing jobs asynchronously across workers.",
       "path": "tools/celery/",
       "facts": [
        "BSD-3-Clause",
        "Gid 70",
        "13.3M/wk"
       ]
      },
      {
       "name": "croniter",
       "why": "Cron expression parser and iterator for Python, schedule tasks with cron-like timing.",
       "path": "tools/croniter/",
       "facts": [
        "MIT",
        "Gid 55",
        "23.5M/wk"
       ]
      },
      {
       "name": "schedule",
       "why": "Simple Python library for scheduling jobs to run at regular intervals.",
       "path": "tools/schedule/",
       "facts": [
        "MIT",
        "Gid 57",
        "1.5M/wk"
       ]
      },
      {
       "name": "Huey",
       "why": "Small task queue for Python with Redis or SQLite.",
       "path": "tools/huey/",
       "facts": [
        "MIT",
        "Gid 51",
        "4.8M/wk"
       ]
      }
     ],
     "more": "Compare APScheduler with another tool",
     "more_path": "tools/compare/"
    }
   ]
  },
  {
   "id": "start",
   "nav": "Get started",
   "h2": "Get started",
   "parts": [
    {
     "t": "install",
     "intro": "Install it.",
     "code": "pip install apscheduler"
    },
    {
     "t": "h3",
     "text": "Rules for your agent"
    },
    {
     "t": "rules",
     "label": "Paste into AGENTS.md or CLAUDE.md",
     "text": "## APScheduler\n- Do not use the v4.0 series in production. The README marks it as a pre-release that may break compatibility without a migration path.\n- When reading the README or docs, check whether they describe v4 or the 3.x line (latest release 3.11.3).\n- If schedules must survive restarts or be shared between instances, configure a persistent data store: PostgreSQL, MySQL, SQLite or MongoDB.\n- With more than one scheduler or worker, also configure an event broker: PostgreSQL, Redis or MQTT.\n- Pick the synchronous flavor for thread-based apps and the asynchronous flavor for asyncio or Trio apps.\n- Use the built-in limits on simultaneous jobs per function and on how late a job may start, instead of writing your own guards.\n- If you run sub-minute interval jobs with a `ZoneInfo` time zone, use 3.11.3 or later to avoid the DST spring-forward stall.\n"
    }
   ]
  }
 ],
 "glance": [
  [
   "Package",
   "pypi apscheduler"
  ],
  [
   "Category",
   "Jobs, queues and workflows"
  ],
  [
   "License",
   "MIT"
  ],
  [
   "Latest version",
   "3.11.3, June 28, 2026"
  ],
  [
   "On GitHub since",
   "March 2016"
  ],
  [
   "Gid Score",
   "66.5"
  ],
  [
   "Rank in category",
   "#1 of 48"
  ],
  [
   "GitHub",
   "agronholm/apscheduler"
  ],
  [
   "Last change",
   "Nov 21, 2026"
  ]
 ],
 "good": [],
 "checked_line": "From the package registry, GitHub and our scan of public agent projects; numbers update daily.",
 "logo": "https://agentgid.com/media/avatars/agronholm.png"
}