elapsed-time


Nameelapsed-time JSON
Version 1.1 PyPI version JSON
download
home_pagehttps://github.com/Estebandotpy/elapsed_time
SummaryMeasure exec time of a Python function
upload_time2022-12-07 23:11:28
maintainer
docs_urlNone
authorEsteban Osorio
requires_python
licenseMIT
keywords testing example
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # elapsed_time

```Python

from elapsed_time import elapsed

@elapsed
def test():
    for _ in range(0,10000000):
        pass

test()

>>> Elapsed time: 0.16048717498779297

```

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/Estebandotpy/elapsed_time",
    "name": "elapsed-time",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "testing,example",
    "author": "Esteban Osorio",
    "author_email": "estebandmp17@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/c2/7c/4e9dd8c4760b0a560fbe0159f2f548ebba34680d070c7eb5a85d17c4785c/elapsed_time-1.1.tar.gz",
    "platform": null,
    "description": "# elapsed_time\r\n\r\n```Python\r\n\r\nfrom elapsed_time import elapsed\r\n\r\n@elapsed\r\ndef test():\r\n    for _ in range(0,10000000):\r\n        pass\r\n\r\ntest()\r\n\r\n>>> Elapsed time: 0.16048717498779297\r\n\r\n```\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Measure exec time of a Python function",
    "version": "1.1",
    "split_keywords": [
        "testing",
        "example"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "b494ef7c2cc4847497992acee08271f1",
                "sha256": "fc8273e83ac101c751b797b4b5bc63aa0c4413f385bf5b440967e62de54e8d0d"
            },
            "downloads": -1,
            "filename": "elapsed_time-1.1-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "b494ef7c2cc4847497992acee08271f1",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 2630,
            "upload_time": "2022-12-07T23:11:25",
            "upload_time_iso_8601": "2022-12-07T23:11:25.382948Z",
            "url": "https://files.pythonhosted.org/packages/fd/99/0c56575f812ff8a172bd57cd4d6c950877f353affb6948ff1ce872c3856c/elapsed_time-1.1-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "6e05c1063544214f65e2fe2b1b0aaa4a",
                "sha256": "6f7d06a1b0103849f5aee1ca8129efd3dd8607f0669d67ef7e1ff193bf118511"
            },
            "downloads": -1,
            "filename": "elapsed_time-1.1.tar.gz",
            "has_sig": false,
            "md5_digest": "6e05c1063544214f65e2fe2b1b0aaa4a",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 2207,
            "upload_time": "2022-12-07T23:11:28",
            "upload_time_iso_8601": "2022-12-07T23:11:28.312252Z",
            "url": "https://files.pythonhosted.org/packages/c2/7c/4e9dd8c4760b0a560fbe0159f2f548ebba34680d070c7eb5a85d17c4785c/elapsed_time-1.1.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2022-12-07 23:11:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "Estebandotpy",
    "github_project": "elapsed_time",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "elapsed-time"
}
        
Elapsed time: 0.24578s