Skip to main content

A simple facade for NTP time synchronization.

Project description

NTP Facade SMR

PyPI version

A simple Python library that provides a clean, user-friendly facade for synchronizing a client's clock with a specified NTP server.

This package is designed to make NTP time synchronization straightforward by abstracting away the low-level details of the protocol. It is ideal for applications on devices like IMUs, cameras, or any client that needs to ensure its data has an accurate timestamp.

Features

  • Simple Interface: Get synchronized time with a single method call.
  • Facade Design Pattern: Hides the complexity of NTP communication.
  • Custom Server Support: Easily point the client to your own NTP server (e.g., a local server on your network).
  • Error Handling: Raises clear exceptions on network failures or timeouts.

Installation

You can install the package from PyPI:

pip install ntp-facade-smr

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

ntp_facade_smr-1.0.0.tar.gz (3.0 kB view details)

Uploaded Source

Built Distribution

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

ntp_facade_smr-1.0.0-py3-none-any.whl (3.5 kB view details)

Uploaded Python 3

File details

Details for the file ntp_facade_smr-1.0.0.tar.gz.

File metadata

  • Download URL: ntp_facade_smr-1.0.0.tar.gz
  • Upload date:
  • Size: 3.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ntp_facade_smr-1.0.0.tar.gz
Algorithm Hash digest
SHA256 91b115dd635845bc8bed7bf08c3664afb30969cb05fd09d992816ed25b128073
MD5 49ab5465f660a141db10086a7d9889ae
BLAKE2b-256 d1a720563a2cd4c95c20511ed3c25e43822935e77a9fdbeb1bd4fe63d6daa846

See more details on using hashes here.

Provenance

The following attestation bundles were made for ntp_facade_smr-1.0.0.tar.gz:

Publisher: publish-to-pypi.yml on cylissama/ntp-facade-smr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ntp_facade_smr-1.0.0-py3-none-any.whl.

File metadata

  • Download URL: ntp_facade_smr-1.0.0-py3-none-any.whl
  • Upload date:
  • Size: 3.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for ntp_facade_smr-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ccd94b74c87a81a56f1835ab947e011a7f1489534aca90ad161715ec66425b3c
MD5 7502698b2937c82988b73db7ffb09329
BLAKE2b-256 3e373b08e9f16980141a87e80dbd2e1c9ceb9ceaade8a57782da74fc670d671b

See more details on using hashes here.

Provenance

The following attestation bundles were made for ntp_facade_smr-1.0.0-py3-none-any.whl:

Publisher: publish-to-pypi.yml on cylissama/ntp-facade-smr

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

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