Package python3-module-about-time: Information

  • Default inline alert: Version in the repository: 4.2.1-alt2

Source package: python3-module-about-time
Version: 4.2.1-alt1
Latest version according to Repology
Build time:  Mar 6, 2024, 11:49 AM in the task #341614
Report package bug
License: MIT
Summary: A cool helper for tracking time and throughput of code blocks
Description: 
Did you ever need to measure the duration of an operation? Yeah, this is easy.
But how to:
- measure the duration of two or more blocks at the same time, including
    the whole duration?
- instrument a code to cleanly retrieve durations in one line, to log
    or send to time series databases?
- easily see human friendly durations in s (seconds), ms (milliseconds),
    ms (microseconds) and even ns (nanoseconds)?
- easily see human friendly counts with SI prefixes like k, M, G, T, etc?
- measure the actual throughput of a block? (this is way harder, since
    it needs to measure both duration and number of iterations)
- easily see human friendly throughputs in "/second", "/minute",
    "/hour" or even "/day", including SI prefixes?
Yes, it can get tricky!
If you'd tried to do it without these magic, it would probably get messy and
immensely pollute the code being instrumented.
I have the solution, behold!

List of rpms provided by this srpm:
python3-module-about-time (noarch)

Maintainer: Alexander Kuznetsov

List of contributors:
Alexander Kuznetsov

ACL:
Alexander Kuznetsov
@everybody

    1. python3-module-pyproject-installer >= 0.4.0
    2. python3-module-pytest
    3. python3-module-wheel
    4. rpm-build-python3

Last changed


Dec. 24, 2023 Alexander Kuznetsov 4.2.1-alt1
- Initial build.