Skip to content

A Python module for retrieving a server's NTP pool score

License

Notifications You must be signed in to change notification settings

rmcintosh/ntp_pool_score

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

A Python module for retrieving a server's NTP pool score

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages