No description
Find a file
Jeff Epler 82e164ce85 LeapSecondInfo: use dataclass instead of NamedTuple
The documentation workaround for the dataclass was worse than the
benefit from being able to tuple-unpack it.
2024-06-05 21:06:28 -05:00
.github/workflows bump some actions versions 2024-05-19 18:25:52 -04:00
_static Add sphinx / rtd documentation 2021-10-20 14:53:02 -05:00
leapseconddata LeapSecondInfo: use dataclass instead of NamedTuple 2024-06-05 21:06:28 -05:00
LICENSES package-ize 2021-10-18 10:22:33 -05:00
.coveragerc package-ize 2021-10-18 10:22:33 -05:00
.gitignore Add sphinx / rtd documentation 2021-10-20 14:53:02 -05:00
.pre-commit-config.yaml update pre-commit 2024-05-19 18:25:52 -04:00
.pylintrc remove option that disappeared from pylint (thanks guys) 2022-11-05 17:34:58 -05:00
codecov.yml package-ize 2021-10-18 10:22:33 -05:00
conf.py modernize the pre-commit 2022-10-09 12:24:57 -05:00
index.rst Drop codecov 2023-10-03 09:22:02 -05:00
Makefile Add sphinx / rtd documentation 2021-10-20 14:53:02 -05:00
pyproject.toml version numbers important 2021-10-18 10:45:38 -05:00
README.md Drop codecov 2023-10-03 09:22:02 -05:00
requirements-dev.txt Add sphinx / rtd documentation 2021-10-20 14:53:02 -05:00
setup.cfg remove python 3.8 mentions 2024-05-19 18:15:13 -04:00
testleapseconddata.py update pre-commit 2024-05-19 18:25:52 -04:00

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.