$npx skillfedfor your agent

monotonic

An implementation of time.monotonic() for Python 2 & < 3.3

SkipPyPI Python ModulesReleased Apr 202114.0M downloads / moApachePure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — monotonic-1.6-py2.py3-none-any.whl
v1.6 · released 2021-04-09

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.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • On unsupported platforms with no suitable clock implementation, importing the module will raise RuntimeError.
  • Low install friction with no runtime dependencies.
  • Repository is archived and unmaintained since 2021, but the package is marked Production/Stable and serves a narrow, stable purpose.

License · maintenance · safety

Apache (permissive) — Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without viral obligations.

last release 2021-04-09 (1953 days) · last repo commit 2021-04-09 · 65 stars · archived

0 known vulnerabilities (OSV.dev, 2026-08-14) · 14,028,069 downloads/mo, #1,252 on PyPI

Verify before relying

pip install monotonic

from monotonic import monotonic

start = monotonic()
# ... do work ...
elapsed = monotonic() - start
  • Whether this package remains necessary given Python 2 end-of-life and time.monotonic in Python 3.3+
  • Whether platform-specific implementations remain compatible with modern OS versions
Same gist for agents: .md · .json

What it is and what it does

monotonic is a thin compatibility shim that exposes a monotonic() function—a 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.

The 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.

Use it for

  • 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

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

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.

Install

monotonic on PyPI

Before you install

Low install friction with no runtime dependencies. Repository is archived and unmaintained since 2021, but the package is marked Production/Stable and serves a narrow, stable purpose.

On unsupported platforms with no suitable clock implementation, importing the module will raise RuntimeError.

License in practice

Licensed under Apache (permissive), so you can use it freely in commercial and open-source projects without viral obligations.

Quickstart

pip install monotonic

from monotonic import monotonic

start = monotonic()
# ... do work ...
elapsed = monotonic() - start

Verify before relying

  • Whether this package remains necessary given Python 2 end-of-life and time.monotonic in Python 3.3+
  • Whether platform-specific implementations remain compatible with modern OS versions

Package facts

LicenseApache permissive
Python supportNot specified
Install frictionLow. Pure-Python wheel
Runtime dependenciesNone
MaintenanceAbandoned 1,953 days since the last release
Last repo commit repository archived
First released
Downloads14,028,069 / month, #1,252 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Development Status :: 5 - Production/StableLicense :: OSI Approved :: Apache Software LicenseProgramming Language :: Python :: 2Programming Language :: Python :: 3Topic :: Software Development :: Libraries :: Python Modules

Evidence: monotonic-1.6-py2.py3-none-any.whl

Tags

Capabilities
monotonic clock timertime.monotonic fallbackelapsed time measurementmonotonic timer python 2clock that never goes backwardsplatform-specific monotonic time
Topics
legacy-python-2timing-compatibility

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “monotonic clock timer”

  • monotonicProvides a monotonic clock function that returns elapsed time in…
  • uuid-extensionGenerates UUID version 7 identifiers—time-ordered, RFC-compliant…
  • asynckivyAsyncKivy replaces Kivy's callback-based event handling with…

Give your agent the search over MCP, or paste the wish link into any chat.

More Python Modules packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
PyYAML Worth it
PyPI · Python Modules · released Sep 2025

PyYAML parses and emits YAML 1.1 data format, enabling serialization and deserialization of configuration files and Python objects to and from human-readable YAML text.

MITcompiled wheel · 3.8+
1.2Bdownloads / mo
pydantic Worth it
PyPI · Python Modules · released May 2026

Pydantic validates Python data structures against type hints, coercing and checking input at runtime to ensure it matches a declared schema.

MITpure Python · 3.9+
1.1Bdownloads / mo
annotated-types Worth it
PyPI · Python Modules · released Jul 2026

Provides reusable metadata objects for use with PEP-593 `typing.Annotated` to express common constraints like bounds, collection sizes, and predicates on types.

Install it if you use or build libraries that need to express type constraints in a standardized, inspectable way—or if you want to annotate your own types with…

MITpure Python · 3.10+
871.3Mdownloads / mo
typing-inspection Worth it
PyPI · Python Modules · released Aug 2026

Provides runtime tools to inspect and introspect Python type annotations, enabling programmatic examination of type hints at execution time.

MITpure Python · 3.10+
783.0Mdownloads / mo

See also stopwatch.py · codetiming · polling2 · python-timeout · nanotime · monotonic-alignment-search · aioretry · throttler · businesstimedelta · freezegun