vessel-api-python 2.1.0__py3-none-any.whl → 2.1.1__py3-none-any.whl
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.
- vessel_api_python/_constants.py +1 -1
- vessel_api_python/_models.py +17 -6
- {vessel_api_python-2.1.0.dist-info → vessel_api_python-2.1.1.dist-info}/METADATA +1 -1
- {vessel_api_python-2.1.0.dist-info → vessel_api_python-2.1.1.dist-info}/RECORD +6 -6
- {vessel_api_python-2.1.0.dist-info → vessel_api_python-2.1.1.dist-info}/WHEEL +0 -0
- {vessel_api_python-2.1.0.dist-info → vessel_api_python-2.1.1.dist-info}/licenses/LICENSE +0 -0
vessel_api_python/_constants.py
CHANGED
vessel_api_python/_models.py
CHANGED
|
@@ -127,7 +127,11 @@ class VesselResponse(_Base):
|
|
|
127
127
|
|
|
128
128
|
|
|
129
129
|
class VesselPosition(_Base):
|
|
130
|
-
"""A real-time vessel position record from AIS data.
|
|
130
|
+
"""A real-time vessel position record from AIS data.
|
|
131
|
+
|
|
132
|
+
``suspected_glitch`` is true when the move from the previous clean report
|
|
133
|
+
implies a speed over 500 knots.
|
|
134
|
+
"""
|
|
131
135
|
|
|
132
136
|
cog: float | None = None
|
|
133
137
|
heading: int | None = None
|
|
@@ -145,7 +149,7 @@ class VesselPosition(_Base):
|
|
|
145
149
|
|
|
146
150
|
|
|
147
151
|
class PreviousPosition(_Base):
|
|
148
|
-
"""The vessel's newest position report before the
|
|
152
|
+
"""The vessel's newest position report before the returned one."""
|
|
149
153
|
|
|
150
154
|
latitude: float | None = None
|
|
151
155
|
longitude: float | None = None
|
|
@@ -153,9 +157,14 @@ class PreviousPosition(_Base):
|
|
|
153
157
|
|
|
154
158
|
|
|
155
159
|
class PositionCheck(_Base):
|
|
156
|
-
"""How the
|
|
157
|
-
|
|
158
|
-
|
|
160
|
+
"""How the returned position compares with the vessel's previous position report.
|
|
161
|
+
|
|
162
|
+
``lookback_hours`` is always present. ``identity_match`` is present only when a
|
|
163
|
+
vessel record exists and an identifier can be compared. It is true when the
|
|
164
|
+
returned position's identifiers match those in the record. The other fields
|
|
165
|
+
need a previous report within ``lookback_hours``. ``exceeds_typical_speed`` is
|
|
166
|
+
true when the implied speed exceeds the vessel's usual top speed (99th
|
|
167
|
+
percentile of its recent speeds).
|
|
159
168
|
"""
|
|
160
169
|
|
|
161
170
|
previous_position: PreviousPosition | None = None
|
|
@@ -171,7 +180,9 @@ class PositionCheck(_Base):
|
|
|
171
180
|
class VesselPositionResponse(_Base):
|
|
172
181
|
"""Response for a single vessel position lookup.
|
|
173
182
|
|
|
174
|
-
``vessel``
|
|
183
|
+
``vessel`` is ``None`` when no vessel record exists. ``vessel_eta`` is ``None``
|
|
184
|
+
when no destination or ETA is available, including when the lookup does not
|
|
185
|
+
finish in time.
|
|
175
186
|
"""
|
|
176
187
|
|
|
177
188
|
vessel_position: VesselPosition | None = Field(default=None, alias="vesselPosition")
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.5
|
|
2
2
|
Name: vessel-api-python
|
|
3
|
-
Version: 2.1.
|
|
3
|
+
Version: 2.1.1
|
|
4
4
|
Summary: Python client for the Vessel Tracking API: maritime vessel tracking, port events, emissions, and nautical infrastructure.
|
|
5
5
|
Project-URL: Documentation, https://vesselapi.com/docs
|
|
6
6
|
Project-URL: Repository, https://github.com/vessel-api/vesselapi-python
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
vessel_api_python/__init__.py,sha256=hUlZdyZGgArdYr8XJ30yQibkXXkQPqx3Y9zmVKvi6fc,3200
|
|
2
2
|
vessel_api_python/_client.py,sha256=L7qkzUiATDpPlxWViEKicNpNx7D90gCohas56uCimgA,4919
|
|
3
|
-
vessel_api_python/_constants.py,sha256=
|
|
3
|
+
vessel_api_python/_constants.py,sha256=uYgcJuAHCdK1VA7SCknrl41TrRblNCsyXkTOwIAu3fY,244
|
|
4
4
|
vessel_api_python/_errors.py,sha256=DaiyCjYKJZTo6-6sOqAcJBdOeFaIYgWHE48nsHWGeGA,6414
|
|
5
5
|
vessel_api_python/_iterator.py,sha256=SkgsGSdxLrKtw-ad8fSUPaEDDJCamAKK0PrG_P8HX-4,3198
|
|
6
|
-
vessel_api_python/_models.py,sha256=
|
|
6
|
+
vessel_api_python/_models.py,sha256=bvvd0yrK4Sa8rZ9ZTWRW2E9VedyInNDQm1NxdOCrbi0,21355
|
|
7
7
|
vessel_api_python/_services.py,sha256=UOGpajcZAYrt03DfkG86nIR8zyCGwokq_qB4ZYit7BY,109699
|
|
8
8
|
vessel_api_python/_transport.py,sha256=pfRaJwkq_GYpA5Ev8wH7tBdlzN2ykgy29Ag1L3F5K4Y,6956
|
|
9
9
|
vessel_api_python/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
|
10
|
-
vessel_api_python-2.1.
|
|
11
|
-
vessel_api_python-2.1.
|
|
12
|
-
vessel_api_python-2.1.
|
|
13
|
-
vessel_api_python-2.1.
|
|
10
|
+
vessel_api_python-2.1.1.dist-info/METADATA,sha256=-TbomFF0ihDCKicRL34-iCsPG9EUyuKuW6YX0G4cqp0,10153
|
|
11
|
+
vessel_api_python-2.1.1.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
|
|
12
|
+
vessel_api_python-2.1.1.dist-info/licenses/LICENSE,sha256=zoj_abq99mj8cz-Bz71XCnwB-Qv3kU1VzVXeKEntuQU,1067
|
|
13
|
+
vessel_api_python-2.1.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|