Ten years down the line, let me add my two cents, using the astropy library.
is underrated. The users that keep the best time are astronomers. Similar to using high precision Julian Date. Most high precision time calculations should be based on astronomical time, see "Explanatory Supplement to the Astronomical Almanac"