{ "info": { "author": "Karl Gyllstrom", "author_email": "karl.gyllstrom+code@gmail.com", "bugtrack_url": null, "classifiers": [], "description": "Python Timely\n=============\n\nStopwatch interface for Python. Currently supports two modes: timing execution (:class:`Stopwatch`), and pausing the completion of a block of code until a specified time has elapsed :class:`Blocker`.\n\nStopwatch usage\n---------------\n\n::\n\n with Stopwatch() as s:\n do_a()\n do_b()\n print s.duration() # time it took to execute do_a() and do_b()\n do_c()\n\n print s.duration() # time it took to execute do_a(), do_b(), and do_c()\n\n if s > 3: # comparators implicitly evaluate duration\n print 'took longer than 3 seconds'\n\nBlocker usage\n-------------\n\n::\n\n with Blocker(3) as w:\n print 'Happens immediately!'\n time.sleep(1.5) # executes immediately\n # ... we wait here until 3 seconds have passed\n\n print '3 seconds have passed!'", "description_content_type": null, "docs_url": null, "download_url": "UNKNOWN", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/gyllstromk/python-timely", "keywords": null, "license": "BSD", "maintainer": null, "maintainer_email": null, "name": "timely", "package_url": "https://pypi.org/project/timely/", "platform": "any", "project_url": "https://pypi.org/project/timely/", "project_urls": { "Download": "UNKNOWN", "Homepage": "https://github.com/gyllstromk/python-timely" }, "release_url": "https://pypi.org/project/timely/0.1/", "requires_dist": null, "requires_python": null, "summary": "timely :: easy stopwatch interface in Python", "version": "0.1" }, "last_serial": 800688, "releases": { "0.1": [ { "comment_text": "", "digests": { "md5": "e5f05e4780d32cf4bbd67c44b23dc627", "sha256": "606ace9b90e083068255e47c5dcc44aca909bbc66edc4f54b82b2ec6e4a416e9" }, "downloads": -1, "filename": "timely-0.1.tar.gz", "has_sig": false, "md5_digest": "e5f05e4780d32cf4bbd67c44b23dc627", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2387, "upload_time": "2012-06-10T17:13:44", "url": "https://files.pythonhosted.org/packages/31/d7/47966f01701db2bf38324bef3e7d9202a55ffa9b23113d99353bfecc69d3/timely-0.1.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "e5f05e4780d32cf4bbd67c44b23dc627", "sha256": "606ace9b90e083068255e47c5dcc44aca909bbc66edc4f54b82b2ec6e4a416e9" }, "downloads": -1, "filename": "timely-0.1.tar.gz", "has_sig": false, "md5_digest": "e5f05e4780d32cf4bbd67c44b23dc627", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 2387, "upload_time": "2012-06-10T17:13:44", "url": "https://files.pythonhosted.org/packages/31/d7/47966f01701db2bf38324bef3e7d9202a55ffa9b23113d99353bfecc69d3/timely-0.1.tar.gz" } ] }