{ "info": { "author": "Bogdan Kulynych", "author_email": "hello@bogdankulynych.me", "bugtrack_url": null, "classifiers": [ "Development Status :: 5 - Production/Stable", "Intended Audience :: Developers", "License :: OSI Approved :: MIT License", "Natural Language :: English", "Operating System :: OS Independent", "Programming Language :: Python", "Programming Language :: Python :: 3", "Programming Language :: Python :: 3.4", "Programming Language :: Python :: 3.5", "Programming Language :: Python :: 3.6", "Programming Language :: Python :: Implementation :: CPython", "Topic :: Software Development :: Libraries :: Python Modules" ], "description": "********\nprofiled\n********\n\n.. image:: https://img.shields.io/pypi/v/profiled.svg\n :target: https://pypi.org/project/profiled\n :alt: PyPI version\n\n.. image:: https://travis-ci.org/bogdan-kulynych/profiled.svg?branch=master\n :target: https://travis-ci.org/bogdan-kulynych/profiled\n :alt: There's even a Travis badge!\n\n|\n\nA simple profiling decorator:\n\n.. code-block:: python\n\n In [1]: from profiled import profiled, Profiler\n\n In [2]: @profiled\n ...: def get_answer():\n ...: return 42\n ...: \n\n In [3]: profiler = Profiler()\n\n In [4]: with profiler.as_default():\n ...: for i in range(100000): get_answer()\n ...: \n\n In [5]: profiler.compute_stats()\n Out[5]: \n {'get_answer': {'avg': 2.2763967514038087e-07,\n 'max': 0.00016736984252929688,\n 'min': 0.0,\n 'num': 100000,\n 'std': 6.953436521202228e-07,\n 'tot': 0.022763967514038086}}\n\nThe decorator also works with class methods. That's about it. \n\nInstall with ``pip install profiled``.", "description_content_type": "", "docs_url": null, "download_url": "", "downloads": { "last_day": -1, "last_month": -1, "last_week": -1 }, "home_page": "https://github.com/bogdan-kulynych/profiled", "keywords": "utils", "license": "MIT", "maintainer": "", "maintainer_email": "", "name": "profiled", "package_url": "https://pypi.org/project/profiled/", "platform": "", "project_url": "https://pypi.org/project/profiled/", "project_urls": { "Homepage": "https://github.com/bogdan-kulynych/profiled" }, "release_url": "https://pypi.org/project/profiled/1.0.0/", "requires_dist": null, "requires_python": ">3.4.0", "summary": "Simple profiling decorator", "version": "1.0.0" }, "last_serial": 4900572, "releases": { "0.0.2": [ { "comment_text": "", "digests": { "md5": "28a32ac054ac5212dc503ad16f6cd6d6", "sha256": "c189850b522a9603ebdd71cec54329f1e7553d110abb038cdaea444636b1ce38" }, "downloads": -1, "filename": "profiled-0.0.2-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "28a32ac054ac5212dc503ad16f6cd6d6", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3060, "upload_time": "2018-04-20T23:34:55", "url": "https://files.pythonhosted.org/packages/dc/0c/dfa2e22800f8e5eeeec87a9e0c900f2e6f5513e9232def4bb45362bd88dc/profiled-0.0.2-py2.py3-none-any.whl" } ], "0.1.0": [ { "comment_text": "", "digests": { "md5": "0d84ece0748f9a0ea87f8c050bdc858a", "sha256": "acbe41420a749a869a91055691aad03eb43b02b5a22a49e5e98423f99c132419" }, "downloads": -1, "filename": "profiled-0.1.0-py2.py3-none-any.whl", "has_sig": false, "md5_digest": "0d84ece0748f9a0ea87f8c050bdc858a", "packagetype": "bdist_wheel", "python_version": "py2.py3", "requires_python": null, "size": 3078, "upload_time": "2018-04-24T19:59:24", "url": "https://files.pythonhosted.org/packages/21/f7/f88bb6111bde804455576d11c102700d55708934efd276d16c9b73b3db9b/profiled-0.1.0-py2.py3-none-any.whl" } ], "1.0.0": [ { "comment_text": "", "digests": { "md5": "0931527e6363794ba0c0a608e51e5f02", "sha256": "a87bd6f2c5982aa3c5d7c931bfef30fae835447a1047e5e293b0d7070d368700" }, "downloads": -1, "filename": "profiled-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0931527e6363794ba0c0a608e51e5f02", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.4.0", "size": 3121, "upload_time": "2019-03-05T16:24:17", "url": "https://files.pythonhosted.org/packages/1d/43/c6aeceb49a423b38821249b5468355c73aa03f9d33d532adee8e82eca991/profiled-1.0.0.tar.gz" } ] }, "urls": [ { "comment_text": "", "digests": { "md5": "0931527e6363794ba0c0a608e51e5f02", "sha256": "a87bd6f2c5982aa3c5d7c931bfef30fae835447a1047e5e293b0d7070d368700" }, "downloads": -1, "filename": "profiled-1.0.0.tar.gz", "has_sig": false, "md5_digest": "0931527e6363794ba0c0a608e51e5f02", "packagetype": "sdist", "python_version": "source", "requires_python": ">3.4.0", "size": 3121, "upload_time": "2019-03-05T16:24:17", "url": "https://files.pythonhosted.org/packages/1d/43/c6aeceb49a423b38821249b5468355c73aa03f9d33d532adee8e82eca991/profiled-1.0.0.tar.gz" } ] }