Skip to main content

Test leapseconddata PyPI Documentation Status

Python Leap Second List

Leap seconds are corrections applied irregularly so that the UTC day stays fixed to the earth's rotation.

This module provides a class for parsing and validating the standard leap-seconds.list file. Once parsed, it is possible to retrieve the full list of leap seconds, or find the TAI-UTC offset for any UTC time.

leapsecond program

Access leap second data from the command line.

Usage: leapsecond [OPTIONS] COMMAND [ARGS]...

  Access leap second database information

Options:
  --url TEXT            URL for leap second data (unspecified to use default
                        source)
  --debug / --no-debug
  --help                Show this message and exit.

Commands:
  convert              Convert timestamps between TAI and UTC
  info                 Show information about leap second database
  next-leapsecond      Get the next leap second after a given UTC timestamp
  offset               Get the UTC offset for a given moment, in seconds
  previous-leapsecond  Get the last leap second before a given UTC timestamp
  table                Print information about leap seconds

Metadata

Release files for leapseconddata 4.1.1

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

Source distribution (sdist)

Source distribution for leapseconddata 4.1.1
File Size Uploaded Provenance Actions
leapseconddata-4.1.1.tar.gz 35.2 kB Without provenance Details for leapseconddata-4.1.1.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for leapseconddata 4.1.1
File Interpreter ABI Platform Actions
leapseconddata-4.1.1-py3-none-any.whl Python 3 none any Details for leapseconddata-4.1.1-py3-none-any.whl

Total release size: 45.0 kB

Release files / leapseconddata-4.1.1.tar.gz

Download URL leapseconddata-4.1.1.tar.gz
Size 35.2 kB
Tags Source
SHA-256 checksum
How to use checksums
de37bb5cfa8aac9d368d80d0db5fb46b376e32005d8d294f4af810925cee0991
BLAKE2b-256 checksum
How to use checksums
d6a2e837961090fd574510113c127e8a24977fa46b4b46d824486067f381b43e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Release files / leapseconddata-4.1.1-py3-none-any.whl

Download URL leapseconddata-4.1.1-py3-none-any.whl
Size 9.9 kB
Tags Python 3
SHA-256 checksum
How to use checksums
df684bd6745cf09e81d85bc97400506186abf79acf03c5050d054b7e6d188bad
BLAKE2b-256 checksum
How to use checksums
25f97711054b7a0deb3f4f5c4c1f77282996706c941584f3293abe7f3dd916ac
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.1.0 CPython/3.13.3

Security for leapseconddata 4.1.1

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