backports.datetime-timestamp


Namebackports.datetime-timestamp JSON
Version 1.3.0 PyPI version JSON
download
home_pagehttps://github.com/jaraco/backports.datetime_timestamp
SummaryBackport of the timestamp method from Python 3.3
upload_time2023-06-24 00:33:13
maintainer
docs_urlNone
authorJason R. Coombs
requires_python>=3.8
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage
            .. image:: https://img.shields.io/pypi/v/backports.datetime_timestamp.svg
   :target: https://pypi.org/project/backports.datetime_timestamp

.. image:: https://img.shields.io/pypi/pyversions/backports.datetime_timestamp.svg

.. image:: https://github.com/jaraco/backports.datetime_timestamp/workflows/tests/badge.svg
   :target: https://github.com/jaraco/backports.datetime_timestamp/actions?query=workflow%3A%22tests%22
   :alt: tests

.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json
    :target: https://github.com/astral-sh/ruff
    :alt: Ruff

.. image:: https://img.shields.io/badge/code%20style-black-000000.svg
   :target: https://github.com/psf/black
   :alt: Code style: Black

.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest
..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest

.. image:: https://img.shields.io/badge/skeleton-2023-informational
   :target: https://blog.jaraco.com/skeleton

Backport of the `datetime.timestamp()
<http://docs.python.org/3.3/library/datetime.html#datetime.datetime.timestamp>`_ method added in Python 3.3.

Used as::

    from backports.datetime_timestamp import timestamp
    import datetime

    dt = datetime.datetime.utcnow()
    # instead of dt.timestamp(), use
    timestamp(dt)

            

Raw data

            {
    "_id": null,
    "home_page": "https://github.com/jaraco/backports.datetime_timestamp",
    "name": "backports.datetime-timestamp",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">=3.8",
    "maintainer_email": "",
    "keywords": "",
    "author": "Jason R. Coombs",
    "author_email": "jaraco@jaraco.com",
    "download_url": "https://files.pythonhosted.org/packages/e3/86/61be076fab1f3f15607e35232014dcd637a598cb51216dd145b8507938a8/backports.datetime_timestamp-1.3.0.tar.gz",
    "platform": null,
    "description": ".. image:: https://img.shields.io/pypi/v/backports.datetime_timestamp.svg\n   :target: https://pypi.org/project/backports.datetime_timestamp\n\n.. image:: https://img.shields.io/pypi/pyversions/backports.datetime_timestamp.svg\n\n.. image:: https://github.com/jaraco/backports.datetime_timestamp/workflows/tests/badge.svg\n   :target: https://github.com/jaraco/backports.datetime_timestamp/actions?query=workflow%3A%22tests%22\n   :alt: tests\n\n.. image:: https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/charliermarsh/ruff/main/assets/badge/v2.json\n    :target: https://github.com/astral-sh/ruff\n    :alt: Ruff\n\n.. image:: https://img.shields.io/badge/code%20style-black-000000.svg\n   :target: https://github.com/psf/black\n   :alt: Code style: Black\n\n.. .. image:: https://readthedocs.org/projects/PROJECT_RTD/badge/?version=latest\n..    :target: https://PROJECT_RTD.readthedocs.io/en/latest/?badge=latest\n\n.. image:: https://img.shields.io/badge/skeleton-2023-informational\n   :target: https://blog.jaraco.com/skeleton\n\nBackport of the `datetime.timestamp()\n<http://docs.python.org/3.3/library/datetime.html#datetime.datetime.timestamp>`_ method added in Python 3.3.\n\nUsed as::\n\n    from backports.datetime_timestamp import timestamp\n    import datetime\n\n    dt = datetime.datetime.utcnow()\n    # instead of dt.timestamp(), use\n    timestamp(dt)\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "Backport of the timestamp method from Python 3.3",
    "version": "1.3.0",
    "project_urls": {
        "Homepage": "https://github.com/jaraco/backports.datetime_timestamp"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "5427bfa5940dbf5fe939b8e1836ce04ac9cf81b800f2e9784b6d8bf0aa41a6fa",
                "md5": "4faec0226bf467fd072f9c6997248666",
                "sha256": "a1270a216ee96672d357b2353dde1e596735a1cb0cd759d2217fb3550a18bc92"
            },
            "downloads": -1,
            "filename": "backports.datetime_timestamp-1.3.0-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "4faec0226bf467fd072f9c6997248666",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": ">=3.8",
            "size": 3610,
            "upload_time": "2023-06-24T00:33:12",
            "upload_time_iso_8601": "2023-06-24T00:33:12.530432Z",
            "url": "https://files.pythonhosted.org/packages/54/27/bfa5940dbf5fe939b8e1836ce04ac9cf81b800f2e9784b6d8bf0aa41a6fa/backports.datetime_timestamp-1.3.0-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e38661be076fab1f3f15607e35232014dcd637a598cb51216dd145b8507938a8",
                "md5": "8f34508a52c4cacc6dafa3a577dd7b3d",
                "sha256": "97b14ddf15b9a47e9cae70b51e39b43da01d97f110e974583371d37a40967d6e"
            },
            "downloads": -1,
            "filename": "backports.datetime_timestamp-1.3.0.tar.gz",
            "has_sig": false,
            "md5_digest": "8f34508a52c4cacc6dafa3a577dd7b3d",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">=3.8",
            "size": 7318,
            "upload_time": "2023-06-24T00:33:13",
            "upload_time_iso_8601": "2023-06-24T00:33:13.868003Z",
            "url": "https://files.pythonhosted.org/packages/e3/86/61be076fab1f3f15607e35232014dcd637a598cb51216dd145b8507938a8/backports.datetime_timestamp-1.3.0.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-06-24 00:33:13",
    "github": true,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "github_user": "jaraco",
    "github_project": "backports.datetime_timestamp",
    "travis_ci": false,
    "coveralls": true,
    "github_actions": true,
    "tox": true,
    "lcname": "backports.datetime-timestamp"
}
        
Elapsed time: 0.10468s