{"id":18256633,"url":"https://github.com/honmaple/maple-scheduler","last_synced_at":"2026-04-12T07:39:17.707Z","repository":{"id":145149657,"uuid":"76545550","full_name":"honmaple/maple-scheduler","owner":"honmaple","description":"scheduler","archived":false,"fork":false,"pushed_at":"2018-10-23T02:06:11.000Z","size":78,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-04-08T22:32:17.693Z","etag":null,"topics":["apscheduler","flask","scheduler","vue"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsd-3-clause","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/honmaple.png","metadata":{"files":{"readme":"README.org","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","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}},"created_at":"2016-12-15T09:33:33.000Z","updated_at":"2021-02-08T07:15:55.000Z","dependencies_parsed_at":null,"dependency_job_id":"985df75d-f825-4718-bce9-fdbe0408d24a","html_url":"https://github.com/honmaple/maple-scheduler","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/honmaple/maple-scheduler","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmaple-scheduler","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmaple-scheduler/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmaple-scheduler/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmaple-scheduler/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/honmaple","download_url":"https://codeload.github.com/honmaple/maple-scheduler/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/honmaple%2Fmaple-scheduler/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31707953,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-12T06:22:27.080Z","status":"ssl_error","status_checked_at":"2026-04-12T06:21:52.710Z","response_time":58,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["apscheduler","flask","scheduler","vue"],"created_at":"2024-11-05T10:22:57.290Z","updated_at":"2026-04-12T07:39:17.686Z","avatar_url":"https://github.com/honmaple.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"* mape-scheduler\n\n  [[https://docs.python.org/3/whatsnew/3.6.html][https://img.shields.io/badge/python-3.6-brightgreen.svg]]\n  [[LICENSE][https://img.shields.io/badge/license-BSD-blue.svg]]\n  \n\n  [[https://raw.githubusercontent.com/honmaple/maple-scheduler/master/example.png]]\n  \n** Quickstart\n   #+BEGIN_SRC python\n     from flask import Flask\n     from sche import sche, api\n\n     app = Flask(__name__)\n     app.config.from_object(\"config\")\n     sche.init_app(app, start=True)\n     api.init_app(app)\n\n     if __name__ == '__main__':\n         app.run()\n   #+END_SRC\n  \n** Configure\n   example:\n\n   #+BEGIN_SRC python\n     from apscheduler.jobstores.sqlalchemy import SQLAlchemyJobStore\n     from pytz import timezone\n\n     APSCHEDULER = {\n         'jobstores': {\n             'default': SQLAlchemyJobStore(url='sqlite:///test_scheduler.db')\n         },\n         'executors': {\n             'default': {\n                 'type': 'threadpool',\n                 'max_workers': 20\n             }\n         },\n         'job_defaults': {\n             'coalesce': False,\n             'max_instances': 3\n         },\n         'timezone': timezone('Asia/Shanghai'),\n         'funcs': \"jobs\"\n     }\n   #+END_SRC\n\n   |--------------+--------------------------------------------|\n   | jobstores    | apscheduler jobstores,default *None*       |\n   | executors    | apscheduler executors,default *None*       |\n   | job_defaults | apscheduler job_defaults,default *None*    |\n   | timezone     | apscheduler timezone,default *UTC*         |\n   | funcs        | str or list, tasks where find,default *[]* |\n   |--------------+--------------------------------------------|\n   \n** Some Api\n   - */scheduler*\n     - GET:\n       get all jobs\n     - POST:\n       add a new job,the *func* is same as 'jobs:vvv'\n   - */scheduler/status*\n     - GET:\n       get scheduler status,include running,executors,job_defaults\n     - POST:\n       start scheduler.You can pass parameter *pause* (default: *False*)\n       #+BEGIN_EXAMPLE\n       # when pause in ['1',1,'true','True']\n       pause = True \n       #+END_EXAMPLE\n     - DELETE:\n       shutdown scheduler.You can pass parameter *wait* (default: *True*) \n       #+BEGIN_EXAMPLE\n       # when wait in ['0',0,'False','false']\n       wait = False \n       #+END_EXAMPLE\n       \n   - */scheduler/\u003cpk\u003e*\n     - GET:\n       get a job with id.\n     - PUT:\n       modify a job with id.\n     - DELETE:\n       delete a job with id.\n   - */scheduler/\u003cpk\u003e/pause*\n     - POST:\n       pause a job with id.\n   - */scheduler/\u003cpk\u003e/resume*\n     - POST:\n       resume a job with id.\n   - */scheduler/\u003cpk\u003e/execute*\n     - POST:\n       Executes a job with id right now.\n\n       \n** Example\n   #+BEGIN_SRC shell\n     python runserver\n   #+END_SRC\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonmaple%2Fmaple-scheduler","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fhonmaple%2Fmaple-scheduler","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fhonmaple%2Fmaple-scheduler/lists"}