BSD Ports

net/py-ntplib 0.3.4_1 MidnightBSD

Python NTP library

System
MidnightBSD
Repository
mports
Maintainer
[email protected]
License
mit
Categories
net, python

Description

This module offers a simple interface to query NTP servers from Python.

It also provides utility functions to translate NTP fields values to text (mode, leap indicator...). Since it's pure Python, and only depends on core modules, it should work on any platform with a Python implementation.

In the other systems

SystemPortVersion
MidnightBSDnet/py-ntplib0.3.4_1
FreeBSDnet/py-ntplib0.3.4_1
DragonFlynet/py-ntplib0.3.4_1
HardenedBSDnet/py-ntplib0.3.4_1
GhostBSDnet/py-ntplib0.3.4_1

Install

Binary package:

mport install ${PYTHON_PKGNAMEPREFIX}ntplib

From mports:

cd /usr/mports/net/py-ntplib && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	${PYTHON_PKGNAMEPREFIX}ntplib>0:net/py-ntplib

Dependencies

No port depends on this one.

Configuration

No options to configure.

USES
python
Service scripts
none

Files

distinfo 1
FileSizeSHA256
ntplib-0.3.4.tar.gz56949fc99f71b14641b31698e4ced3d5f974eec225bfbae089ebe44b5808ba890f71
Master sites 1
  • PYPI