Skip to main content

Python NTP Time Now

Project description

ntptimenow

Python NTP time now

Install

pip install ntptimenow

Used

from ntptimenow import NTPTimeNow

now = NTPTimeNow().ntp_update() # It's datetime.

API

NTPTimeNow(poolservers:str='time.kku.ac.th',version:int=3)
  • poolservers is NTP Server. (default is time.kku.ac.th)
  • version is version of NTP Server. (default is 3)
ntp_now()

return datetime.datetime

Project details


Release history Release notifications | RSS feed

This version

0.4

Download files

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

Source Distribution

ntptimenow-0.4.tar.gz (1.8 kB view hashes)

Uploaded Source

Built Distribution

ntptimenow-0.4-py3-none-any.whl (2.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page