Skip to main content
Join the official 2019 Python Developers SurveyStart the survey!

Extend datetime module so it can return the time fetched from a NTP poolserver

Project description

https://img.shields.io/pypi/v/ntpdatetime.svg https://img.shields.io/travis/igroen/ntpdatetime.svg Documentation Status https://coveralls.io/repos/igroen/ntpdatetime/badge.svg?branch=master&service=github

Extend datetime module so it can return the time fetched from an NTP server

Features

  • Get the current time fetched from an NTP poolserver

Credits

Tools used in rendering this package:

History

0.1.0 (2015-11-25)

  • First release on PyPI.

0.1.1 (2015-11-26)

  • ntp_now() Now returns a tuple containing the current datetime and a boolean value:

    True  # Time was fetched from an NTP server
    False  # Error occurred when connection to an NTP poolserver. System datetime is returned
    

0.1.2 (2015-11-27)

  • Patch for release on pypi. Old version (0.1.1) was removed and cannot be released again.

0.1.3 (2015-12-01)

  • Update unittests

0.1.4 (2015-12-01)

  • Mock all request
  • Update docstrings

0.1.5 (2015-12-02)

  • Add flake8 test to travis configuration
  • Update development settings in requirements_dev.txt

0.1.6 (2017-03-04)

  • Remove requirements_dev.txt

0.1.7 (2019-05-04)

  • Fixed typo in comment
  • Update travis build to use python3.7

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for ntpdatetime, version 0.1.7
Filename, size File type Python version Upload date Hashes
Filename, size ntpdatetime-0.1.7-py2.py3-none-any.whl (4.2 kB) File type Wheel Python version py2.py3 Upload date Hashes View hashes
Filename, size ntpdatetime-0.1.7.tar.gz (13.1 kB) File type Source Python version None Upload date Hashes View hashes

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page