Skip to main content

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

Metadata

Release files for ntptimenow 0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ntptimenow 0.4
File Size Uploaded
ntptimenow-0.4.tar.gz 1.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for ntptimenow 0.4
File Interpreter ABI Platform
ntptimenow-0.4-py3-none-any.whl Python 3 none any Details

Total release size: 4.5 kB

Release files / ntptimenow-0.4.tar.gz

Download URL ntptimenow-0.4.tar.gz
Size 1.8 kB
Tags Source
SHA-256 checksum
How to use checksums
7218d9e6718e3a46dc78693409712a9686a303c5f31638d339b1a207d979db17
BLAKE2b-256 checksum
How to use checksums
5f3672a01e8ea0f72450d4de87750344a6589ad7244f930d0528d55198e84148
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / ntptimenow-0.4-py3-none-any.whl

Download URL ntptimenow-0.4-py3-none-any.whl
Size 2.7 kB
Tags Python 3
SHA-256 checksum
How to use checksums
720e000c5d7ec81556d9a3a82002f580d4952986ba839caa7f842b37c7d2a27a
BLAKE2b-256 checksum
How to use checksums
f33e2da346fc32d0e64b742fd05d7c629bc8fce1b9512a2bc5baf72989b292a3
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

0.4 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page