Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 544 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 544 Bytes

ntp_pool_score

ntp_pool_score is an interface for retrieving a server's NTP pool score via ntppool.org. You can import it or call it directly on the command line. It requires a Python version of at least 3.8.0.

Examples

import ntp_pool_score

score = ntp_pool_score.get_server_ntp_pool_score("127.0.0.1")

print(score)
# 20
python -m ntp_pool_score 127.0.0.1
# 20

Installation

The easiest way to install ntp_pool_score is via pip.

pip install ntp_pool_score