• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

.github/H24-Oct-2021-3424

APScheduler.egg-info/H03-May-2022-11990

apscheduler/H24-Oct-2021-4,6413,535

docs/H24-Oct-2021-2,4891,559

examples/H24-Oct-2021-503353

tests/H03-May-2022-3,4002,659

.gitignoreH A D24-Oct-2021147 1615

.mailmapH A D30-Mar-2016142 32

.readthedocs.ymlH A D24-Oct-2021206 1514

.travis.ymlH A D24-Oct-20211.7 KiB6250

PKG-INFOH A D24-Oct-20214.4 KiB11990

README.rstH A D24-Oct-20213.4 KiB8458

docker-compose.ymlH A D24-Oct-2021308 2218

setup.cfgH A D03-May-2022362 2920

setup.pyH A D03-May-20223.7 KiB9993

tox.iniH A D24-Oct-2021434 2723

README.rst

1.. image:: https://travis-ci.com/agronholm/apscheduler.svg?branch=3.x
2  :target: https://travis-ci.com/agronholm/apscheduler
3  :alt: Build Status
4.. image:: https://coveralls.io/repos/github/agronholm/apscheduler/badge.svg?branch=3.x
5  :target: https://coveralls.io/github/agronholm/apscheduler?branch=3.x
6  :alt: Code Coverage
7
8Advanced Python Scheduler (APScheduler) is a Python library that lets you schedule your Python code
9to be executed later, either just once or periodically. You can add new jobs or remove old ones on
10the fly as you please. If you store your jobs in a database, they will also survive scheduler
11restarts and maintain their state. When the scheduler is restarted, it will then run all the jobs
12it should have run while it was offline [#f1]_.
13
14Among other things, APScheduler can be used as a cross-platform, application specific replacement
15to platform specific schedulers, such as the cron daemon or the Windows task scheduler. Please
16note, however, that APScheduler is **not** a daemon or service itself, nor does it come with any
17command line tools. It is primarily meant to be run inside existing applications. That said,
18APScheduler does provide some building blocks for you to build a scheduler service or to run a
19dedicated scheduler process.
20
21APScheduler has three built-in scheduling systems you can use:
22
23* Cron-style scheduling (with optional start/end times)
24* Interval-based execution (runs jobs on even intervals, with optional start/end times)
25* One-off delayed execution (runs jobs once, on a set date/time)
26
27You can mix and match scheduling systems and the backends where the jobs are stored any way you
28like. Supported backends for storing jobs include:
29
30* Memory
31* `SQLAlchemy <http://www.sqlalchemy.org/>`_ (any RDBMS supported by SQLAlchemy works)
32* `MongoDB <http://www.mongodb.org/>`_
33* `Redis <http://redis.io/>`_
34* `RethinkDB <https://www.rethinkdb.com/>`_
35* `ZooKeeper <https://zookeeper.apache.org/>`_
36
37APScheduler also integrates with several common Python frameworks, like:
38
39* `asyncio <http://docs.python.org/3.4/library/asyncio.html>`_ (:pep:`3156`)
40* `gevent <http://www.gevent.org/>`_
41* `Tornado <http://www.tornadoweb.org/>`_
42* `Twisted <http://twistedmatrix.com/>`_
43* `Qt <http://qt-project.org/>`_ (using either
44  `PyQt <http://www.riverbankcomputing.com/software/pyqt/intro>`_ ,
45  `PySide2 <https://wiki.qt.io/Qt_for_Python>`_ or
46  `PySide <http://qt-project.org/wiki/PySide>`_)
47
48There are third party solutions for integrating APScheduler with other frameworks:
49
50* `Django <https://github.com/jarekwg/django-apscheduler>`_
51* `Flask <https://github.com/viniciuschiele/flask-apscheduler>`_
52
53
54.. [#f1] The cutoff period for this is also configurable.
55
56
57Documentation
58-------------
59
60Documentation can be found `here <https://apscheduler.readthedocs.io/>`_.
61
62
63Source
64------
65
66The source can be browsed at `Github <https://github.com/agronholm/apscheduler/tree/3.x>`_.
67
68
69Reporting bugs
70--------------
71
72A `bug tracker <https://github.com/agronholm/apscheduler/issues>`_ is provided by Github.
73
74
75Getting help
76------------
77
78If you have problems or other questions, you can either:
79
80* Ask in the `apscheduler <https://gitter.im/apscheduler/Lobby>`_ room on Gitter
81* Ask on the `APScheduler Google group <http://groups.google.com/group/apscheduler>`_, or
82* Ask on `StackOverflow <http://stackoverflow.com/questions/tagged/apscheduler>`_ and tag your
83  question with the ``apscheduler`` tag
84