gpstime 0.8.0__tar.gz → 0.8.2__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gpstime
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: GPS-aware datetime module
5
5
  Home-page: https://git.ligo.org/cds/gpstime
6
6
  Author: Jameson Graef Rollins
@@ -32,10 +32,9 @@ GPS time parsing and conversion methods.
32
32
  Leap second data, necessary for GPS time conversion, is expected to be
33
33
  provided by the core libc Time Zone Database tzdata (on linux). If
34
34
  for some reason the tzdata leapsecond file is not available, a local
35
- cache of the IETF leap second record will be maintained:
35
+ cache of the IERS leap second record will be maintained:
36
36
 
37
- https://www.ietf.org/timezones/data/leap-seconds.list
37
+ https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list
38
38
 
39
39
  The package can be executed as a command-line GPS conversion utility.
40
- that uses the gpstime module is also included. It is a rough
41
- work-alike to LIGO "tconvert" utility.
40
+ In this manor it is a rough work-alike to the LIGO "tconvert" utility.
@@ -8,10 +8,9 @@ GPS time parsing and conversion methods.
8
8
  Leap second data, necessary for GPS time conversion, is expected to be
9
9
  provided by the core libc Time Zone Database tzdata (on linux). If
10
10
  for some reason the tzdata leapsecond file is not available, a local
11
- cache of the IETF leap second record will be maintained:
11
+ cache of the IERS leap second record will be maintained:
12
12
 
13
- https://www.ietf.org/timezones/data/leap-seconds.list
13
+ https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list
14
14
 
15
15
  The package can be executed as a command-line GPS conversion utility.
16
- that uses the gpstime module is also included. It is a rough
17
- work-alike to LIGO "tconvert" utility.
16
+ In this manor it is a rough work-alike to the LIGO "tconvert" utility.
@@ -151,8 +151,7 @@ class gpstime(datetime):
151
151
  @classmethod
152
152
  def fromgps(cls, gps):
153
153
  """Return gpstime object corresponding to GPS time."""
154
- gt = cls.utcfromtimestamp(gps2unix(gps))
155
- return gt.replace(tzinfo=tzutc())
154
+ return cls.fromtimestamp(gps2unix(gps), tz=tzutc())
156
155
 
157
156
  @classmethod
158
157
  def parse(cls, string='now'):
@@ -12,5 +12,5 @@ __version__: str
12
12
  __version_tuple__: VERSION_TUPLE
13
13
  version_tuple: VERSION_TUPLE
14
14
 
15
- __version__ = version = '0.8.0'
16
- __version_tuple__ = version_tuple = (0, 8, 0)
15
+ __version__ = version = '0.8.2'
16
+ __version_tuple__ = version_tuple = (0, 8, 2)
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: gpstime
3
- Version: 0.8.0
3
+ Version: 0.8.2
4
4
  Summary: GPS-aware datetime module
5
5
  Home-page: https://git.ligo.org/cds/gpstime
6
6
  Author: Jameson Graef Rollins
@@ -32,10 +32,9 @@ GPS time parsing and conversion methods.
32
32
  Leap second data, necessary for GPS time conversion, is expected to be
33
33
  provided by the core libc Time Zone Database tzdata (on linux). If
34
34
  for some reason the tzdata leapsecond file is not available, a local
35
- cache of the IETF leap second record will be maintained:
35
+ cache of the IERS leap second record will be maintained:
36
36
 
37
- https://www.ietf.org/timezones/data/leap-seconds.list
37
+ https://hpiers.obspm.fr/iers/bul/bulc/ntp/leap-seconds.list
38
38
 
39
39
  The package can be executed as a command-line GPS conversion utility.
40
- that uses the gpstime module is also included. It is a rough
41
- work-alike to LIGO "tconvert" utility.
40
+ In this manor it is a rough work-alike to the LIGO "tconvert" utility.
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes