{"library":"APScheduler","install":[{"cmd":"pip install APScheduler","imports":["from apscheduler.schedulers.background import BackgroundScheduler\nfrom apscheduler.triggers.cron import CronTrigger\nfrom apscheduler.triggers.interval import IntervalTrigger\n\n# 3.x API — the current stable API\nscheduler = BackgroundScheduler()\n\n# Add jobs\nscheduler.add_job(my_function, 'interval', seconds=30)\nscheduler.add_job(my_function, CronTrigger(hour=9, minute=0))  # 9am daily\nscheduler.add_job(my_function, 'cron', hour=9, minute=0)       # same\n\n# Must call start() explicitly\nscheduler.start()\n\n# Shutdown cleanly\nimport atexit\natexit.register(lambda: scheduler.shutdown())"]},{"cmd":"pip install APScheduler[sqlalchemy]","imports":[]},{"cmd":"pip install APScheduler[redis]","imports":[]}]}