arivo-schedule


Namearivo-schedule JSON
Version 1.2.1 PyPI version JSON
download
home_pagehttps://github.com/ts-accessio/schedule
SummaryJob scheduling for humans.
upload_time2023-06-06 12:40:05
maintainer
docs_urlNone
authorDaniel Bader
requires_python>=3.7
licenseMIT
keywords schedule periodic jobs scheduling clockwork cron scheduler job scheduling
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            `schedule <https://schedule.readthedocs.io/>`__
===============================================


.. image:: https://github.com/dbader/schedule/workflows/Tests/badge.svg
        :target: https://github.com/dbader/schedule/actions?query=workflow%3ATests+branch%3Amaster

.. image:: https://coveralls.io/repos/dbader/schedule/badge.svg?branch=master
        :target: https://coveralls.io/r/dbader/schedule

.. image:: https://img.shields.io/pypi/v/schedule.svg
        :target: https://pypi.python.org/pypi/schedule

Python job scheduling for humans. Run Python functions (or any other callable) periodically using a friendly syntax.

- A simple to use API for scheduling jobs, made for humans.
- In-process scheduler for periodic jobs. No extra processes needed!
- Very lightweight and no external dependencies.
- Excellent test coverage.
- Tested on Python and 3.7, 3.8, 3.9, 3.10, 3.11

Usage
-----

.. code-block:: bash

    $ pip install schedule

.. code-block:: python

    import schedule
    import time

    def job():
        print("I'm working...")

    schedule.every(10).seconds.do(job)
    schedule.every(10).minutes.do(job)
    schedule.every().hour.do(job)
    schedule.every().day.at("10:30").do(job)
    schedule.every(5).to(10).minutes.do(job)
    schedule.every().monday.do(job)
    schedule.every().wednesday.at("13:15").do(job)
    schedule.every().day.at("12:42", "Europe/Amsterdam").do(job)
    schedule.every().minute.at(":17").do(job)

    def job_with_argument(name):
        print(f"I am {name}")

    schedule.every(10).seconds.do(job_with_argument, name="Peter")

    while True:
        schedule.run_pending()
        time.sleep(1)

Documentation
-------------

Schedule's documentation lives at `schedule.readthedocs.io <https://schedule.readthedocs.io/>`_.


Meta
----

Daniel Bader - `@dbader_org <https://twitter.com/dbader_org>`_ - mail@dbader.org

Inspired by `Adam Wiggins' <https://github.com/adamwiggins>`_ article `"Rethinking Cron" <https://adam.herokuapp.com/past/2010/4/13/rethinking_cron/>`_ and the `clockwork <https://github.com/Rykian/clockwork>`_ Ruby module.

Distributed under the MIT license. See `LICENSE.txt <https://github.com/dbader/schedule/blob/master/LICENSE.txt>`_ for more information.

