{"id":13412275,"url":"https://github.com/agronholm/apscheduler","last_synced_at":"2025-05-12T22:26:06.936Z","repository":{"id":37406859,"uuid":"54828252","full_name":"agronholm/apscheduler","owner":"agronholm","description":"Task scheduling library for Python","archived":false,"fork":false,"pushed_at":"2025-05-02T13:57:00.000Z","size":5970,"stargazers_count":6661,"open_issues_count":39,"forks_count":728,"subscribers_count":131,"default_branch":"master","last_synced_at":"2025-05-05T17:21:00.247Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/agronholm.png","metadata":{"files":{"readme":"README.rst","changelog":null,"contributing":"docs/contributing.rst","funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2016-03-27T12:51:50.000Z","updated_at":"2025-05-05T11:18:54.000Z","dependencies_parsed_at":"2024-03-01T14:47:28.395Z","dependency_job_id":"f68f4ef3-e723-4697-ba5d-624abf0d2d02","html_url":"https://github.com/agronholm/apscheduler","commit_stats":{"total_commits":1241,"total_committers":57,"mean_commits":"21.771929824561404","dds":"0.12006446414182115","last_synced_commit":"a79e0275ba13bd733d974db0db67728c632781bc"},"previous_names":[],"tags_count":62,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agronholm%2Fapscheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agronholm%2Fapscheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agronholm%2Fapscheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agronholm%2Fapscheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agronholm","download_url":"https://codeload.github.com/agronholm/apscheduler/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253114898,"owners_count":21856582,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-07-30T20:01:22.882Z","updated_at":"2025-05-12T22:26:06.906Z","avatar_url":"https://github.com/agronholm.png","language":"Python","funding_links":[],"categories":["Python","HarmonyOS","Job Schedulers","CONTENTS","Topics Index","语言资源库","Task Queues \u0026 Background Jobs","Background Jobs \u0026 Task Queues"],"sub_categories":["Windows Manager","Планирование_задач","Commonly Useful Knowledge","python","Test Runners"],"readme":".. image:: https://github.com/agronholm/apscheduler/actions/workflows/test.yml/badge.svg\n  :target: https://github.com/agronholm/apscheduler/actions/workflows/test.yml\n  :alt: Build Status\n.. image:: https://coveralls.io/repos/github/agronholm/apscheduler/badge.svg?branch=master\n  :target: https://coveralls.io/github/agronholm/apscheduler?branch=master\n  :alt: Code Coverage\n.. image:: https://readthedocs.org/projects/apscheduler/badge/?version=latest\n  :target: https://apscheduler.readthedocs.io/en/master/?badge=latest\n  :alt: Documentation\n\n.. warning:: The v4.0 series is provided as a **pre-release** and may change in a\n   backwards incompatible fashion without any migration pathway, so do NOT use this\n   release in production!\n\nAdvanced Python Scheduler (APScheduler) is a task scheduler and task queue system for\nPython. It can be used solely as a job queuing system if you have no need for task\nscheduling. It scales both up and down, and is suitable for both trivial, single-process\nuse cases as well as large deployments spanning multiple nodes. Multiple schedulers and\nworkers can be deployed to use a shared data store to provide both a degree of high\navailability and horizontal scaling.\n\nAPScheduler comes in both synchronous and asynchronous flavors, making it a good fit for\nboth traditional, thread-based applications, and asynchronous (asyncio or Trio_)\napplications. Documentation and examples are provided for integrating with either WSGI_\nor ASGI_ compatible web applications.\n\nSupport is provided for persistent storage of schedules and jobs. This means that they\ncan be shared among multiple scheduler/worker instances and will survive process and\nnode restarts.\n\nThe built-in persistent data store back-ends are:\n\n* PostgreSQL\n* MySQL and derivatives\n* SQLite\n* MongoDB\n\nThe built-in event brokers (needed in scenarios with multiple schedulers and/or\nworkers):\n\n* PostgreSQL\n* Redis\n* MQTT\n\nThe built-in scheduling mechanisms (*triggers*) are:\n\n* Cron-style scheduling\n* Interval-based scheduling (runs tasks on even intervals)\n* Calendar-based scheduling (runs tasks on intervals of X years/months/weeks/days,\n  always at the same time of day)\n* One-off scheduling (runs a task once, at a specific date/time)\n\nDifferent scheduling mechanisms can even be combined with so-called *combining triggers*\n(see the documentation_ for details).\n\nYou can also implement your custom scheduling logic by building your own trigger class.\nThese will be treated no differently than the built-in ones.\n\nOther notable features include:\n\n* You can limit the maximum number of simultaneous jobs for a given task (function)\n* You can limit the amount of time a job is allowed to start late\n* Jitter (adjustable, random delays added to the run time of each scheduled job)\n\n.. _Trio: https://pypi.org/project/trio/\n.. _WSGI: https://wsgi.readthedocs.io/en/latest/what.html\n.. _ASGI: https://asgi.readthedocs.io/en/latest/index.html\n.. _documentation: https://apscheduler.readthedocs.io/en/master/\n\nDocumentation\n=============\n\nDocumentation can be found\n`here \u003chttps://apscheduler.readthedocs.io/en/master/?badge=latest\u003e`_.\n\nSource\n======\n\nThe source can be browsed at `Github \u003chttps://github.com/agronholm/apscheduler\u003e`_.\n\nReporting bugs\n==============\n\nA `bug tracker \u003chttps://github.com/agronholm/apscheduler/issues\u003e`_ is provided by\nGitHub.\n\nGetting help\n============\n\nIf you have problems or other questions, you can either:\n\n* Ask in the `apscheduler \u003chttps://gitter.im/apscheduler/Lobby\u003e`_ room on Gitter\n* Post a question on `GitHub discussions`_, or\n* Post a question on StackOverflow_ and add the ``apscheduler`` tag\n\n.. _GitHub discussions: https://github.com/agronholm/apscheduler/discussions/categories/q-a\n.. _StackOverflow: http://stackoverflow.com/questions/tagged/apscheduler\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagronholm%2Fapscheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagronholm%2Fapscheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagronholm%2Fapscheduler/lists"}