Skip to main content

KRISS-based NTP server analysis and recommendation library

Project description

kntp-lib

KRISS (Korea Research Institute of Standards and Science) 기준으로
NTP 서버의 정확도, 지연, 안정성을 분석하고 추천하는 Python 라이브러리입니다.

Features

  • NTP 4-timestamp 공식 기반 offset / delay 계산
  • 서버별 통계 분석 (평균, 표준편차)
  • KRISS 기준 상대 오프셋 비교
  • 점수 기반 랭킹 및 등급화 (A–D)
  • 자동 추천 서버 선택

Usage

import kntp_lib as kntp

stats = kntp.collect_stats(kntp.DEFAULT_SERVERS, samples=5)
ranked = kntp.rank_servers(stats, base=kntp.DEFAULT_BASE)

best = kntp.recommend(ranked)
print(best)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

kntp_lib-0.1.1.tar.gz (4.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

kntp_lib-0.1.1-py3-none-any.whl (5.0 kB view details)

Uploaded Python 3

File details

Details for the file kntp_lib-0.1.1.tar.gz.

File metadata

  • Download URL: kntp_lib-0.1.1.tar.gz
  • Upload date:
  • Size: 4.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for kntp_lib-0.1.1.tar.gz
Algorithm Hash digest
SHA256 ce4a9d1d1622b7de0c4039d0e2186de1cd72147fb45cbd7cb43ffbb4af663479
MD5 dcbf6f7c790c2f3e5dcbd6f5f0024a60
BLAKE2b-256 2e7ec13af3299c11c271da427c84b36463f924945070f0e94a5b139632cc61d9

See more details on using hashes here.

File details

Details for the file kntp_lib-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: kntp_lib-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 5.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.2.0 CPython/3.14.0

File hashes

Hashes for kntp_lib-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 dc56df64826143c3c11fff728450d143a837c1e2f3fc4f946d94a31bb6d3fd94
MD5 428ec84f3f7193cac9d3876919652ff9
BLAKE2b-256 faf8938d40674b6a9f08f9cc7842040e592ceb4e593338a03297d865da62ee95

See more details on using hashes here.

Supported by

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