A simple facade for NTP time synchronization.
Project description
NTP Facade SMR
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
91b115dd635845bc8bed7bf08c3664afb30969cb05fd09d992816ed25b128073
|
|
| MD5 |
49ab5465f660a141db10086a7d9889ae
|
|
| BLAKE2b-256 |
d1a720563a2cd4c95c20511ed3c25e43822935e77a9fdbeb1bd4fe63d6daa846
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ntp_facade_smr-1.0.0.tar.gz -
Subject digest:
91b115dd635845bc8bed7bf08c3664afb30969cb05fd09d992816ed25b128073 - Sigstore transparency entry: 601069543
- Sigstore integration time:
-
Permalink:
cylissama/ntp-facade-smr@89fdb004e4075da36993d8cd1bbc456138b7eaf5 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/cylissama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@89fdb004e4075da36993d8cd1bbc456138b7eaf5 -
Trigger Event:
release
-
Statement type:
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
ccd94b74c87a81a56f1835ab947e011a7f1489534aca90ad161715ec66425b3c
|
|
| MD5 |
7502698b2937c82988b73db7ffb09329
|
|
| BLAKE2b-256 |
3e373b08e9f16980141a87e80dbd2e1c9ceb9ceaade8a57782da74fc670d671b
|
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
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ntp_facade_smr-1.0.0-py3-none-any.whl -
Subject digest:
ccd94b74c87a81a56f1835ab947e011a7f1489534aca90ad161715ec66425b3c - Sigstore transparency entry: 601069545
- Sigstore integration time:
-
Permalink:
cylissama/ntp-facade-smr@89fdb004e4075da36993d8cd1bbc456138b7eaf5 -
Branch / Tag:
refs/tags/v1.0.0 - Owner: https://github.com/cylissama
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish-to-pypi.yml@89fdb004e4075da36993d8cd1bbc456138b7eaf5 -
Trigger Event:
release
-
Statement type: