Latest Blog Post

Query an NTP server from Python

I came across a need to query an NTP server to get the current time from a python script. There are some great python modules you can install which will take care of the heavy lifting (one great one is ntplib), but I wanted to be able to do these NTP queries without requiring the host to install 3rd party python packages. As it turns out, it wasn't too difficult after checking out a few... See all blog posts...