{ "info": { "author": "Thorsten Hapke", "author_email": "thorsten.hapke@sap.com", "bugtrack_url": null, "classifiers": [ "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: 3.7" ], "description": "# tprogress\nSimple time capturing for python, that logs the time passed since last call with logger level.DEBUG. \n\n# How-to\n\n## Time Logging\n1. Create tprogress class instance, e.g. *timep = tprogress.progress()* . Starts the clock.\n2. Call *tprogress.elapsed_time (self,stage='')* that returns a formatted string with time and in debug mode the time. \nThe argument *stage* is a string that can be used to state at what stage the program is when called. \n\nExample\n * DEBUG:tprogress:Elapsed Time: 1m 0.683s ( 0: 1:0.7) - Backward Calculation of Rank\n\n\n## Time Monitoring\n1. Create tprogress class instance, e.g. *timep = tprogress.progress(max_num=100,step_size=1,freq=5)* . Starts the clock.\n2. Call *tprogress.monitor()* within a large *for*-loop that tells about how far program is and predicts\nwhen the loop is finished. The setting is done in the _init_ call: \n * max_num: Number of loops, e.g. 100\n * step_size: Size of step, e.g. 1\n * freq: How often an info print should be done, e.g. 5, every 5th loop iteration\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": "https://github.com/thhapke/tprogress", "keywords": "time keeping,time monitoring", "license": "", "maintainer": "", "maintainer_email": "", "name": "tprogress", "package_url": "https://pypi.org/project/tprogress/", "platform": "", "project_url": "https://pypi.org/project/tprogress/", "project_urls": { "Homepage": "https://github.com/thhapke/tprogress" }, "release_url": "https://pypi.org/project/tprogress/0.0.6/", "requires_dist": null, "requires_python": "", "summary": "time monitoring", "version": "0.0.6", "yanked": false, "yanked_reason": null }, "last_serial": 6041213, "releases": { "0.0.5": [ { "comment_text": "", "digests": { "md5": "d8cb9411ceee31471de6b97176bdae7e", "sha256": "f603f9ed7859e116c8710b1902ffa638fd05e93820de216cbc96deba9a13c6bd" }, "downloads": -1, "filename": "tprogress-0.0.5.tar.gz", "has_sig": false, "md5_digest": "d8cb9411ceee31471de6b97176bdae7e", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2319, "upload_time": "2019-09-15T10:53:45", "upload_time_iso_8601": "2019-09-15T10:53:45.555082Z", "url": "https://files.pythonhosted.org/packages/56/de/52e33c6d49c9c71c83fbc492d49cf3729280ec434d95d6ffddb0ccc4d89c/tprogress-0.0.5.tar.gz", "yanked": false, "yanked_reason": null } ], "0.0.6": [ { "comment_text": "", "digests": { "md5": "228fdf35ac96883f27132c9169efe0ca", "sha256": "e8f1258a1f94ac6d23fec0a13b25cb6b90c2fc1c1fe0bbb036b9824a39f1dc90" }, "downloads": -1, "filename": "tprogress-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "228fdf35ac96883f27132c9169efe0ca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3605, "upload_time": "2019-10-28T12:39:35", "upload_time_iso_8601": "2019-10-28T12:39:35.657852Z", "url": "https://files.pythonhosted.org/packages/2e/d0/672153d8aa343be2a85caa827163836a10bc2a20451d364d016823ac6649/tprogress-0.0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "f1d7a38cd5cf3eaacb94b2d06a151449", "sha256": "6d28f571d54663d40c1d36ce502c634725cfb4ce09871dc676932aa0aa3142f1" }, "downloads": -1, "filename": "tprogress-0.0.6.tar.gz", "has_sig": false, "md5_digest": "f1d7a38cd5cf3eaacb94b2d06a151449", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2333, "upload_time": "2019-10-28T12:39:37", "upload_time_iso_8601": "2019-10-28T12:39:37.198466Z", "url": "https://files.pythonhosted.org/packages/93/12/afb93418038512633f376e6d21f709886e1048291177da3b08093c52bfed/tprogress-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "228fdf35ac96883f27132c9169efe0ca", "sha256": "e8f1258a1f94ac6d23fec0a13b25cb6b90c2fc1c1fe0bbb036b9824a39f1dc90" }, "downloads": -1, "filename": "tprogress-0.0.6-py3-none-any.whl", "has_sig": false, "md5_digest": "228fdf35ac96883f27132c9169efe0ca", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3605, "upload_time": "2019-10-28T12:39:35", "upload_time_iso_8601": "2019-10-28T12:39:35.657852Z", "url": "https://files.pythonhosted.org/packages/2e/d0/672153d8aa343be2a85caa827163836a10bc2a20451d364d016823ac6649/tprogress-0.0.6-py3-none-any.whl", "yanked": false, "yanked_reason": null }, { "comment_text": "", "digests": { "md5": "f1d7a38cd5cf3eaacb94b2d06a151449", "sha256": "6d28f571d54663d40c1d36ce502c634725cfb4ce09871dc676932aa0aa3142f1" }, "downloads": -1, "filename": "tprogress-0.0.6.tar.gz", "has_sig": false, "md5_digest": "f1d7a38cd5cf3eaacb94b2d06a151449", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2333, "upload_time": "2019-10-28T12:39:37", "upload_time_iso_8601": "2019-10-28T12:39:37.198466Z", "url": "https://files.pythonhosted.org/packages/93/12/afb93418038512633f376e6d21f709886e1048291177da3b08093c52bfed/tprogress-0.0.6.tar.gz", "yanked": false, "yanked_reason": null } ], "vulnerabilities": [] }