{"id":18474431,"url":"https://github.com/pgjones/quart-tasks","last_synced_at":"2025-04-08T12:32:15.090Z","repository":{"id":209741652,"uuid":"724317746","full_name":"pgjones/quart-tasks","owner":"pgjones","description":"Quart-Tasks is a Quart extension that provides scheduled background tasks.","archived":false,"fork":false,"pushed_at":"2024-12-27T20:34:41.000Z","size":47,"stargazers_count":9,"open_issues_count":1,"forks_count":2,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-03-20T22:20:40.877Z","etag":null,"topics":["quart"],"latest_commit_sha":null,"homepage":"","language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/pgjones.png","metadata":{"files":{"readme":"README.rst","changelog":"CHANGELOG.rst","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":"2023-11-27T20:51:14.000Z","updated_at":"2025-03-19T15:23:29.000Z","dependencies_parsed_at":"2024-11-06T10:48:18.735Z","dependency_job_id":"b492c2cc-17c5-4429-8d73-5215188094f4","html_url":"https://github.com/pgjones/quart-tasks","commit_stats":null,"previous_names":["pgjones/quart-tasks"],"tags_count":5,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fquart-tasks","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fquart-tasks/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fquart-tasks/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/pgjones%2Fquart-tasks/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/pgjones","download_url":"https://codeload.github.com/pgjones/quart-tasks/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247842767,"owners_count":21005343,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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":["quart"],"created_at":"2024-11-06T10:29:26.418Z","updated_at":"2025-04-08T12:32:13.710Z","avatar_url":"https://github.com/pgjones.png","language":"Python","readme":"Quart-Tasks\n===========\n\n|Build Status| |docs| |pypi| |python| |license|\n\nQuart-Tasks is a Quart extension that provides scheduled background\ntasks.\n\nQuickstart\n----------\n\nQuart-Tasks is used by associating it with an app and then registering\nscheduled tasks,\n\n.. code-block:: python\n\n   from quart import Quart\n   from quart_tasks import QuartTasks\n\n   app = Quart(__name__)\n   tasks = QuartTasks(app)\n\n   @tasks.cron(\"*/5 * * * *\")  # every 5 minutes\n   async def infrequent_task():\n       ...  # Do something\n\n   @tasks.cron(\n       seconds=\"*/10\",  # every 10 seconds\n       minutes=\"*\",\n       hours=\"*\",\n       day_of_month=\"*\",\n       month=\"*\",\n       day_of_week=\"*\",\n   )\n   async def frequent_task():\n       ...  # Do something\n\n   @tasks.periodic(timedelta(seconds=10))\n   async def regular_task():\n       ...  # Do Something\n\nNote: the non-standard cron format (for seconds) is as defined by\n`croniter\n\u003chttps://github.com/kiorky/croniter?tab=readme-ov-file#about-second-repeats\u003e`_.\n\nThe tasks will then run in the background as the app itself runs or\nthey can be run manually via the CLI ``quart run-tasks``.\n\nContributing\n------------\n\nQuart-Tasks is developed on `GitHub\n\u003chttps://github.com/pgjones/quart-tasks\u003e`_. If you come across an issue,\nor have a feature request please open an `issue\n\u003chttps://github.com/pgjones/quart-tasks/issues\u003e`_. If you want to\ncontribute a fix or the feature-implementation please do (typo fixes\nwelcome), by proposing a `merge request\n\u003chttps://github.com/pgjones/quart-tasks/merge_requests\u003e`_.\n\nTesting\n~~~~~~~\n\nThe best way to test Quart-Tasks is with `Tox\n\u003chttps://tox.readthedocs.io\u003e`_,\n\n.. code-block:: console\n\n    $ pip install tox\n    $ tox\n\nthis will check the code style and run the tests.\n\nHelp\n----\n\nThe Quart-Tasks `documentation\n\u003chttps://quart-tasks.readthedocs.io/en/latest/\u003e`_ is the best places to\nstart, after that try searching `stack overflow\n\u003chttps://stackoverflow.com/questions/tagged/quart\u003e`_ or ask for help\n`on gitter \u003chttps://gitter.im/python-quart/lobby\u003e`_. If you still\ncan't find an answer please `open an issue\n\u003chttps://github.com/pgjones/quart-tasks/issues\u003e`_.\n\n\n.. |Build Status| image:: https://github.com/pgjones/quart-tasks/actions/workflows/ci.yml/badge.svg\n   :target: https://github.com/pgjones/quart-tasks/commits/main\n\n.. |docs| image:: https://readthedocs.org/projects/quart-tasks/badge/?version=latest\u0026style=flat\n   :target: https://quart-tasks.readthedocs.io/en/latest/\n\n.. |pypi| image:: https://img.shields.io/pypi/v/quart-tasks.svg\n   :target: https://pypi.python.org/pypi/Quart-Tasks/\n\n.. |python| image:: https://img.shields.io/pypi/pyversions/quart-tasks.svg\n   :target: https://pypi.python.org/pypi/Quart-Tasks/\n\n.. |license| image:: https://img.shields.io/badge/license-MIT-blue.svg\n   :target: https://github.com/pgjones/quart-tasks/blob/main/LICENSE\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgjones%2Fquart-tasks","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fpgjones%2Fquart-tasks","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fpgjones%2Fquart-tasks/lists"}