django-easy-schedule


Namedjango-easy-schedule JSON
Version 0.1.7 PyPI version JSON
download
home_pagehttps://github.com/waqqas/django-easy-schedule
SummaryDjango integration with schedule module
upload_time2024-05-12 06:47:19
maintainerNone
docs_urlNone
authorWaqqas Jabbar
requires_python>=3.9
licenseMIT
keywords django schedule
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ### django-easy-schedule
Integration of Python schedule library with Django

### Installation

Add `"django_easy_schedule"` to your `INSTALLED_APPS` settings like this:

```
INSTALLED_APPS = (
    "django_easy_schedule",
    ...
)
```

### Usage
Create a file named `jobs.py` in any installed app, like this:

```
from schedule import every, repeat


@repeat(every(1).seconds)
def run_job():
    try:
        ## Do your work here
        pass
    except KeyboardInterrupt:
        pass

```

### Running jobs

To run the jobs use the following command

`python manage.py jobs run`


### More documentation

For more information check the documentation of [`schedule`](https://schedule.readthedocs.io/en/stable/index.html) package.


            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/waqqas/django-easy-schedule",
    "name": "django-easy-schedule",
    "maintainer": null,
    "docs_url": null,
    "requires_python": ">=3.9",
    "maintainer_email": null,
    "keywords": "django, schedule",
    "author": "Waqqas Jabbar",
    "author_email": "waqqas.jabbar@egmail.com",
    "download_url": "https://files.pythonhosted.org/packages/1d/eb/20283c80d7f7370ea4ff19efdf7aaf5df1000a7dd4c22eff7287d5378a8d/django-easy-schedule-0.1.7.tar.gz",
    "platform": null,
    "description": "### django-easy-schedule\nIntegration of Python schedule library with Django\n\n### Installation\n\nAdd `\"django_easy_schedule\"` to your `INSTALLED_APPS` settings like this:\n\n```\nINSTALLED_APPS = (\n    \"django_easy_schedule\",\n    ...\n)\n```\n\n### Usage\nCreate a file named `jobs.py` in any installed app, like this:\n\n```\nfrom schedule import every, repeat\n\n\n@repeat(every(1).seconds)\ndef run_job():\n    try:\n        ## Do your work here\n        pass\n    except KeyboardInterrupt:\n        pass\n\n```\n\n### Running jobs\n\nTo run the jobs use the following command\n\n`python manage.py jobs run`\n\n\n### More documentation\n\nFor more information check the documentation of [`schedule`](https://schedule.readthedocs.io/en/stable/index.html) package.\n\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Django integration with schedule module",
    "version": "0.1.7",
    "project_urls": {
        "Homepage": "https://github.com/waqqas/django-easy-schedule"
    },
    "split_keywords": [
        "django",
        " schedule"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "a4f86261dc0acec172938850f0cfb445edd6de58a76963deb86df7030b255165",
                "md5": "f7545c131b1bb2dbc6fcdfe6e74a4f66",
                "sha256": "fb2ec8d828ad0e6f69ffa43767d4059551b0c30a11071ffe6a7bdf716e32be17"
            },
            "downloads": -1,
            "filename": "django_easy_schedule-0.1.7-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "f7545c131b1bb2dbc6fcdfe6e74a4f66",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.9",
            "size": 5299,
            "upload_time": "2024-05-12T06:47:18",
            "upload_time_iso_8601": "2024-05-12T06:47:18.120404Z",
            "url": "https://files.pythonhosted.org/packages/a4/f8/6261dc0acec172938850f0cfb445edd6de58a76963deb86df7030b255165/django_easy_schedule-0.1.7-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "1deb20283c80d7f7370ea4ff19efdf7aaf5df1000a7dd4c22eff7287d5378a8d",
                "md5": "ddd1bf98188e5ed2d7a4f6a881ad9bc2",
                "sha256": "eeed24371abc6e7707cca0906b8da5f7710fe778bf6cded8226eeb089ebaebae"
            },
            "downloads": -1,
            "filename": "django-easy-schedule-0.1.7.tar.gz",
            "has_sig": false,
            "md5_digest": "ddd1bf98188e5ed2d7a4f6a881ad9bc2",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.9",
            "size": 3945,
            "upload_time": "2024-05-12T06:47:19",
            "upload_time_iso_8601": "2024-05-12T06:47:19.567051Z",
            "url": "https://files.pythonhosted.org/packages/1d/eb/20283c80d7f7370ea4ff19efdf7aaf5df1000a7dd4c22eff7287d5378a8d/django-easy-schedule-0.1.7.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-05-12 06:47:19",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "waqqas",
    "github_project": "django-easy-schedule",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": true,
    "lcname": "django-easy-schedule"
}
        
Elapsed time: 0.50149s