📅 You're Invited: Meet the Socket team at RSAC (April 28 – May 1).RSVP
Socket
Sign inDemoInstall
Socket

gtfe

Package Overview
Dependencies
Maintainers
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gtfe

Get the number of seconds since the Unix epoch for a given datetime.

1.2.1
PyPI
Maintainers
1

.. image:: https://travis-ci.org/mverteuil/gtfe.svg?branch=master :target: https://travis-ci.org/mverteuil/gtfe

installation

pip install gtfe

usage

didactic example::

>>> import time, datetime, gtfe
>>> time.time(), gtfe.get_epoch_for_datetime(datetime.datetime.now())
(1434054301.937659, 1434054301.0)

testing

  • Clone the repository
  • python setup.py test

Keywords

epoch datetime time timezone

FAQs

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts