- Initial packaging for PyPI
- Update URL for
tai-utc.dat
leap-seconds file.
- Exposing data file so that external clients can make use of it when requesting the leap second data.
- Fixed a bug where the data file wasn't loading when imported into other projects.
- Refactored how the local copy of the data file is loaded to be more package friendly
- Add a local copy of the
tia-utc.dat
file in case the URL options to retrieve it are not working.
- Remove
LEAP_SECONDS
variable from thegps
module. Previously, the variableLEAP_SECONDS
was initialized on import-time. This can cause problems for code that depends on this package if network accesss to all of the configured leap second data sources is unavailable.
- Explicitly catch socket timeout errors when requesting leap second
data. Sometimes we get a socket timeout error when attempting to fetch data
from one of the leap second sources. This should be raised as a URLError or a
TimeoutError but in practice we sometimes see
socket.timeout
errors.
- Streamline the CI build and release.
- Add a build target for Python 3.7
- Add additional sources for leap second data. When the primary source of leap second data is unavailable (we have experienced downtime multiple times), fallback on one of the official mirrors for this data.
- Round microseconds in gps_to_utc conversion.
- Fix microseconds bug. Microseconds >= 999500 were rounded to 1000 milliseconds.
- Build for Python 3.5 & 3.6
- Initial release as an independent package.