Skip to main content

GPS-aware datetime module

Project description

GPS-aware datetime module

This package provides GPS time conversion utilities, including a gpstime subclass of the built-in datetime class with the addition of GPS time parsing and conversion methods.

Leap second data, necessary for GPS time conversion, is expected to be provided by the core libc Time Zone Database tzdata (on linux). If for some reason the tzdata leapsecond file is not available, a local cache of the IERS leap second record will be maintained:

https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list

The package can be executed as a command-line GPS conversion utility. In this manor it is a rough work-alike to the LIGO "tconvert" utility.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gpstime-0.8.1.tar.gz (22.7 kB view hashes)

Uploaded Source

Built Distribution

gpstime-0.8.1-py3-none-any.whl (23.6 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page