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 details)

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

Details for the file ntptimenow-0.4.tar.gz.

File metadata

  • Download URL: ntptimenow-0.4.tar.gz
  • Upload date:
  • Size: 1.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for ntptimenow-0.4.tar.gz
Algorithm Hash digest
SHA256 7218d9e6718e3a46dc78693409712a9686a303c5f31638d339b1a207d979db17
MD5 591bf4611c6a8ac6b474269a9a7a0768
BLAKE2b-256 5f3672a01e8ea0f72450d4de87750344a6589ad7244f930d0528d55198e84148

See more details on using hashes here.

File details

Details for the file ntptimenow-0.4-py3-none-any.whl.

File metadata

  • Download URL: ntptimenow-0.4-py3-none-any.whl
  • Upload date:
  • Size: 2.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3

File hashes

Hashes for ntptimenow-0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 720e000c5d7ec81556d9a3a82002f580d4952986ba839caa7f842b37c7d2a27a
MD5 ba4b5dc69b6f063a15612e44e86b05d1
BLAKE2b-256 f33e2da346fc32d0e64b742fd05d7c629bc8fce1b9512a2bc5baf72989b292a3

See more details on using hashes here.

Supported by

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