/README.rst

https://github.com/agronholm/apscheduler · ReStructuredText · 76 lines · 54 code · 22 blank · 0 comment · 0 complexity · 0940073fd5e381cc1ef8825d1fe3a065 MD5 · raw file

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