{ "info": { "author": "Gavin M. Roy", "author_email": "gavinmroy@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Environment :: Console", "Environment :: Console :: Curses", "Intended Audience :: Developers", "License :: OSI Approved :: BSD License", "Operating System :: OS Independent", "Programming Language :: Python :: 2", "Programming Language :: Python :: 2.6", "Programming Language :: Python :: 2.7", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.2", "Programming Language :: Python :: 3.3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: Implementation :: CPython", "Programming Language :: Python :: Implementation :: PyPy", "Topic :: Software Development :: Libraries" ], "description": "progrock\n========\nThe ``progrock.MultiProgress`` class is used in conjunction with the\nmethods exposed at the module level such as ``progrock.increment`` to\ncreate a full-screen experience allowing the user to track the progress of\nindividual processes as they perform their work.\n\n|Version| |Downloads| |License|\n\nInstallation\n------------\nprogrock may be installed via the Python package index with the tool of\nyour choice. I prefer pip:\n\n.. code:: bash\n\n pip install progrock\n\nDocumentation\n-------------\n\nhttps://progrock.readthedocs.org\n\nRequirements\n------------\nThere are no requirements outside of the Python standard library.\n\nScreenshot\n----------\nThe following image shows the example code listing in action:\n\n.. image:: http://i.imgur.com/wi9MAdp.png\n\nExample\n-------\nThe following example will create a process for each CPU core on the system\nthat it is run on, displaying the MultiProgress screen. The child processes\nwill iterate 100 times, updating their progress bar and then sleeping up to\n1 second.\n\n.. code:: python\n\n import progrock\n import random\n\n def example_runner(ipc_queue):\n # Update the processes status in its progress box\n progrock.set_status(ipc_queue, 'Running')\n\n # Increment the progress bar, sleeping up to one second per iteration\n for iteration in range(1, 101):\n progrock.increment(ipc_queue)\n progrock.increment_app(ipc_queue)\n time.sleep(random.random())\n\n processes = []\n\n # Create the MultiProgress instance\n steps = multiprocessing.cpu_count() * 100\n with MultiProgress('Example', steps=steps) as progress:\n\n # Spawn a process per CPU and append it to the list of processes\n for proc_num in range(0, multiprocessing.cpu_count()):\n processes.append(progress.new_process(example_runner))\n\n # Wait for the processes to run\n while any([p.is_alive() for p in processes]):\n time.sleep(1)\n\nVersion History\n---------------\nAvailable at https://progrock.readthedocs.org\n\n.. |Version| image:: https://badge.fury.io/py/progrock.svg?\n :target: http://badge.fury.io/py/progrock\n\n.. |Downloads| image:: https://pypip.in/d/progrock/badge.svg?\n :target: https://pypi.python.org/pypi/progrock\n\n.. |License| image:: https://pypip.in/license/progrock/badge.svg?\n :target: https://progrock.readthedocs.org", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://progrock.readthedocs.org", "keywords": "multiprocess progress progressbar curses console", "license": "Copyright (c) 2014 Gavin M. Roy\nAll rights reserved.\n\nRedistribution and use in source and binary forms, with or without modification,\nare permitted provided that the following conditions are met:\n\n * Redistributions of source code must retain the above copyright notice, this\n list of conditions and the following disclaimer.\n * Redistributions in binary form must reproduce the above copyright notice,\n this list of conditions and the following disclaimer in the documentation\n and/or other materials provided with the distribution.\n * Neither the name of the progrock library nor the names of its\n contributors may be used to endorse or promote products derived from this\n software without specific prior written permission.\n\nTHIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS \"AS IS\" AND\nANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED\nWARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.\nIN NO EVENT SHALL THE COPYRIGHT HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,\nINDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,\nBUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,\nDATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF\nLIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE\nOR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF\nADVISED OF THE POSSIBILITY OF SUCH DAMAGE.", "maintainer": null, "maintainer_email": null, "name": "progrock", "package_url": "https://pypi.org/project/progrock/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/progrock/", "project_urls": { "Download": "UNKNOWN", "Homepage": "http://progrock.readthedocs.org" }, "release_url": "https://pypi.org/project/progrock/0.3.1/", "requires_dist": null, "requires_python": null, "summary": "A multi-progressbar implementation to complement multiprocessing.Process", "version": "0.3.1" }, "last_serial": 1289155, "releases": { "0.1.0": [ { "comment_text": "", "digests": { "md5": "129cb21596d42d2e1d4c6c3a99b0f2cd", "sha256": "57269c8db468f312b968c4761b241f4d3e62e28ff3ceab0567164c592268cb31" }, "downloads": -1, "filename": "progrock-0.1.0.tar.gz", "has_sig": false, "md5_digest": "129cb21596d42d2e1d4c6c3a99b0f2cd", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3006, "upload_time": "2014-10-30T17:47:16", "url": "https://files.pythonhosted.org/packages/e2/19/a74f629fc7acd0e8bfaee604168f1095c99663568d35691f6d8e72aae9ae/progrock-0.1.0.tar.gz" } ], "0.2.0": [ { "comment_text": "", "digests": { "md5": "755b854199153db06f21a6fd0cb08d19", "sha256": "474650c0aea6c983a12a0a2955d4efa38963a61d28ea5ae9e845c73b51e6b114" }, "downloads": -1, "filename": "progrock-0.2.0-cp27-none-macosx_10_10_intel.whl", "has_sig": false, "md5_digest": "755b854199153db06f21a6fd0cb08d19", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 5454, "upload_time": "2014-10-30T19:14:38", "url": "https://files.pythonhosted.org/packages/39/11/7f146744e09414e947c33a81af97a805e56111e0ebe189583b249be6669a/progrock-0.2.0-cp27-none-macosx_10_10_intel.whl" }, { "comment_text": "", "digests": { "md5": "e4793c7ff6bd15b49c97ebe4d33e6c70", "sha256": "3e53341b98d43627b16bb52c9e485a79ee2ff747272f57633cf202bcf81ccb8f" }, "downloads": -1, "filename": "progrock-0.2.0.tar.gz", "has_sig": false, "md5_digest": "e4793c7ff6bd15b49c97ebe4d33e6c70", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 3216, "upload_time": "2014-10-30T19:12:14", "url": "https://files.pythonhosted.org/packages/55/b7/a445e894bf3fe7502784b18e62e425121748cc0b1408cd2f9bf09811cfca/progrock-0.2.0.tar.gz" } ], "0.2.1": [ { "comment_text": "", "digests": { "md5": "34c8b056addcad64fa9ed1bf3f29cd3a", "sha256": "94ae2cd71c6b4d9bf54a7a83f6d9b67270035b8e50145e1540e6c310913dc4ee" }, "downloads": -1, "filename": "progrock-0.2.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "34c8b056addcad64fa9ed1bf3f29cd3a", "packagetype": "bdist_wheel", "python_version": "2.7", "requires_python": null, "size": 10412, "upload_time": "2014-10-30T19:40:26", "url": "https://files.pythonhosted.org/packages/b8/0f/58afe26ebad15d85824dae49cdfa2131c062b1a3efbd314034ed29dd7b9d/progrock-0.2.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "7ab94d7561321b98b8daa6f60a299c32", "sha256": "7ae4ffb6d336b255e41ec26793304bec24877cff8d79f3e05bd26623a0e89193" }, "downloads": -1, "filename": "progrock-0.2.1.tar.gz", "has_sig": false, "md5_digest": "7ab94d7561321b98b8daa6f60a299c32", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7347, "upload_time": "2014-10-30T19:41:39", "url": "https://files.pythonhosted.org/packages/52/37/fe869124a4160ba7a9c73e74993ff0516ad22f29eb22b3e762469cda5efe/progrock-0.2.1.tar.gz" } ], "0.3.0": [ { "comment_text": "", "digests": { "md5": "10fa46958981bffdcd3062149c5236f1", "sha256": "d2acf12de10694158517386e110e911b88eb4e6e9e24c41615bd796ddc19f8ae" }, "downloads": -1, "filename": "progrock-0.3.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "10fa46958981bffdcd3062149c5236f1", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10734, "upload_time": "2014-10-30T20:04:44", "url": "https://files.pythonhosted.org/packages/4b/a2/2715319e8566e7cd191807ee772e3fed120f5565279cf666e010621d22a7/progrock-0.3.0-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "fb1b86cd19708adc8f65a7bfecd8334c", "sha256": "09aafed57975b4e3b3b0e9a2d9baddac492120a5c98953d0470264b1d1d3055f" }, "downloads": -1, "filename": "progrock-0.3.0.tar.gz", "has_sig": false, "md5_digest": "fb1b86cd19708adc8f65a7bfecd8334c", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7780, "upload_time": "2014-10-30T20:04:40", "url": "https://files.pythonhosted.org/packages/d9/dc/f2646e5d6cdb35658c7797d34594f77faf2e8a00dd03a6bda754ebe8cf88/progrock-0.3.0.tar.gz" } ], "0.3.1": [ { "comment_text": "", "digests": { "md5": "dcee9bc36b357f78c2984c9bc2974508", "sha256": "475093188b0014b0691618cc50188c3a5e873572ba56a210f6e29785c529ea4a" }, "downloads": -1, "filename": "progrock-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dcee9bc36b357f78c2984c9bc2974508", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10809, "upload_time": "2014-10-30T20:39:58", "url": "https://files.pythonhosted.org/packages/4a/90/7b8804230ca145637e3ef895cce9e655ad1297db2638635509dcb35f8b4a/progrock-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "351df1afca8c27f7dc295ea9d296dd4e", "sha256": "f6c1a821608c5af987dadebf4089f33622976efa9e53aa7f6478ff7a55928cd7" }, "downloads": -1, "filename": "progrock-0.3.1.tar.gz", "has_sig": false, "md5_digest": "351df1afca8c27f7dc295ea9d296dd4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7854, "upload_time": "2014-10-30T20:39:56", "url": "https://files.pythonhosted.org/packages/ba/b4/5feb067b51840afbabd0a2aaeeceb4dc64705e6ca341de6f3f7ff94c59c6/progrock-0.3.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "dcee9bc36b357f78c2984c9bc2974508", "sha256": "475093188b0014b0691618cc50188c3a5e873572ba56a210f6e29785c529ea4a" }, "downloads": -1, "filename": "progrock-0.3.1-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "dcee9bc36b357f78c2984c9bc2974508", "packagetype": "bdist_wheel", "python_version": "3.4", "requires_python": null, "size": 10809, "upload_time": "2014-10-30T20:39:58", "url": "https://files.pythonhosted.org/packages/4a/90/7b8804230ca145637e3ef895cce9e655ad1297db2638635509dcb35f8b4a/progrock-0.3.1-py2.py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "351df1afca8c27f7dc295ea9d296dd4e", "sha256": "f6c1a821608c5af987dadebf4089f33622976efa9e53aa7f6478ff7a55928cd7" }, "downloads": -1, "filename": "progrock-0.3.1.tar.gz", "has_sig": false, "md5_digest": "351df1afca8c27f7dc295ea9d296dd4e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7854, "upload_time": "2014-10-30T20:39:56", "url": "https://files.pythonhosted.org/packages/ba/b4/5feb067b51840afbabd0a2aaeeceb4dc64705e6ca341de6f3f7ff94c59c6/progrock-0.3.1.tar.gz" } ] }