METADATA 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. Metadata-Version: 2.1
  2. Name: monotonic
  3. Version: 1.6
  4. Summary: An implementation of time.monotonic() for Python 2 & < 3.3
  5. Home-page: https://github.com/atdt/monotonic
  6. Author: Ori Livneh
  7. Author-email: ori@wikimedia.org
  8. License: Apache
  9. Platform: UNKNOWN
  10. Classifier: Development Status :: 5 - Production/Stable
  11. Classifier: License :: OSI Approved :: Apache Software License
  12. Classifier: Programming Language :: Python :: 2
  13. Classifier: Programming Language :: Python :: 3
  14. Classifier: Topic :: Software Development :: Libraries :: Python Modules
  15. monotonic
  16. ~~~~~~~~~
  17. This module provides a ``monotonic()`` function which returns the
  18. value (in fractional seconds) of a clock which never goes backwards.
  19. On Python 3.3 or newer, ``monotonic`` will be an alias of
  20. ``time.monotonic`` from the standard library. On older versions,
  21. it will fall back to an equivalent implementation:
  22. +------------------+----------------------------------------+
  23. | Linux, BSD, AIX | ``clock_gettime(3)`` |
  24. +------------------+----------------------------------------+
  25. | Windows | ``GetTickCount`` or ``GetTickCount64`` |
  26. +------------------+----------------------------------------+
  27. | OS X | ``mach_absolute_time`` |
  28. +------------------+----------------------------------------+
  29. If no suitable implementation exists for the current platform,
  30. attempting to import this module (or to import from it) will
  31. cause a ``RuntimeError`` exception to be raised.