{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/3"}],"enrichment":{"capability":"Provides a monotonic clock function that returns elapsed time in fractional seconds without going backwards, with platform-specific fallbacks for Python versions before 3.3.","skillfed_tags":["legacy-python-2","timing-compatibility"],"use_cases":["Measure elapsed time in Python 2 codebases where time.monotonic is unavailable","Benchmark or profile code sections with a clock immune to system clock adjustments","Implement timeouts or rate-limiting logic unaffected by system time changes","Support legacy Python 2 applications during transition periods"],"what_it_does":"monotonic is a thin compatibility shim that exposes a monotonic() function\u2014a clock that measures elapsed time without ever going backwards, even if the system clock is adjusted. On Python 3.3 and later, it simply aliases the standard library's time.monotonic. On older Python versions, it implements platform-specific fallbacks using clock_gettime on Linux, BSD, AIX, GetTickCount on Windows, and mach_absolute_time on OS X.\n\nThe package exists primarily to backport monotonic timing to Python 2 and early Python 3 codebases that need reliable elapsed-time measurement. It has no runtime dependencies and installs as a pure Python wheel. However, the repository has been archived since 2021 and receives no maintenance, making it relevant mainly for legacy systems that cannot upgrade to modern Python.","worth_installing":"No, unless you are maintaining legacy Python 2 code. The repository is archived and unmaintained since 2021. Install only if you are stuck supporting Python 2 or cannot upgrade to Python 3.3 or later, where time.monotonic is available in the standard library."},"id":"monotonic","links":{"html":"https://skillfed.io/packages/monotonic","md":"https://skillfed.io/packages/monotonic.md","pypi":"https://pypi.org/project/monotonic/"},"maintenance":{"status":"abandoned"},"meta":{"latest_release":"2021-04-09","license_spdx":null,"license_treatment":"permissive","name":"monotonic","python_support":"unspecified","summary":"An implementation of time.monotonic() for Python 2 & < 3.3"},"popularity":{"monthly_downloads":14028069,"position":1252,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"1.6"}
