{ "info": { "author": "Evgeny Frolov", "author_email": "", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3" ], "description": "# Interactive ProgressBar\nPython progress bar that uses native ipython functionality. Widget-free. Works even in JupyterLab.\n\nThe reason for creating this package is that other progress bars use custom bar objects and/or widget tools, ignoring the builtin `IPython` functionality. This makes them unusable in \"clean\" environments like JupyterLab. In contrast, `ipypb` can run even in very restricted environments.\n\nAnother useful feature of `ipypb` is that the progress bar information is available even after closing a notebook and killing its ipython kernel. Once you launch this notebook again, you'll see the same progress bar information as before closing instead of widjet-related erorrs like `Failed to display Jupyter Widget of type HBox`, as shown below:\n\n![tqdm - display failure](https://user-images.githubusercontent.com/5283394/52354932-66a7ec80-2a42-11e9-9c10-d314c2bb2f5f.png)\n\nAlso have a look at this [NBViewer example](https://nbviewer.jupyter.org/github/evfro/ipypb/blob/master/examples/Usage%20examples.ipynb).\n\n# Notes\nCurrently at beta stage.\n\nSimple usage example:\n```python\nfrom time import sleep\nfrom ipypb import track\n\nfor i in track(range(10)):\n sleep(0.1)\n```\nA few other conveniences are available. For example, you can use `ipypb` as a python's range-like function:\n```python\nfrom ipypb import irange\n\nfor i in irange(1, 10, 2): # same as range(1, 10, 2) but with progressbar\n # \n ...\n```\nIt may also be helpful to use the factory method `ipb`, which handles different usage scenarios and returns either `track` or `irange` instance depending on input arguments. Another usage example is when you already have a bunch of code with [`tqdm`](https://github.com/tqdm/tqdm) and want to \nreplace it with `ipypb`:\n```python\nfrom ipypb import ipb\n\ntqdm_notebook = ipb\n# or if you run it in interactive shell\ntqdm = ipb\n```\nIt will automatically process keyword arguments to ensure compatibility with `tqdm`'s API. Note, that `ipb` offers a common interface for both notebook and terminal environments.\n\n## Asynchronous flow\nIt's also possible to use `ipypb` for tracking tasks that are executed asyncrhonously or in parallel. The major use case is when the order of executed tasks from a task pool doesn't correspond to the desired order for displaying a progress. In this case, you can instruct `ipypb` to preserve the desired order by submitting a description of the progress hierarchy. Below is an example for simple heirarchy consisting of three levels: `i <-- j <-- k`. Progress on each parent level depends on full exectunion of its sublevels. Note how levels `k:1` and `k:2` get moved to the group `j:0` they belong to, even though initially they appear in the end, below the `j:1` group:\n\n![ipypb - async flow](https://user-images.githubusercontent.com/5283394/52353228-26933a80-2a3f-11e9-927a-6bd114f87abe.gif)\n\n**Note**: this feature is currently in provisional state, which means that its API main change in future releases. In order to test it, do \n```python\nfrom ipypb import chain\n```\n\n# Install\n`pip install --upgrade ipypb`\n\n# Requirements\nPython 3.6+ and IPython v.5.6+ excluding v.6.1 and v.6.2\n\n# Limitations\n- The feature to erase progressbar when loop is over is not yet supported.\n\n\n", "description_content_type": "text/markdown", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "", "keywords": "progressbar", "license": "", "maintainer": "", "maintainer_email": "", "name": "ipypb", "package_url": "https://pypi.org/project/ipypb/", "platform": "any", "project_url": "https://pypi.org/project/ipypb/", "project_urls": null, "release_url": "https://pypi.org/project/ipypb/0.5.2/", "requires_dist": null, "requires_python": "", "summary": "Interactive ProgressBar natively built with IPython", "version": "0.5.2" }, "last_serial": 4790025, "releases": { "0.5.0": [ { "comment_text": "", "digests": { "md5": "9392c0e7bbf0c4dd36ab35279b9fc501", "sha256": "0a45d45e571027b2a5d92c5ca3d64a1de09f1c5802c63af6514101bafa946e1a" }, "downloads": -1, "filename": "ipypb-0.5.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9392c0e7bbf0c4dd36ab35279b9fc501", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 5577, "upload_time": "2019-01-08T15:20:05", "url": "https://files.pythonhosted.org/packages/67/79/abfb814f347bf5b80caabb18a6257b71ec71e32b6f0afe98f48cf09f4212/ipypb-0.5.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c15508c60ccb79c74bc9fd3cd71572f5", "sha256": "a042ae3bacc2c6f428708d93ab99e48f9cdbd43a989abd843cea596da2993324" }, "downloads": -1, "filename": "ipypb-0.5.0.tar.gz", "has_sig": false, "md5_digest": "c15508c60ccb79c74bc9fd3cd71572f5", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 4314, "upload_time": "2019-01-08T15:20:07", "url": "https://files.pythonhosted.org/packages/19/52/30528b4812e4321af68448ea6f5ea49910e09ab96094cdcd659d2933e348/ipypb-0.5.0.tar.gz" } ], "0.5.1": [ { "comment_text": "", "digests": { "md5": "168607c26218758e4029907796ad4b4d", "sha256": "f4d1945e8e405a9dc336110c459864c6b4f16aef52c90e8977a08332db94a551" }, "downloads": -1, "filename": "ipypb-0.5.1-py3-none-any.whl", "has_sig": false, "md5_digest": "168607c26218758e4029907796ad4b4d", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6215, "upload_time": "2019-01-09T04:26:33", "url": "https://files.pythonhosted.org/packages/73/42/93875703450f14b1451057c68edad9e890bdad35b18d165049511d74ce43/ipypb-0.5.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "2c681f6b7d14ca42f68a0eda760b51cb", "sha256": "78f0003e300fa93f44dca6d31c968dfd2d0d3e0c8e0d8b528d6a1a3aea24dd3c" }, "downloads": -1, "filename": "ipypb-0.5.1.tar.gz", "has_sig": false, "md5_digest": "2c681f6b7d14ca42f68a0eda760b51cb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5044, "upload_time": "2019-01-09T04:26:35", "url": "https://files.pythonhosted.org/packages/a2/33/94904fdad5c7abff3914f43cda7c7e9a4d73dc31deff4ba670dc72652150/ipypb-0.5.1.tar.gz" } ], "0.5.2": [ { "comment_text": "", "digests": { "md5": "d41b7402d275036bf731b48afa643fa6", "sha256": "625a201d4c912ac498fa297f19291959f3dadbd37247d873d0291bf197e0f82d" }, "downloads": -1, "filename": "ipypb-0.5.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d41b7402d275036bf731b48afa643fa6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8589, "upload_time": "2019-02-07T08:17:02", "url": "https://files.pythonhosted.org/packages/03/34/0690f80e96e5fe8dbc8b29ed5255ad066555e13807989084eac6d4ca4fca/ipypb-0.5.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec9d32da46c211f0a34fd74cc7df4ddc", "sha256": "ce87f3845502ca1e47a69aa79a03fbca13edd8e23fbcdbe608c4c6b243bed2b3" }, "downloads": -1, "filename": "ipypb-0.5.2.tar.gz", "has_sig": false, "md5_digest": "ec9d32da46c211f0a34fd74cc7df4ddc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7480, "upload_time": "2019-02-07T08:17:05", "url": "https://files.pythonhosted.org/packages/d4/3d/27a4c48c11e06b7f0ffe9898156f29184dc68698e70bb556daa9638474b8/ipypb-0.5.2.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "d41b7402d275036bf731b48afa643fa6", "sha256": "625a201d4c912ac498fa297f19291959f3dadbd37247d873d0291bf197e0f82d" }, "downloads": -1, "filename": "ipypb-0.5.2-py3-none-any.whl", "has_sig": false, "md5_digest": "d41b7402d275036bf731b48afa643fa6", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 8589, "upload_time": "2019-02-07T08:17:02", "url": "https://files.pythonhosted.org/packages/03/34/0690f80e96e5fe8dbc8b29ed5255ad066555e13807989084eac6d4ca4fca/ipypb-0.5.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "ec9d32da46c211f0a34fd74cc7df4ddc", "sha256": "ce87f3845502ca1e47a69aa79a03fbca13edd8e23fbcdbe608c4c6b243bed2b3" }, "downloads": -1, "filename": "ipypb-0.5.2.tar.gz", "has_sig": false, "md5_digest": "ec9d32da46c211f0a34fd74cc7df4ddc", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 7480, "upload_time": "2019-02-07T08:17:05", "url": "https://files.pythonhosted.org/packages/d4/3d/27a4c48c11e06b7f0ffe9898156f29184dc68698e70bb556daa9638474b8/ipypb-0.5.2.tar.gz" } ] }