monotonic


Namemonotonic JSON
Version 1.6 PyPI version JSON
download
home_pagehttps://github.com/atdt/monotonic
SummaryAn implementation of time.monotonic() for Python 2 & < 3.3
upload_time2021-08-11 14:37:28
maintainer
docs_urlNone
authorOri Livneh
requires_python
licenseApache
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
monotonic
~~~~~~~~~

This module provides a ``monotonic()`` function which returns the
value (in fractional seconds) of a clock which never goes backwards.

On Python 3.3 or newer, ``monotonic`` will be an alias of
``time.monotonic`` from the standard library. On older versions,
it will fall back to an equivalent implementation:

+------------------+----------------------------------------+
| Linux, BSD, AIX  | ``clock_gettime(3)``                   |
+------------------+----------------------------------------+
| Windows          | ``GetTickCount`` or ``GetTickCount64`` |
+------------------+----------------------------------------+
| OS X             | ``mach_absolute_time``                 |
+------------------+----------------------------------------+

If no suitable implementation exists for the current platform,
attempting to import this module (or to import from it) will
cause a ``RuntimeError`` exception to be raised.




            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/atdt/monotonic",
    "name": "monotonic",
    "maintainer": "",
    "docs_url": null,
    "requires_python": "",
    "maintainer_email": "",
    "keywords": "",
    "author": "Ori Livneh",
    "author_email": "ori@wikimedia.org",
    "download_url": "https://files.pythonhosted.org/packages/ea/ca/8e91948b782ddfbd194f323e7e7d9ba12e5877addf04fb2bf8fca38e86ac/monotonic-1.6.tar.gz",
    "platform": "",
    "description": "\nmonotonic\n~~~~~~~~~\n\nThis module provides a ``monotonic()`` function which returns the\nvalue (in fractional seconds) of a clock which never goes backwards.\n\nOn Python 3.3 or newer, ``monotonic`` will be an alias of\n``time.monotonic`` from the standard library. On older versions,\nit will fall back to an equivalent implementation:\n\n+------------------+----------------------------------------+\n| Linux, BSD, AIX  | ``clock_gettime(3)``                   |\n+------------------+----------------------------------------+\n| Windows          | ``GetTickCount`` or ``GetTickCount64`` |\n+------------------+----------------------------------------+\n| OS X             | ``mach_absolute_time``                 |\n+------------------+----------------------------------------+\n\nIf no suitable implementation exists for the current platform,\nattempting to import this module (or to import from it) will\ncause a ``RuntimeError`` exception to be raised.\n\n\n\n",
    "bugtrack_url": null,
    "license": "Apache",
    "summary": "An implementation of time.monotonic() for Python 2 & < 3.3",
    "version": "1.6",
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "md5": "11c82f1c42fb9822db52fb4a7aa58c52",
                "sha256": "68687e19a14f11f26d140dd5c86f3dba4bf5df58003000ed467e0e2a69bca96c"
            },
            "downloads": -1,
            "filename": "monotonic-1.6-py2.py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "11c82f1c42fb9822db52fb4a7aa58c52",
            "packagetype": "bdist_wheel",
            "python_version": "py2.py3",
            "requires_python": null,
            "size": 8154,
            "upload_time": "2021-04-09T21:58:05",
            "upload_time_iso_8601": "2021-04-09T21:58:05.122606Z",
            "url": "https://files.pythonhosted.org/packages/9a/67/7e8406a29b6c45be7af7740456f7f37025f0506ae2e05fb9009a53946860/monotonic-1.6-py2.py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "md5": "9fbb889cdc67cb909046e8e366c9fea1",
                "sha256": "3a55207bcfed53ddd5c5bae174524062935efed17792e9de2ad0205ce9ad63f7"
            },
            "downloads": -1,
            "filename": "monotonic-1.6.tar.gz",
            "has_sig": false,
            "md5_digest": "9fbb889cdc67cb909046e8e366c9fea1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 7615,
            "upload_time": "2021-08-11T14:37:28",
            "upload_time_iso_8601": "2021-08-11T14:37:28.790436Z",
            "url": "https://files.pythonhosted.org/packages/ea/ca/8e91948b782ddfbd194f323e7e7d9ba12e5877addf04fb2bf8fca38e86ac/monotonic-1.6.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2021-08-11 14:37:28",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "github_user": "atdt",
    "github_project": "monotonic",
    "travis_ci": false,
    "coveralls": false,
    "github_actions": false,
    "lcname": "monotonic"
}
        
Elapsed time: 0.01596s