Skip to main content

A module to convert a hex encoded tai64n string to a datetime.datetime object and to convert between TAI and UTC standard time.

TAI, TAI64, TAI64n

TAI stands for Temps Atomique International, the current international real-time standard. One TAI second is defined as the duration of 9192631770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium atom.

http://cr.yp.to/libtai/tai64.html#tai64n

Module Functions

decode_tai64n("400000004a3239350292c294")

converts a 16 or 24 bytes long hex TAI64(n) string to a datetime.datetime UTC object

utc2tai(datetime.datetime.now())

converts datetime.datetime UTC object to a datetime.datetime TAI object

Metadata

Release files for tai64n 0.3.3

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tai64n 0.3.3
File Size Uploaded Provenance Actions
tai64n-0.3.3.tar.gz 3.1 kB Without provenance Details for tai64n-0.3.3.tar.gz

Release files / tai64n-0.3.3.tar.gz

Download URL tai64n-0.3.3.tar.gz
Size 3.1 kB
Tags Source
SHA-256 checksum
How to use checksums
50c664334e605f6d68f923cc48d0132ccfb6dbc3f17386655e0d9300734342c3
BLAKE2b-256 checksum
How to use checksums
33b7c04dd92d69e22d4acb26baf2efce23717fb570d229c8a70563bb89aca463
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for tai64n 0.3.3

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page