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

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
leapseconddata-4.1.1.tar.gz 35.2 kB Details

Built distribution (wheel)

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

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

Release history Release notifications | RSS feed

This release

4.1.1 This release

2 release files

4.1.0

2 release files

4.0.0

2 release files

3.0.0

2 release files

2.2.0

2 release files

2.1.1

2 release files

2.0.0

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.0.0

2 release files

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