{ "info": { "author": "Yugeng Hui", "author_email": "hyg@pinae.org", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "License :: OSI Approved :: Apache Software License", "Programming Language :: Python", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Topic :: Software Development", "Topic :: Utilities" ], "description": "py-task\r\n============================================\r\n\r\npy-task is a task scheduling tools for Python.\r\n\r\n- Support repeat trigger\r\n- Support cron trigger\r\n- Easy to use in Python\r\n\r\nInstallation\r\n--------------\r\n\r\nThe lastest stable is py-task-1.0.tar.gz\r\n\r\n.. code-block:: shell\r\n\r\n python setup.py install\r\n \r\nGetting Start\r\n--------------\r\n\r\ndemo for py-task:\r\n\r\n.. code-block:: python\r\n\r\n from task import task\r\n from task import task_container\r\n from task.job import job\r\n from task.trigger import cron_trigger\r\n\t\r\n class MyJob(job.Job):\r\n\t\r\n\t def __init__(self):\r\n\t pass\r\n\t \r\n\t def execute(self):\r\n\t \tprint 'Hello now is ' + str(time.time())\r\n \r\n cron = '0-59/5 10,15,20 * * * * 2015'\r\n new_task = task.Task('Task', MyJob(), cron_trigger.CronTrigger(cron))\r\n container.add_task(new_task)\r\n container.start_all()\r\n\r\nDocumentation\r\n--------------\r\n\r\nFull documentation is hosted on [HERE](). \r\nSources are available in the ``docs/`` directory.\r\n\r\nLicense\r\n--------------\r\n\r\npy-task is licensed under the Apache License, Version 2.0. See LICENSE for full license text", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/PinaeOS/py-task", "keywords": "python cron scheduling", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "py-task", "package_url": "https://pypi.org/project/py-task/", "platform": "", "project_url": "https://pypi.org/project/py-task/", "project_urls": { "Homepage": "https://github.com/PinaeOS/py-task" }, "release_url": "https://pypi.org/project/py-task/1.1/", "requires_dist": null, "requires_python": null, "summary": "Task scheduling tools for python", "version": "1.1" }, "last_serial": 1736012, "releases": { "1.1": [ { "comment_text": "Support cron scheduling", "digests": { "md5": "e1734e393b58e9890af49ea8c94e379e", "sha256": "2e0c40fc6140193b2b2a662ea428b64e2d919c95c0337cdf7e2ec7e784b15b13" }, "downloads": -1, "filename": "py-task-1.1.tar.gz", "has_sig": false, "md5_digest": "e1734e393b58e9890af49ea8c94e379e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10248, "upload_time": "2015-09-24T08:58:21", "url": "https://files.pythonhosted.org/packages/f3/c6/1a451a19bf553c913f82399481abed032323b32407f60d5df2dba79434e7/py-task-1.1.tar.gz" } ] }, "urls": [ { "comment_text": "Support cron scheduling", "digests": { "md5": "e1734e393b58e9890af49ea8c94e379e", "sha256": "2e0c40fc6140193b2b2a662ea428b64e2d919c95c0337cdf7e2ec7e784b15b13" }, "downloads": -1, "filename": "py-task-1.1.tar.gz", "has_sig": false, "md5_digest": "e1734e393b58e9890af49ea8c94e379e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 10248, "upload_time": "2015-09-24T08:58:21", "url": "https://files.pythonhosted.org/packages/f3/c6/1a451a19bf553c913f82399481abed032323b32407f60d5df2dba79434e7/py-task-1.1.tar.gz" } ] }