Metadata-Version: 2.1
Name: backports.datetime-timestamp
Version: 1.2
Summary: Backport of the timestamp method from Python 3.3
Home-page: https://github.com/jaraco/backports.datetime_timestamp
Author: Jason R. Coombs
Author-email: jaraco@jaraco.com
License: UNKNOWN
Platform: UNKNOWN
Classifier: Development Status :: 5 - Production/Stable
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 2.7
Classifier: Programming Language :: Python :: 3
Requires-Python: >=2.7
Provides-Extra: docs
Requires-Dist: sphinx ; extra == 'docs'
Requires-Dist: jaraco.packaging (>=3.2) ; extra == 'docs'
Requires-Dist: rst.linker (>=1.9) ; extra == 'docs'
Provides-Extra: testing
Requires-Dist: pytest (!=3.7.3,>=3.5) ; extra == 'testing'
Requires-Dist: pytest-checkdocs ; extra == 'testing'
Requires-Dist: pytest-flake8 ; extra == 'testing'

.. 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://img.shields.io/travis/jaraco/backports.datetime_timestamp/master.svg
   :target: http://travis-ci.org/jaraco/backports.datetime_timestamp

.. .. image:: https://img.shields.io/appveyor/ci/jaraco/backports.datetime_timestamp/master.svg
..    :target: https://ci.appveyor.com/project/jaraco/backports.datetime_timestamp/branch/master

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


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

    from backports.datetime_timestamp import timestamp
    import datetime

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


