{ "info": { "author": "Peilonrayz", "author_email": "peilonrayz@gmail.com", "bugtrack_url": null, "classifiers": [ "Development Status :: 3 - Alpha", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Operating System :: OS Independent", "Programming Language :: Python :: 3.7" ], "description": "# graphtimer\n\nThis library is based around generating nice graphs for timings.\nIt's highly modular and provides an interface to quickly and cleanly use modules. \n\nThe high-level interface is the `Plotter` class which takes a timer class as its only argument. The builtin timer is `MultiTimer`, where `TimerNamespace` builds it without you having to. \n\nFrom here you have three steps:\n\n1. Time the code by using the timer provided. Usual usage is `repeat`, as `timeit` only times the functions once and skips step 2.\n2. Perform the statistical analysis on the timings. Most of the time you'll want to use `min`, which gets the lowest value that isn't an outlier. And shows the error bars from the lowest outlier to Q3.\n3. Plot the data on the graph. This by default uses `matplotlib` via the `MatPlotLib` class.\n\n```python\nimport matplotlib.pyplot as plt\nfrom graphtimer import Plotter, TimerNamespace\n\n\nclass ManualListCreation(TimerNamespace):\n def test_comprehension(iterable):\n return [i for i in iterable]\n\n def test_append(iterable):\n a = []\n append = a.append\n for i in iterable:\n append(i)\n return a\n\n\nfig, axs = plt.subplots()\n(\n Plotter(ManualListCreation)\n .repeat(100, 5, list(range(0, 10001, 1000)), args_conv=range)\n .min()\n .plot(axs)\n)\nfig.show()\n```\n\n## Installation\n\nTo install graphtimer, just use pip:\n\n```\n$ pip install graphtimer\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/Peilonrayz/graphtimer", "keywords": "timer graph performance", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "graphtimer", "package_url": "https://pypi.org/project/graphtimer/", "platform": "", "project_url": "https://pypi.org/project/graphtimer/", "project_urls": { "Homepage": "https://github.com/Peilonrayz/graphtimer" }, "release_url": "https://pypi.org/project/graphtimer/0.0.4/", "requires_dist": [ "matplotlib ; extra == 'base'" ], "requires_python": "", "summary": "Time code execution and graph results", "version": "0.0.4" }, "last_serial": 5363463, "releases": { "0.0.1": [ { "comment_text": "", "digests": { "md5": "f39fa65255716224648fb8fc7efed9db", "sha256": "3a379538e6d30a43ef8a601b4b9f3e5c679d7e69fd3dbf8e8f569adb89eb788e" }, "downloads": -1, "filename": "graphtimer-0.0.1-py3-none-any.whl", "has_sig": false, "md5_digest": "f39fa65255716224648fb8fc7efed9db", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 6561, "upload_time": "2019-03-24T05:05:51", "url": "https://files.pythonhosted.org/packages/5a/13/8fb3d94b84b16ec7e4f6bcab90065a3ad8efbbd642f9b95e5c6fe2e88839/graphtimer-0.0.1-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "f006ba00646a37f5344ff153c2cf8828", "sha256": "92e4793d1fe203c65e68861650aae372da88d036e6f9de08b49ef7fc535cdae3" }, "downloads": -1, "filename": "graphtimer-0.0.1.tar.gz", "has_sig": false, "md5_digest": "f006ba00646a37f5344ff153c2cf8828", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5098, "upload_time": "2019-03-24T05:05:53", "url": "https://files.pythonhosted.org/packages/24/27/464ed6be2e54310cab8776c969bc21cfd44aa23611e98803aa3852ef71e3/graphtimer-0.0.1.tar.gz" } ], "0.0.2": [ { "comment_text": "", "digests": { "md5": "a22a097543829e4741ebcf8a0070f07a", "sha256": "6e1ed97306bb9cf32d90a1a1f5b5f03c6c54320dd77168537ffd8893cd938240" }, "downloads": -1, "filename": "graphtimer-0.0.2-py3-none-any.whl", "has_sig": false, "md5_digest": "a22a097543829e4741ebcf8a0070f07a", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7239, "upload_time": "2019-03-24T05:23:22", "url": "https://files.pythonhosted.org/packages/3c/60/d4fdc456f90f16bf8c2aa6224038b9a0b11c1d773b88c2ff93b68b5f9a38/graphtimer-0.0.2-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "c9585ddf4de6dfe85009575d5bbeaa40", "sha256": "51223de8fdbe3b73e55e43799b8c1c0fcc06fbcd1ad8c95fcb18288f92cfc98d" }, "downloads": -1, "filename": "graphtimer-0.0.2.tar.gz", "has_sig": false, "md5_digest": "c9585ddf4de6dfe85009575d5bbeaa40", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5338, "upload_time": "2019-03-24T05:23:23", "url": "https://files.pythonhosted.org/packages/f9/37/074a103f7079984298eabe0e03135ee354d2d9b72e98308e9b827198d7c5/graphtimer-0.0.2.tar.gz" } ], "0.0.3": [ { "comment_text": "", "digests": { "md5": "a0bd1fb23268ad8ae0db629142f61ca4", "sha256": "71d03b9cd8e605859e58acdb7590b104fadd9fbd6007293e5614e1c424d5ac9c" }, "downloads": -1, "filename": "graphtimer-0.0.3-py3-none-any.whl", "has_sig": false, "md5_digest": "a0bd1fb23268ad8ae0db629142f61ca4", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7268, "upload_time": "2019-03-24T05:26:09", "url": "https://files.pythonhosted.org/packages/d0/9e/633fbb58766a9d606f26083e2c0d4fd11aa483a44680079d01175e0214e0/graphtimer-0.0.3-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "4d18a02524f30eae024007d69f7215bb", "sha256": "04ee981128f6ba32fe043328431c44fa482bfb16265517722afb3be278e1f48c" }, "downloads": -1, "filename": "graphtimer-0.0.3.tar.gz", "has_sig": false, "md5_digest": "4d18a02524f30eae024007d69f7215bb", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5375, "upload_time": "2019-03-24T05:26:11", "url": "https://files.pythonhosted.org/packages/ae/e1/af88d21f334e71a16b2b9790a07a74c2a272e51bccb7fd14a4bcd1a56a71/graphtimer-0.0.3.tar.gz" } ], "0.0.4": [ { "comment_text": "", "digests": { "md5": "948ee6783911c6302e6d8d85413b9499", "sha256": "1c1cfe6b53e1d245f9e2ce170db771c50a186dfb5294e97087650b7dc998d437" }, "downloads": -1, "filename": "graphtimer-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "948ee6783911c6302e6d8d85413b9499", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7455, "upload_time": "2019-06-05T17:20:06", "url": "https://files.pythonhosted.org/packages/74/ea/114d791ed599de59935671a09177ff6b6daaad4c86906b8e28a8010b46d7/graphtimer-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d4504a5d7769a3e9959fcdb674a1238", "sha256": "1aa9d7c9f00c7043c3bdf78e24f21d591c66efa4f22d6768b8f52fe9a00afad3" }, "downloads": -1, "filename": "graphtimer-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8d4504a5d7769a3e9959fcdb674a1238", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5578, "upload_time": "2019-06-05T17:20:09", "url": "https://files.pythonhosted.org/packages/d0/ed/9f8a2b72aae9463830039d4dbe54e1fcdb391e284e53ece6b4d0877cb490/graphtimer-0.0.4.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "948ee6783911c6302e6d8d85413b9499", "sha256": "1c1cfe6b53e1d245f9e2ce170db771c50a186dfb5294e97087650b7dc998d437" }, "downloads": -1, "filename": "graphtimer-0.0.4-py3-none-any.whl", "has_sig": false, "md5_digest": "948ee6783911c6302e6d8d85413b9499", "packagetype": "bdist_wheel", "python_version": "py3", "requires_python": null, "size": 7455, "upload_time": "2019-06-05T17:20:06", "url": "https://files.pythonhosted.org/packages/74/ea/114d791ed599de59935671a09177ff6b6daaad4c86906b8e28a8010b46d7/graphtimer-0.0.4-py3-none-any.whl" }, { "comment_text": "", "digests": { "md5": "8d4504a5d7769a3e9959fcdb674a1238", "sha256": "1aa9d7c9f00c7043c3bdf78e24f21d591c66efa4f22d6768b8f52fe9a00afad3" }, "downloads": -1, "filename": "graphtimer-0.0.4.tar.gz", "has_sig": false, "md5_digest": "8d4504a5d7769a3e9959fcdb674a1238", "packagetype": "sdist", "python_version": "source", "requires_python": null, "size": 5578, "upload_time": "2019-06-05T17:20:09", "url": "https://files.pythonhosted.org/packages/d0/ed/9f8a2b72aae9463830039d4dbe54e1fcdb391e284e53ece6b4d0877cb490/graphtimer-0.0.4.tar.gz" } ] }