{ "info": { "author": "Florian Einfalt", "author_email": "info@florianeinfalt.de", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: Apache Software License", "Natural Language :: English", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Build Tools" ], "description": "cronster\n========\n\n.. image:: https://img.shields.io/pypi/l/cronster.svg\n :target: https://pypi.python.org/pypi/cronster\n.. image:: https://img.shields.io/pypi/pyversions/cronster.svg\n :target: https://pypi.python.org/pypi/cronster\n.. image:: https://img.shields.io/pypi/v/cronster.svg\n :target: https://pypi.python.org/pypi/cronster\n.. image:: https://img.shields.io/pypi/wheel/cronster.svg\n :target: https://pypi.python.org/pypi/cronster\n.. image:: https://readthedocs.org/projects/cronster/badge/?version=latest\n :target: https://readthedocs.org/projects/cronster/?badge=latest\n.. image:: https://travis-ci.org/florianeinfalt/cronster.svg?branch=master\n :target: https://travis-ci.org/florianeinfalt/cronster\n\n`Full Documentation`_\n\nInstallation\n============\n\nTo install ``cronster``, type:\n\n.. code-block:: bash\n\n $ pip install cronster\n\nGetting Started\n===============\n\nInstall Redis\n-------------\n\nTo get started with ``cronster``, install ``Redis`` on your computer\n(macOS & Homebrew in this example):\n\n.. code-block:: bash\n\n $ brew install redis\n $ brew services start redis\n\n`Digital Ocean `_ has a great tutorial on\nhow install Redis on Ubuntu.\n\nRun the crawler\n---------------\n\nAssuming ``Redis`` is running on your machine in default configuration\nand you want to crawl from ``~/projects``, run the following command:\n\n.. code-block:: bash\n\n $ cronster_crawler -r ~/projects\n\nThe full help output explains the other options of the CLI application.\nIt is possible to change certain parameters should ``Redis`` on a different\nhost/port or should you want to adjust the interval between crawls:\n\n.. code-block:: bash\n\n Usage: cronster_crawler [OPTIONS]\n\n Options:\n -r, --root TEXT Crawling root, default: the current working directory\n -h, --cache-host TEXT Cache host, default: localhost\n -p, --cache-port INTEGER Cache port, default: 6379 (Redis default)\n -i, --interval INTEGER Crawling interval, default: 2 seconds\n --help Show this message and exit.\n\n\nRun the scheduler\n-----------------\n\nAssuming ``Redis`` is running on your machine in default configuration,\nrun the following command:\n\n.. code-block:: bash\n\n $ cronster_scheduler\n\nThe full help output explains the other options of the CLI application.\nIt is possible to change ``Redis``-related parameters should ``Redis`` on a\ndifferent host or port:\n\n.. code-block:: bash\n\n Usage: cronster_scheduler [OPTIONS]\n\n Options:\n -h, --cache-host TEXT Cache host, default: localhost\n -p, --cache-port INTEGER Cache port, default: 6379 (Redis default)\n --help Show this message and exit.\n\nWrite a ``crontab`` file\n------------------------\n\nWrite the following ``YAML`` file to ``~/projects/crontab`` (or any other location\nanywhere in the hierarchy under your ``root`` location):\n\n.. code-block:: yaml\n\n test_job:\n cmd: echo \"Hello, World!\"\n schedule: \"*/5 * * * *\"\n\nYou should see the job being picked up by the crawler on the next crawl and\nshould see the scheduler run the job every five minutes.\n\n.. _Full Documentation: http://cronster.readthedocs.io/en/latest/\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/florianeinfalt/cronster", "keywords": "", "license": "Apache 2.0", "maintainer": "", "maintainer_email": "", "name": "cronster", "package_url": "https://pypi.org/project/cronster/", "platform": "", "project_url": "https://pypi.org/project/cronster/", "project_urls": { "Homepage": "https://github.com/florianeinfalt/cronster" }, "release_url": "https://pypi.org/project/cronster/0.1.1/", "requires_dist": [ "croniter", "click", "PyYaml", "redis", "tabulate" ], "requires_python": "", "summary": "Crawl filesystems for crontab files and schedule jobs.", "version": "0.1.1" }, "last_serial": 3550629, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "95c9bb44c00f269847f218fd47525ef2", "sha256": "74a38164f803ee579b2b3acc43533cdf138e766a0001dd0817a65c3439cfee29" }, "downloads": -1, "filename": "cronster-0.1.0-py2-none-any.whl", "has_sig": false, "md5_digest": "95c9bb44c00f269847f218fd47525ef2", "packagetype": "bdist_wheel", "python_version": "py2", "requires_python": null, "size": 10195, "upload_time": "2018-02-04T15:50:10", "url": "https://files.pythonhosted.org/packages/21/ab/e668118c32b42413b110f1e9b1d4a52ae272fdda6858d7fe51a2b7f29edb/cronster-0.1.0-py2-none-any.whl" }, { "comment_text": "", "digests": { "md5": "14747fba56dfe10fa8db56e642595299", "sha256": "be14b0645a3869b8d56851873936047f112194385eade13c357e3729a7008f1d" }, "downloads": -1, "filename": "cronster-0.1.0.tar.gz", "has_sig": false, "md5_digest": "14747fba56dfe10fa8db56e642595299", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17109, "upload_time": "2018-02-04T15:50:11", "url": "https://files.pythonhosted.org/packages/e4/57/54a12e2b41d4bde117cfe7c7dfba5de777c58b6614c7635ba9926b00f998/cronster-0.1.0.tar.gz" } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "e80a1096c454fe7ca18a0f35a7164e3d", "sha256": "a1aceb7d14ce4d031c8f909512972b0f0dd7b5463da3b5b469980ab13d83cb6d" }, "downloads": -1, "filename": "cronster-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e80a1096c454fe7ca18a0f35a7164e3d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10199, "upload_time": "2018-02-04T15:53:31", "url": "https://files.pythonhosted.org/packages/e2/14/fbd2bbafa1bfee2d5105f3a332eb20fb7d2854eb1534e04dd81aa8162dd8/cronster-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bddcc86159dc25568ec43e87a0cb8d1", "sha256": "c0785def704e04a9110097dd7812d07db576fc2bf4c9269b14225d657fb3591f" }, "downloads": -1, "filename": "cronster-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0bddcc86159dc25568ec43e87a0cb8d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17108, "upload_time": "2018-02-04T15:53:33", "url": "https://files.pythonhosted.org/packages/aa/6e/cb30f5c63b2680a13b1cad6c08750939fbe02ae5f9812c8404c6f1f713ad/cronster-0.1.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e80a1096c454fe7ca18a0f35a7164e3d", "sha256": "a1aceb7d14ce4d031c8f909512972b0f0dd7b5463da3b5b469980ab13d83cb6d" }, "downloads": -1, "filename": "cronster-0.1.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "e80a1096c454fe7ca18a0f35a7164e3d", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 10199, "upload_time": "2018-02-04T15:53:31", "url": "https://files.pythonhosted.org/packages/e2/14/fbd2bbafa1bfee2d5105f3a332eb20fb7d2854eb1534e04dd81aa8162dd8/cronster-0.1.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "0bddcc86159dc25568ec43e87a0cb8d1", "sha256": "c0785def704e04a9110097dd7812d07db576fc2bf4c9269b14225d657fb3591f" }, "downloads": -1, "filename": "cronster-0.1.1.tar.gz", "has_sig": false, "md5_digest": "0bddcc86159dc25568ec43e87a0cb8d1", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 17108, "upload_time": "2018-02-04T15:53:33", "url": "https://files.pythonhosted.org/packages/aa/6e/cb30f5c63b2680a13b1cad6c08750939fbe02ae5f9812c8404c6f1f713ad/cronster-0.1.1.tar.gz" } ] }