{ "info": { "author": "Wojtek Ruszczewski", "author_email": "python@wr.waw.pl", "bugtrack_url": null, "classifiers": [ "Development Status :: 4 - Beta", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Topic :: Utilities" ], "description": "=======\ncmtimer\n=======\n\nMeasures the execution time of a block of code. Uses perf_counter_ for the\nmeasurement. Behaves like a float (seconds) when printed or used within an\narithmetic context.\n\n.. _perf_counter: https://docs.python.org/3/library/time.html#time.perf_counter\n\nExample\n=======\n\n.. code:: python\n\n from cmtimer import Timer\n\n with Timer() as time:\n # Three hours too soon or a minute too late?\n\n print(f\"Time taken: {time:.2f} s\")\n\nInstallation\n============\n\n.. code:: bash\n\n pip3 install cmtimer", "description_content_type": null, "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "http://github.org/wrwrwr/cmtimer", "keywords": "", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "cmtimer", "package_url": "https://pypi.org/project/cmtimer/", "platform": "UNKNOWN", "project_url": "https://pypi.org/project/cmtimer/", "project_urls": { "Homepage": "http://github.org/wrwrwr/cmtimer" }, "release_url": "https://pypi.org/project/cmtimer/0.0.1/", "requires_dist": null, "requires_python": "", "summary": "A simple context manager timing utility.", "version": "0.0.1" }, "last_serial": 2220746, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "c2d5df605106d9167770363995938878", "sha256": "6418eee420996da94bad3c22a1fc117ffb29af80bcb0624b661b3a6860fa9807" }, "downloads": -1, "filename": "cmtimer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c2d5df605106d9167770363995938878", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2090, "upload_time": "2016-07-14T11:38:53", "url": "https://files.pythonhosted.org/packages/69/e5/e0b462becea28569145226c0856a9b6cf21f50f1ed0b39dd67ae8a0ca419/cmtimer-0.0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "c2d5df605106d9167770363995938878", "sha256": "6418eee420996da94bad3c22a1fc117ffb29af80bcb0624b661b3a6860fa9807" }, "downloads": -1, "filename": "cmtimer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "c2d5df605106d9167770363995938878", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2090, "upload_time": "2016-07-14T11:38:53", "url": "https://files.pythonhosted.org/packages/69/e5/e0b462becea28569145226c0856a9b6cf21f50f1ed0b39dd67ae8a0ca419/cmtimer-0.0.1.tar.gz" } ] }