https://github.com/dbader/schedule



            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/ts-accessio/schedule",
    "name": "arivo-schedule",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "",
    "keywords": "schedule,periodic,jobs,scheduling,clockwork,cron,scheduler,job scheduling",
    "author": "Daniel Bader",
    "author_email": "mail@dbader.org",
    "download_url": "https://files.pythonhosted.org/packages/30/c7/88c52d5d61cfcac2c08b3156ae8d5b3e6966dd1ce31cf2668ee279dab369/arivo_schedule-1.2.1.tar.gz",
    "platform": null,
    "description": "`schedule <https://schedule.readthedocs.io/>`__\n===============================================\n\n\n.. image:: https://github.com/dbader/schedule/workflows/Tests/badge.svg\n        :target: https://github.com/dbader/schedule/actions?query=workflow%3ATests+branch%3Amaster\n\n.. image:: https://coveralls.io/repos/dbader/schedule/badge.svg?branch=master\n        :target: https://coveralls.io/r/dbader/schedule\n\n.. image:: https://img.shields.io/pypi/v/schedule.svg\n        :target: https://pypi.python.org/pypi/schedule\n\nPython job scheduling for humans. Run Python functions (or any other callable) periodically using a friendly syntax.\n\n- A simple to use API for scheduling jobs, made for humans.\n- In-process scheduler for periodic jobs. No extra processes needed!\n- Very lightweight and no external dependencies.\n- Excellent test coverage.\n- Tested on Python and 3.7, 3.8, 3.9, 3.10, 3.11\n\nUsage\n-----\n\n.. code-block:: bash\n\n    $ pip install schedule\n\n.. code-block:: python\n\n    import schedule\n    import time\n\n    def job():\n        print(\"I'm working...\")\n\n    schedule.every(10).seconds.do(job)\n    schedule.every(10).minutes.do(job)\n    schedule.every().hour.do(job)\n    schedule.every().day.at(\"10:30\").do(job)\n    schedule.every(5).to(10).minutes.do(job)\n    schedule.every().monday.do(job)\n    schedule.every().wednesday.at(\"13:15\").do(job)\n    schedule.every().day.at(\"12:42\", \"Europe/Amsterdam\").do(job)\n    schedule.every().minute.at(\":17\").do(job)\n\n    def job_with_argument(name):\n        print(f\"I am {name}\")\n\n    schedule.every(10).seconds.do(job_with_argument, name=\"Peter\")\n\n    while True:\n        schedule.run_pending()\n        time.sleep(1)\n\nDocumentation\n-------------\n\nSchedule's documentation lives at `schedule.readthedocs.io <https://schedule.readthedocs.io/>`_.\n\n\nMeta\n----\n\nDaniel Bader - `@dbader_org <https://twitter.com/dbader_org>`_ - mail@dbader.org\n\nInspired by `Adam Wiggins' <https://github.com/adamwiggins>`_ article `\"Rethinking Cron\" <https://adam.herokuapp.com/past/2010/4/13/rethinking_cron/>`_ and the `clockwork <https://github.com/Rykian/clockwork>`_ Ruby module.\n\nDistributed under the MIT license. See `LICENSE.txt <https://github.com/dbader/schedule/blob/master/LICENSE.txt>`_ for more information.\n\nhttps://github.com/dbader/schedule\n\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Job scheduling for humans.",
    "version": "1.2.1",
    "project_urls": {
        "Homepage": "https://github.com/ts-accessio/schedule"
    },
    "split_keywords": [
        "schedule",
        "periodic",
        "jobs",
        "scheduling",
        "clockwork",
        "cron",
        "scheduler",
        "job scheduling"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "058bb2a71111a7eae6d5bad321849263aa78d8865dbc577871fa9fafee11fe0e",
                "md5": "99efb5e3ccd984c4b5625565e055368b",
                "sha256": "ff74e5155b022fd4a658fea781fd7111dd826fa27e8afecc985b2a2ccb631ca7"
            },
            "downloads": -1,
            "filename": "arivo_schedule-1.2.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "99efb5e3ccd984c4b5625565e055368b",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.7",
            "size": 11527,
            "upload_time": "2023-06-06T12:40:03",
            "upload_time_iso_8601": "2023-06-06T12:40:03.515748Z",
            "url": "https://files.pythonhosted.org/packages/05/8b/b2a71111a7eae6d5bad321849263aa78d8865dbc577871fa9fafee11fe0e/arivo_schedule-1.2.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "30c788c52d5d61cfcac2c08b3156ae8d5b3e6966dd1ce31cf2668ee279dab369",
                "md5": "81eaf3fbdaac1a340a226d2a29917942",
                "sha256": "8b455f95df848993e278d4e2a4f0a1396703a2849f475c112331cb03a857abcd"
            },
            "downloads": -1,
            "filename": "arivo_schedule-1.2.1.tar.gz",
            "has_sig": false,
            "md5_digest": "81eaf3fbdaac1a340a226d2a29917942",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 19086,
            "upload_time": "2023-06-06T12:40:05",
            "upload_time_iso_8601": "2023-06-06T12:40:05.775584Z",
            "url": "https://files.pythonhosted.org/packages/30/c7/88c52d5d61cfcac2c08b3156ae8d5b3e6966dd1ce31cf2668ee279dab369/arivo_schedule-1.2.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-06 12:40:05",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "ts-accessio",
    "github_project": "schedule",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "tox": true,
    "lcname": "arivo-schedule"
}
        
Elapsed time: 1.01993s