yasiu-time


Nameyasiu-time JSON
Version 0.0.2 PyPI version JSON
download
home_page
SummaryTime decorators. Console timers.
upload_time2023-01-14 15:14:54
maintainerGrzegorz Krug
docs_urlNone
authorGrzegorz Krug
requires_python>=3.7
licenseMIT
keywords time timeit measure time
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            # Readme of `yasiu.time`

Module with useful measure time decorators.

## Installation

```shell
pip install yasiu-time
```

## Time decorators

- **measure_perf_time_decorator**

  decorator that measures time using *time.perf_counter*


- **measure_real_time_decorator**

  decorator that measures time using *time.time*

### Import:

```py
from yasiu_time.time import measure_perf_time_decorator
```

### Print buffering will impact your performance!

- Use with cauction for multiple function calls

### Use examples

```py
@measure_perf_time_decorator()
def func():
    ...


@measure_perf_time_decorator(">4.1f")
def func():
    ...


@measure_perf_time_decorator(fmt=">4.1f")
def func():
    ...
```

## Console execution timer

not here yet.

# All packages

[1. Time Package](https://pypi.org/project/yasiu-time/)

[2. Math Package](https://pypi.org/project/yasiu-math/)

[3. Image Package](https://pypi.org/project/yasiu-image/)

[4. Pyplot visualisation Package](https://pypi.org/project/yasiu-vis/)


            

Raw data

            {
    "_id": null,
    "home_page": "",
    "name": "yasiu-time",
    "maintainer": "Grzegorz Krug",
    "docs_url": null,
    "requires_python": ">=3.7",
    "maintainer_email": "kruggrzegorz@gmail.com",
    "keywords": "time,timeit,measure time",
    "author": "Grzegorz Krug",
    "author_email": "kruggrzegorz@gmail.com",
    "download_url": "https://files.pythonhosted.org/packages/4a/08/77a9015998707ed309b3afdc414181a6db0546d6eeee432d18d238cc2909/yasiu-time-0.0.2.tar.gz",
    "platform": null,
    "description": "# Readme of `yasiu.time`\r\n\r\nModule with useful measure time decorators.\r\n\r\n## Installation\r\n\r\n```shell\r\npip install yasiu-time\r\n```\r\n\r\n## Time decorators\r\n\r\n- **measure_perf_time_decorator**\r\n\r\n  decorator that measures time using *time.perf_counter*\r\n\r\n\r\n- **measure_real_time_decorator**\r\n\r\n  decorator that measures time using *time.time*\r\n\r\n### Import:\r\n\r\n```py\r\nfrom yasiu_time.time import measure_perf_time_decorator\r\n```\r\n\r\n### Print buffering will impact your performance!\r\n\r\n- Use with cauction for multiple function calls\r\n\r\n### Use examples\r\n\r\n```py\r\n@measure_perf_time_decorator()\r\ndef func():\r\n    ...\r\n\r\n\r\n@measure_perf_time_decorator(\">4.1f\")\r\ndef func():\r\n    ...\r\n\r\n\r\n@measure_perf_time_decorator(fmt=\">4.1f\")\r\ndef func():\r\n    ...\r\n```\r\n\r\n## Console execution timer\r\n\r\nnot here yet.\r\n\r\n# All packages\r\n\r\n[1. Time Package](https://pypi.org/project/yasiu-time/)\r\n\r\n[2. Math Package](https://pypi.org/project/yasiu-math/)\r\n\r\n[3. Image Package](https://pypi.org/project/yasiu-image/)\r\n\r\n[4. Pyplot visualisation Package](https://pypi.org/project/yasiu-vis/)\r\n\r\n",
    "bugtrack_url": null,
    "license": "MIT",
    "summary": "Time decorators. Console timers.",
    "version": "0.0.2",
    "split_keywords": [
        "time",
        "timeit",
        "measure time"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "4a0877a9015998707ed309b3afdc414181a6db0546d6eeee432d18d238cc2909",
                "md5": "7a73824c71049f250cd0810cf9a9be8d",
                "sha256": "b7066521d8a689e9b18a6e059dce433f40faeb4392f6c4fdcbc2653505ae08e6"
            },
            "downloads": -1,
            "filename": "yasiu-time-0.0.2.tar.gz",
            "has_sig": false,
            "md5_digest": "7a73824c71049f250cd0810cf9a9be8d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.7",
            "size": 3244,
            "upload_time": "2023-01-14T15:14:54",
            "upload_time_iso_8601": "2023-01-14T15:14:54.402093Z",
            "url": "https://files.pythonhosted.org/packages/4a/08/77a9015998707ed309b3afdc414181a6db0546d6eeee432d18d238cc2909/yasiu-time-0.0.2.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-01-14 15:14:54",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "lcname": "yasiu-time"
}
        
Elapsed time: 0.53528s