{ "info": { "author": "snower", "author_email": "sujian199@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "forsun\n======\n\n|Build Status|\n\n\u9ad8\u6027\u80fd\u7684\u5b9a\u65f6\u8c03\u5ea6\u670d\u52a1\u3002\n\nAbout\n=====\n\n\u4f7f\u7528Linux\u7cfb\u7edf\u5b9a\u65f6\u5668\u4ea7\u751f\u7cbe\u786e\u5230\u79d2\u7684\u5b9a\u65f6\uff0c\u957f\u65f6\u95f4\u8fd0\u884c\u65e0\u8bef\u5dee\uff0c\u652f\u6301\u5185\u5b58\u5b58\u50a8\u548credis\u6301\u4e45\u5316\u5b58\u50a8\uff0c\u8f7b\u677e\u652f\u6301\u5343\u4e07\u7ea7\u5b9a\u65f6\u4efb\u52a1\u8c03\u5ea6\uff0c\u652f\u6301shell\u3001http\u3001reids\u3001thrift\u3001beanstalk\u4e94\u79cd\u5230\u65f6\u89e6\u53d1\u56de\u8c03\u65b9\u5f0f\uff0c\u5e76\u53ef\u4ee5\u901a\u8fc7\u6269\u5c55\u8f7b\u677e\u81ea\u5b9a\u4e49\u56de\u8c03\u5668\u3002\n\n\u4f7f\u7528crontab\u76f8\u4f3c\u547d\u4ee4\u521b\u5efa\u7ba1\u7406\u4efb\u52a1\uff0c\u540c\u65f6Thrift\u63a5\u53e3\u521b\u5efa\u548c\u53d6\u6d88\u4efb\u52a1\uff0c\u652f\u6301\u5927\u91cf\u8bed\u8a00\u63a5\u5165\u3002\n\nInstallation\n============\n\n::\n\n pip install forsun\n\n or \n\n git clone https://github.com/snower/forsun.git\n python setup.py install\n\nStart Server\n============\n\n::\n\n forsund -h\n usage: forsund [-h] [--bind BIND_HOST] [--port BIND_PORT] [--demon DEMON]\n [--log LOG_FILE] [--log-level LOG_LEVEL] [--driver DRIVER]\n [--driver-mem-store-file STORE_MEM_STORE_FILE]\n [--driver-redis-host DRIVER_REDIS_HOST]\n [--driver-redis-port DRIVER_REDIS_PORT]\n [--driver-redis-db DRIVER_REDIS_DB]\n [--driver-redis-prefix DRIVER_REDIS_PREFIX]\n [--driver-redis-server-id DRIVER_REDIS_SERVER_ID]\n [--extension-path EXTENSION_PATH] [--extension EXTENSIONS]\n\n High-performance timing scheduling service\n\n optional arguments:\n -h, --help show this help message and exit\n --bind BIND_HOST bind host (default: 0.0.0.0)\n --port BIND_PORT bind port (default: 6458)\n --demon DEMON run demon mode\n --log LOG_FILE log file\n --log-level LOG_LEVEL\n log level (defaul: INFO)\n --driver DRIVER store driver mem or redis (defaul: mem)\n --driver-mem-store-file STORE_MEM_STORE_FILE\n store mem driver store file (defaul:\n /tmp/forsun.session)\n --driver-redis-host DRIVER_REDIS_HOST\n store reids driver host (defaul: 127.0.0.1)\n --driver-redis-port DRIVER_REDIS_PORT\n store reids driver port (defaul: 6379)\n --driver-redis-db DRIVER_REDIS_DB\n store reids driver db (defaul: 0)\n --driver-redis-prefix DRIVER_REDIS_PREFIX\n store reids driver key prefix (defaul: forsun)\n --driver-redis-server-id DRIVER_REDIS_SERVER_ID\n store reids driver server id (defaul: 0)\n --extension-path EXTENSION_PATH\n extension path\n --extension EXTENSIONS\n extension name\n\nCommand\n=======\n\n::\n\n forsun -h\n usage: forsun [-h] [--host HOST] [--port PORT] [--exe EXECUTE] [cmd]\n\n High-performance timing scheduling service\n\n positional arguments:\n cmd execute cmd (default: )\n\n optional arguments:\n -h, --help show this help message and exit\n --host HOST host (default: 127.0.0.1)\n --port PORT port (default: 6458)\n --exe EXECUTE execute cmd (default: )\n \n #timeout\u6a21\u5f0f\uff08\u6bcf5\u79d2\u8fd0\u884c\uff0c\u5171\u8fd0\u884c1\u6b21\uff09\n forsun \"set redis */5/1 * * * * * redis 'host=172.16.0.2;command=\\'SET b 1 EX 300\\'\"\n forsun \"set shell */5/1 * * * * * shell 'cmd=ls\"\n forsun \"set beanstalk */5/1 * * * * * beanstalk 'host=10.4.14.14;name=etask;body={}'\"\n forsun \"set thrift */5/1 * * * * * thrift 'host=10.4.14.14;port=4220\"\n forsun \"set http */5/1 * * * * * http 'url=\\'http://www.baidu.com\\''\"\n\n #time\u6a21\u5f0f\uff08\u5b9a\u70b9\u65f6\u95f4\uff0c\u6bcf\u592916:32:00\u8fd0\u884c\uff09\n forsun \"set redis 0 32 16 * * * redis 'host=172.16.0.2;command=\\'SET b 1 EX 300\\'\"\n forsun \"set shell 0 32 16 * * * shell 'cmd=ls\"\n forsun \"set beanstalk 0 32 16 * * * beanstalk 'host=10.4.14.14;name=etask;body={}'\"\n forsun \"set thrift 0 32 16 * * * thrift 'host=10.4.14.14;port=4220\"\n forsun \"set http 0 32 16 * * * http 'url=\\'http://www.baidu.com\\''\"\n\nLicense\n=======\n\nforsun uses the MIT license, see LICENSE file for the details.\n\n.. |Build Status| image:: https://travis-ci.org/snower/forsun.svg?branch=master\n :target: https://travis-ci.org/snower/forsun", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/snower/forsun", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "forsun", "package_url": "https://pypi.org/project/forsun/", "platform": "", "project_url": "https://pypi.org/project/forsun/", "project_urls": { "Homepage": "https://github.com/snower/forsun" }, "release_url": "https://pypi.org/project/forsun/0.1.4/", "requires_dist": null, "requires_python": "", "summary": "High-performance high-precision timing scheduling service", "version": "0.1.4", "yanked": false, "yanked_reason": null }, "last_serial": 6848295, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "bfb17be40f9c36f3f51175ccd33e5dc9", "sha256": "6c38f8e873f919fb0a22bd6bddd9e699c833706ce2e6a05696d5d8d0a4aa9d37" }, "downloads": -1, "filename": "forsun-0.0.1.tar.gz", "has_sig": false, "md5_digest": "bfb17be40f9c36f3f51175ccd33e5dc9", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39423, "upload_time": "2018-02-07T08:45:35", "upload_time_iso_8601": "2018-02-07T08:45:35.220709Z", "url": "https://files.pythonhosted.org/packages/54/b2/86bb61d6f0bcca32bdb6f6a8c2a832c3c779d2362cd33c6392db0124c9bd/forsun-0.0.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "e2a71c933a99548405cb2f805e8449bd", "sha256": "35983da3f6125692b3f8b7e6223e150ec10f08b4ab23a5643f97a292c1f40de5" }, "downloads": -1, "filename": "forsun-0.0.2.tar.gz", "has_sig": false, "md5_digest": "e2a71c933a99548405cb2f805e8449bd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31521, "upload_time": "2018-02-07T08:51:22", "upload_time_iso_8601": "2018-02-07T08:51:22.797493Z", "url": "https://files.pythonhosted.org/packages/4f/63/d8564075fcfce19bc97045c71a7c5e3179b72f0ba2f28b3bc32e4ac82c2b/forsun-0.0.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "ce85fe9fae8772a2a10ba8627cdbdc08", "sha256": "d1663fa0e681edd302fccce79587203fc3158a0a2a4c51e5ac91a06fcd7a9d45" }, "downloads": -1, "filename": "forsun-0.0.3.tar.gz", "has_sig": false, "md5_digest": "ce85fe9fae8772a2a10ba8627cdbdc08", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 31662, "upload_time": "2018-03-09T10:06:08", "upload_time_iso_8601": "2018-03-09T10:06:08.788400Z", "url": "https://files.pythonhosted.org/packages/96/1d/2cf72bfbd57543aebde134ab6c869a504cc05b1f12ae32f7598fc51e797d/forsun-0.0.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "7e679e9dde97c6c1b6081ef640743768", "sha256": "691aea6bd7526daf5903e5e9547e60741527c051fb1b3230911a0de1027b6e65" }, "downloads": -1, "filename": "forsun-0.0.4.tar.gz", "has_sig": false, "md5_digest": "7e679e9dde97c6c1b6081ef640743768", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33915, "upload_time": "2018-03-16T09:24:36", "upload_time_iso_8601": "2018-03-16T09:24:36.256291Z", "url": "https://files.pythonhosted.org/packages/20/19/f3883fc54b38f0cc8508b2fa90c08ceca7e636ee05e96941550d54e099d7/forsun-0.0.4.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.5": [ { "comment_text": "", "digests": { "md5": "d186a47dea6f6797cbbadd79c03d79d0", "sha256": "f7f392746a3af07e8a97109c26128f0a45fdf9e2a4db49f0ee4d222279959b68" }, "downloads": -1, "filename": "forsun-0.0.5.tar.gz", "has_sig": false, "md5_digest": "d186a47dea6f6797cbbadd79c03d79d0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 33995, "upload_time": "2018-06-21T03:34:53", "upload_time_iso_8601": "2018-06-21T03:34:53.982295Z", "url": "https://files.pythonhosted.org/packages/29/a0/72d4ddb63aa880454590d95be29aa7b61af1092a7f80de0b587e509f6a23/forsun-0.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "8ec5ceaed670cf98224569c3abe03a10", "sha256": "3f5ae54900e9a846d709ce7d2f025357f34ea58cfc34d003517d079ac65dcebf" }, "downloads": -1, "filename": "forsun-0.0.6.tar.gz", "has_sig": false, "md5_digest": "8ec5ceaed670cf98224569c3abe03a10", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 34142, "upload_time": "2018-06-23T07:14:28", "upload_time_iso_8601": "2018-06-23T07:14:28.453908Z", "url": "https://files.pythonhosted.org/packages/19/ea/f32a68d12e3833b253aac4f8a7c73c066cc689372ba34e3446d8d0f7a76f/forsun-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.8": [ { "comment_text": "", "digests": { "md5": "142a3054bf258b25505eb6a5523235ea", "sha256": "bd470f73e9fa88410147c3cb23bab539f0595499539a22dc6ba5fdf4d13a1c19" }, "downloads": -1, "filename": "forsun-0.0.8.tar.gz", "has_sig": false, "md5_digest": "142a3054bf258b25505eb6a5523235ea", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46389, "upload_time": "2018-09-06T10:13:44", "upload_time_iso_8601": "2018-09-06T10:13:44.856226Z", "url": "https://files.pythonhosted.org/packages/28/e4/e4dd6ede86e7dd039ff6aff69bb8fbcbb7289211517fd1c876fb2d24cd78/forsun-0.0.8.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.9": [ { "comment_text": "", "digests": { "md5": "14f45be4fd658a0893ce446dbe9a2f47", "sha256": "4f0f79e1c8cd573bf157721485a031fb6a2386e9bb24ccc909ecb3d46c745920" }, "downloads": -1, "filename": "forsun-0.0.9.tar.gz", "has_sig": false, "md5_digest": "14f45be4fd658a0893ce446dbe9a2f47", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46826, "upload_time": "2018-09-15T09:27:03", "upload_time_iso_8601": "2018-09-15T09:27:03.765599Z", "url": "https://files.pythonhosted.org/packages/59/5c/e0bb6611c51b51228b2a940a4a308681964333be07d27927e6a1d9118962/forsun-0.0.9.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "2b7547b3facdaf1e980655293ff4146d", "sha256": "144e591c3ee4ae5e95147e3b4342f6729792785bdf4ff50ab08bd691165dce8a" }, "downloads": -1, "filename": "forsun-0.1.0.tar.gz", "has_sig": false, "md5_digest": "2b7547b3facdaf1e980655293ff4146d", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 46979, "upload_time": "2019-03-06T09:56:37", "upload_time_iso_8601": "2019-03-06T09:56:37.535107Z", "url": "https://files.pythonhosted.org/packages/f0/dc/7da24d6739b8ccb77b0af56396f3b20ecac5cd014dfa4c12966bcd830d8e/forsun-0.1.0.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.1": [ { "comment_text": "", "digests": { "md5": "48dfd2a0aec70f23a8aeca74e5a79e66", "sha256": "5db76557bb0b7628e60684e1896dead86d8c0d2654c6d162cf2ff2936f21d906" }, "downloads": -1, "filename": "forsun-0.1.1.tar.gz", "has_sig": false, "md5_digest": "48dfd2a0aec70f23a8aeca74e5a79e66", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 47428, "upload_time": "2019-03-14T07:10:20", "upload_time_iso_8601": "2019-03-14T07:10:20.921289Z", "url": "https://files.pythonhosted.org/packages/5e/55/c11a2d823583711367cd3ca7e04efea8621e039c23cbee790c11ea421d30/forsun-0.1.1.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.2": [ { "comment_text": "", "digests": { "md5": "ec15ecfa4e87fe9ca4a7c0634c719cd0", "sha256": "28659cec8fd2ebf7edca9b26b172f29939c9a3b570d8c7cb82c735673db30e9e" }, "downloads": -1, "filename": "forsun-0.1.2.tar.gz", "has_sig": false, "md5_digest": "ec15ecfa4e87fe9ca4a7c0634c719cd0", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 48749, "upload_time": "2019-07-17T03:27:50", "upload_time_iso_8601": "2019-07-17T03:27:50.044748Z", "url": "https://files.pythonhosted.org/packages/4d/5b/0803d9e37e894dd17d5694a324a228a1bfc9a3b620a08351b9f9598cb442/forsun-0.1.2.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.3": [ { "comment_text": "", "digests": { "md5": "b24301a9165f59fcc5de033d4b0dd011", "sha256": "ae7e6f9949b3d0ab348bba2cb9077d3dadcef8e7833e59ef43c08babc469a2fc" }, "downloads": -1, "filename": "forsun-0.1.3-py2.7.egg", "has_sig": false, "md5_digest": "b24301a9165f59fcc5de033d4b0dd011", "packagetype": "bdist_egg", "python_version": "2.7", "requires_python": null, "size": 168138, "upload_time": "2019-10-31T09:32:37", "upload_time_iso_8601": "2019-10-31T09:32:37.464847Z", "url": "https://files.pythonhosted.org/packages/86/90/7cfba2df7e204956020776da1daa63df7e8f69f7d63e4452b7a745a2f917/forsun-0.1.3-py2.7.egg", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "7f4a9b40756ba291181419b766f7c112", "sha256": "944a24368642118aa6b438af4a1768d783ef92295305ea5669b95fe8880a0867" }, "downloads": -1, "filename": "forsun-0.1.3-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "7f4a9b40756ba291181419b766f7c112", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 64969, "upload_time": "2019-10-31T09:32:35", "upload_time_iso_8601": "2019-10-31T09:32:35.351431Z", "url": "https://files.pythonhosted.org/packages/96/9e/6f35691ad69b54cd27af33b6113e523ae273dc141fef97c10d952756fd80/forsun-0.1.3-py2.py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "4032d809e8905dea4fafc6a59a02f9a4", "sha256": "2553ae45569325fdbce33d22785282a1e26f0cb89b026cd5a1096b7c561895e6" }, "downloads": -1, "filename": "forsun-0.1.3.tar.gz", "has_sig": false, "md5_digest": "4032d809e8905dea4fafc6a59a02f9a4", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 49269, "upload_time": "2019-10-31T09:32:39", "upload_time_iso_8601": "2019-10-31T09:32:39.381271Z", "url": "https://files.pythonhosted.org/packages/7c/5c/f0d8250efc3ee613707d4b3aaf0e5cef73695028d0032baf8d41e1e59b70/forsun-0.1.3.tar.gz", "yanked": false, "yanked_reason": null } ], "0.1.4": [ { "comment_text": "", "digests": { "md5": "4bae3d884ca27c0f4257a76b8e5cec30", "sha256": "8936c2ef519de01ba9630c861f06727c7a3de221d06a69f5addc83115d2724e4" }, "downloads": -1, "filename": "forsun-0.1.4.tar.gz", "has_sig": false, "md5_digest": "4bae3d884ca27c0f4257a76b8e5cec30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39404, "upload_time": "2020-03-20T08:24:41", "upload_time_iso_8601": "2020-03-20T08:24:41.214808Z", "url": "https://files.pythonhosted.org/packages/fd/0e/73724c30812dcd4476a96a0c56fc4cd40d3e577cbc7d2027809d33cd907e/forsun-0.1.4.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "4bae3d884ca27c0f4257a76b8e5cec30", "sha256": "8936c2ef519de01ba9630c861f06727c7a3de221d06a69f5addc83115d2724e4" }, "downloads": -1, "filename": "forsun-0.1.4.tar.gz", "has_sig": false, "md5_digest": "4bae3d884ca27c0f4257a76b8e5cec30", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 39404, "upload_time": "2020-03-20T08:24:41", "upload_time_iso_8601": "2020-03-20T08:24:41.214808Z", "url": "https://files.pythonhosted.org/packages/fd/0e/73724c30812dcd4476a96a0c56fc4cd40d3e577cbc7d2027809d33cd907e/forsun-0.1.4.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }