{ "info": { "author": "Wang WenPei", "author_email": "wangwenpei@nextoa.com", "bugtrack_url": null, "classifiers": [], "description": "Comb\n==================\n\n`comb `_ , A simple and high-performance framework for create parallel program\n\nUpgrade notes\n--------------------------\n\n\n* Version 0.9.x\n - Add ``--no-daemon`` option.\n - User interrupt directly when user specific ``--debug`` option.\n - change ``--sleep`` data type to float in python3.\n - update document\n - improve setup.py file\n - support safety user interrupt.\n - support python3\n - Add ``--once`` option. execute once and exit instead of wait.\n - As of Comb 0.8.99, we change ``--sleep_max`` option to ``--sleep-max``.\n - change comb script install path,use python library path instead /usr/local/bin\n\n\nQuick links\n----------------------\n\n\n* `Documentation `_\n* `Source (github) `_\n\n\n\nInstallation\n------------------------\n\n\n**Automatic installation**::\n\n pip install comb\n\ncomb is listed in `PyPI `_ and\ncan be installed with ``pip`` or ``easy_install``.\nit includes demo applications.\n\n\n**Manual installation**: Download the latest source from `Github `_.\n\n.. parsed-literal::\n\n git clone https://github.com/nextoa/comb.git\n cd comb\n python setup.py build\n sudo python setup.py install\n\nThe comb source code is `hosted on GitHub\n`_.\n\n**Prerequisites**: comb was only test on Python 2.7. It may be runs on\nall Python versions.\n\n\n\n\nHow to use\n---------------\n\nTo use comb, you should create a python module file. we named *slot*.\n\nA legal slot must be named 'Slot' in your module file and it must be at least contain four method:\n\n* initialize\n initial resource, e.g: database handle\n\n* __enter__\n get next data to do,you can fetch one or more data.\n\n* slot\n user custom code\n\n* __exit__\n when slot finished, call this method\n\n\n\n\nSlot Demo\n---------------\n\n* `Deal List Data `_\n* `Deal Mongo MQ `_\n* `Recycle Mongo MQ `_\n* `Custom Slot options `_\n\n\nStart\n---------------\n\nExecute a comb is very simple. just execute::\n\n comb --root SLOT_ROOT_PATH slot-package.slot-module\n\nif you set `SLOTPATH` environment, you can use::\n\n comb slot-package.slot-module\n\nQuick View. call::\n\n\tcomb comb.demo.list\n\nthis will execute the `Deal List Demo `_\n\n\nNote for production deployment\n---------------------------------------------\n\n* You'd better make comb process number equals your cpu core number.\n\n* We strongly recommend you use comb with `supervisor `_\n\n\n\n\n\n\n\n", "description_content_type": null, "docs_url": null, "download_url": "https://github.com/nextoa/comb/archive/master.zip", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://comb.readthdocs.org", "keywords": "comb,thread,framework,hook", "license": "http://opensource.org/licenses/MIT", "maintainer": null, "maintainer_email": null, "name": "comb", "package_url": "https://pypi.org/project/comb/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/comb/", "project_urls": { "Download": "https://github.com/nextoa/comb/archive/master.zip", "Homepage": "http://comb.readthdocs.org" }, "release_url": "https://pypi.org/project/comb/0.9.10/", "requires_dist": null, "requires_python": null, "summary": "A simple and high-performance framework for create concurrent program", "version": "0.9.10" }, "last_serial": 1613023, "releases": { "0.9.10": [ { "comment_text": "", "digests": { "md5": "9655c3531aa62fa03a5efc5d439e22e2", "sha256": "aa66fbccfbd172e978f30fd1f0dc66ada3c8e6eb9e24fac44c88a9206ed8b646" }, "downloads": -1, "filename": "comb-0.9.10.tar.gz", "has_sig": false, "md5_digest": "9655c3531aa62fa03a5efc5d439e22e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13777, "upload_time": "2015-06-30T12:04:12", "url": "https://files.pythonhosted.org/packages/b3/b3/5f4bc7623d9602205de36da311f316ac5357cded74769bd0d6545abef6a1/comb-0.9.10.tar.gz" } ], "0.9.8": [], "0.9.9": [ { "comment_text": "", "digests": { "md5": "4f453fe49e2e14b4e029218528e70b36", "sha256": "d11a409e5edc1bac975f87f3804c1d9480fad36f196c605b8999407167bfea16" }, "downloads": -1, "filename": "comb-0.9.9.tar.gz", "has_sig": false, "md5_digest": "4f453fe49e2e14b4e029218528e70b36", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 6071, "upload_time": "2015-06-30T11:22:09", "url": "https://files.pythonhosted.org/packages/ca/6e/6380494295d29698d0eeacfd52c36aa47d0d9ae17aea672c02c0c2415fc3/comb-0.9.9.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9655c3531aa62fa03a5efc5d439e22e2", "sha256": "aa66fbccfbd172e978f30fd1f0dc66ada3c8e6eb9e24fac44c88a9206ed8b646" }, "downloads": -1, "filename": "comb-0.9.10.tar.gz", "has_sig": false, "md5_digest": "9655c3531aa62fa03a5efc5d439e22e2", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 13777, "upload_time": "2015-06-30T12:04:12", "url": "https://files.pythonhosted.org/packages/b3/b3/5f4bc7623d9602205de36da311f316ac5357cded74769bd0d6545abef6a1/comb-0.9.10.tar.gz" } ] }