{ "info": { "author": "ChsHub", "author_email": "christian1193@web.com", "bugtrack_url": null, "classifiers": [ "Programming Language :: Python :: 3.3" ], "description": "# timerpy\nMeasure execution time of code sections.\n\n## Installation\n`python3 -m pip install timerpy`\n\n## Usage Examples\n\n```python\n\nfrom timerpy import Timer\nwith Timer():\n # Some code\n\n>>>TIME ELAPSED: 0:00:01.199748\n\n\n# Specify message\nwith Timer('HELLO WORLD'):\n # Some code\n\n>>>HELLO WORLD TIME ELAPSED: 0:02:15.242731\n\n\n# Specify output\nfrom logging import info # Write to log file\nwith Timer('HELLO WORLD', info):\n # Some code\n\n>>>timer.py: INFO: stop(): 44:\tHELLO WORLD TIME ELAPSED: 0:00:01.200157\n\n\n# Get elapsed time as float value\nwith Timer() as timer1:\n # Some code\nnanoseconds = timer1.elapsed_time\nprint(nanoseconds)\n\n>>>TIME ELAPSED: 0:00:01.400193\n>>>1400192600\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/ChsHub/timerpy", "keywords": "", "license": "MIT License", "maintainer": "", "maintainer_email": "", "name": "timerpy", "package_url": "https://pypi.org/project/timerpy/", "platform": "", "project_url": "https://pypi.org/project/timerpy/", "project_urls": { "Homepage": "https://github.com/ChsHub/timerpy" }, "release_url": "https://pypi.org/project/timerpy/1.1.0/", "requires_dist": null, "requires_python": "", "summary": "Measure execution time of code sections.", "version": "1.1.0" }, "last_serial": 4974067, "releases": { "1.0.2": [ { "comment_text": "", "digests": { "md5": "563752e7bd901b864cda6a488ee9a9cd", "sha256": "6ed01f4fb785c29c16eb5bf5fce58d23aa819734619d19720b0ae02414bf6d5f" }, "downloads": -1, "filename": "timerpy-1.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "563752e7bd901b864cda6a488ee9a9cd", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 2978, "upload_time": "2019-03-20T06:34:56", "url": "https://files.pythonhosted.org/packages/31/f5/6fbc7bf768286d794bd06950cfe428feb564530813b575d08be033ca65b5/timerpy-1.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "6031d6fdb464b9e40842e00f909c1600", "sha256": "4b9a1eac29438fc13281f845f28175b19f59b4e6b3d1919eb7d51753801193bf" }, "downloads": -1, "filename": "timerpy-1.0.2.tar.gz", "has_sig": false, "md5_digest": "6031d6fdb464b9e40842e00f909c1600", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1745, "upload_time": "2019-03-20T06:34:58", "url": "https://files.pythonhosted.org/packages/2e/e8/a99b7e6bee5b143c69ba56cdd41abb5ec829134567e31b5f421d0e8b3b2e/timerpy-1.0.2.tar.gz" } ], "1.0.3": [ { "comment_text": "", "digests": { "md5": "d8d5247ef83cbc8b82ae943c98b7bad3", "sha256": "a805417a81d1707370fd3ee0f084f85a5da0c2099f40738691320825ab01a4d9" }, "downloads": -1, "filename": "timerpy-1.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "d8d5247ef83cbc8b82ae943c98b7bad3", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3196, "upload_time": "2019-03-20T07:05:19", "url": "https://files.pythonhosted.org/packages/01/c0/be477d57572fd12cb25850fbb1a5cbcfea8db09398037a1d6abed82d8e8f/timerpy-1.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "62e4267e2e7b7497c5917e6a83763904", "sha256": "cf6514eee8425e76c1ed403ca5b79d0360363bbb4a1711211fb8cbafd17b3831" }, "downloads": -1, "filename": "timerpy-1.0.3.tar.gz", "has_sig": false, "md5_digest": "62e4267e2e7b7497c5917e6a83763904", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 1992, "upload_time": "2019-03-20T07:05:20", "url": "https://files.pythonhosted.org/packages/0d/ce/72c783f7fae881a481da0f2243a6e4a6eb9290c6fe66c4e1500507c3fe6a/timerpy-1.0.3.tar.gz" } ], "1.1.0": [ { "comment_text": "", "digests": { "md5": "9f7ac5add40dce611f42864b3a423ec2", "sha256": "83dd4459411b0dba4e1d77243a210dca615556740ee035754fae5f6c1ab96ea3" }, "downloads": -1, "filename": "timerpy-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9f7ac5add40dce611f42864b3a423ec2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3227, "upload_time": "2019-03-22T19:18:23", "url": "https://files.pythonhosted.org/packages/62/57/822af3f492752aeaa80994fecf7ce2e6a71c5156682c7dacbce9455f38bd/timerpy-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bef33fae906d4da0040122410b9e90b6", "sha256": "6db4c45d517e56eae1c56842dd7614e187bd6436c7ed31ed14e4bd3c9c0d567a" }, "downloads": -1, "filename": "timerpy-1.1.0.tar.gz", "has_sig": false, "md5_digest": "bef33fae906d4da0040122410b9e90b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2017, "upload_time": "2019-03-22T19:18:26", "url": "https://files.pythonhosted.org/packages/de/1e/282b27194b757b0ca91e0ddea3550beef8b617fafecb5451a44e55b21056/timerpy-1.1.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "9f7ac5add40dce611f42864b3a423ec2", "sha256": "83dd4459411b0dba4e1d77243a210dca615556740ee035754fae5f6c1ab96ea3" }, "downloads": -1, "filename": "timerpy-1.1.0-py3-none-any.whl", "has_sig": false, "md5_digest": "9f7ac5add40dce611f42864b3a423ec2", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 3227, "upload_time": "2019-03-22T19:18:23", "url": "https://files.pythonhosted.org/packages/62/57/822af3f492752aeaa80994fecf7ce2e6a71c5156682c7dacbce9455f38bd/timerpy-1.1.0-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "bef33fae906d4da0040122410b9e90b6", "sha256": "6db4c45d517e56eae1c56842dd7614e187bd6436c7ed31ed14e4bd3c9c0d567a" }, "downloads": -1, "filename": "timerpy-1.1.0.tar.gz", "has_sig": false, "md5_digest": "bef33fae906d4da0040122410b9e90b6", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2017, "upload_time": "2019-03-22T19:18:26", "url": "https://files.pythonhosted.org/packages/de/1e/282b27194b757b0ca91e0ddea3550beef8b617fafecb5451a44e55b21056/timerpy-1.1.0.tar.gz" } ] }