frost-sta-client 1.1.44__tar.gz → 1.1.46__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.
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/PKG-INFO +21 -4
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/__version__.py +3 -3
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/location.py +1 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/sensorthingsservice.py +2 -1
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/PKG-INFO +22 -5
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/LICENSE +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/README.md +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/__init__.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/__init__.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/actuator.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/base.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/datastream.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/features_of_interest.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/historical_location.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/location.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/multi_datastream.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/observation.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/observedproperty.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/sensor.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/task.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/tasking_capability.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/thing.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/__init__.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/actuator.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/datastream.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/entity.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/__init__.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/data_array_document.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/data_array_value.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/entity_list.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/entity_type.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/unitofmeasurement.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/feature_of_interest.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/historical_location.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/multi_datastream.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/observation.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/observedproperty.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/sensor.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/task.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/tasking_capability.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/thing.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/query/__init__.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/query/query.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/__init__.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/auth_handler.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/utils.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/SOURCES.txt +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/dependency_links.txt +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/requires.txt +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/top_level.txt +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/setup.cfg +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/setup.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/tests/test_entity_formatter.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/tests/test_entity_reader.py +0 -0
- {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/tests/test_utils.py +0 -0
@@ -1,14 +1,31 @@
|
|
1
|
-
Metadata-Version: 2.
|
1
|
+
Metadata-Version: 2.4
|
2
2
|
Name: frost_sta_client
|
3
|
-
Version: 1.1.
|
3
|
+
Version: 1.1.46
|
4
4
|
Summary: a client library to facilitate interaction with a FROST SensorThingsAPI Server
|
5
5
|
Home-page: https://github.com/FraunhoferIOSB/FROST-Python-Client
|
6
|
-
Author:
|
7
|
-
Author-email:
|
6
|
+
Author: Fraunhofer IOSB
|
7
|
+
Author-email: maximilian.zenner@iosb.fraunhofer.de
|
8
8
|
License: LGPL3
|
9
9
|
Keywords: sta,ogc,frost,sensorthingsapi,IoT
|
10
10
|
Description-Content-Type: text/markdown
|
11
11
|
License-File: LICENSE
|
12
|
+
Requires-Dist: demjson3>=3.0.5
|
13
|
+
Requires-Dist: furl>=2.1.3
|
14
|
+
Requires-Dist: geojson>=2.5.0
|
15
|
+
Requires-Dist: jsonpickle>=2.0.0
|
16
|
+
Requires-Dist: requests>=2.26.0
|
17
|
+
Requires-Dist: jsonpatch
|
18
|
+
Requires-Dist: python-dateutil
|
19
|
+
Dynamic: author
|
20
|
+
Dynamic: author-email
|
21
|
+
Dynamic: description
|
22
|
+
Dynamic: description-content-type
|
23
|
+
Dynamic: home-page
|
24
|
+
Dynamic: keywords
|
25
|
+
Dynamic: license
|
26
|
+
Dynamic: license-file
|
27
|
+
Dynamic: requires-dist
|
28
|
+
Dynamic: summary
|
12
29
|
|
13
30
|
# Sensorthings API Python Client
|
14
31
|
|
@@ -1,8 +1,8 @@
|
|
1
1
|
__title__ = 'frost_sta_client'
|
2
|
-
__version__ = '1.1.
|
2
|
+
__version__ = '1.1.46'
|
3
3
|
__license__ = 'LGPL3'
|
4
|
-
__author__ = '
|
4
|
+
__author__ = 'Fraunhofer IOSB'
|
5
5
|
__copyright__ = 'Fraunhofer IOSB'
|
6
|
-
__contact__ = '
|
6
|
+
__contact__ = 'maximilian.zenner@iosb.fraunhofer.de'
|
7
7
|
__url__ = 'https://github.com/FraunhoferIOSB/FROST-Python-Client'
|
8
8
|
__description__ = 'a client library to facilitate interaction with a FROST SensorThingsAPI Server'
|
@@ -168,6 +168,7 @@ class Location(entity.Entity):
|
|
168
168
|
if isinstance(values, entity_list.EntityList) and \
|
169
169
|
all(isinstance(hl, historical_location.HistoricalLocation) for hl in values.entities):
|
170
170
|
self._historical_locations = values
|
171
|
+
return
|
171
172
|
raise ValueError('historical_location should be of type HistoricalLocation!')
|
172
173
|
|
173
174
|
def get_things(self):
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/sensorthingsservice.py
RENAMED
@@ -90,7 +90,8 @@ class SensorThingsService:
|
|
90
90
|
if parent is None:
|
91
91
|
return relation
|
92
92
|
this_entity_type = entity_type.get_list_for_class(type(parent))
|
93
|
-
|
93
|
+
_id = f"'{parent.id}'" if isinstance(parent.id, str) else parent.id
|
94
|
+
return "{entity_type}({id})/{relation}".format(entity_type=this_entity_type, id=_id, relation=relation)
|
94
95
|
|
95
96
|
def get_full_path(self, parent, relation):
|
96
97
|
slash = "" if self.url.pathstr[-1] == '/' else "/"
|
@@ -1,14 +1,31 @@
|
|
1
|
-
Metadata-Version: 2.
|
2
|
-
Name:
|
3
|
-
Version: 1.1.
|
1
|
+
Metadata-Version: 2.4
|
2
|
+
Name: frost_sta_client
|
3
|
+
Version: 1.1.46
|
4
4
|
Summary: a client library to facilitate interaction with a FROST SensorThingsAPI Server
|
5
5
|
Home-page: https://github.com/FraunhoferIOSB/FROST-Python-Client
|
6
|
-
Author:
|
7
|
-
Author-email:
|
6
|
+
Author: Fraunhofer IOSB
|
7
|
+
Author-email: maximilian.zenner@iosb.fraunhofer.de
|
8
8
|
License: LGPL3
|
9
9
|
Keywords: sta,ogc,frost,sensorthingsapi,IoT
|
10
10
|
Description-Content-Type: text/markdown
|
11
11
|
License-File: LICENSE
|
12
|
+
Requires-Dist: demjson3>=3.0.5
|
13
|
+
Requires-Dist: furl>=2.1.3
|
14
|
+
Requires-Dist: geojson>=2.5.0
|
15
|
+
Requires-Dist: jsonpickle>=2.0.0
|
16
|
+
Requires-Dist: requests>=2.26.0
|
17
|
+
Requires-Dist: jsonpatch
|
18
|
+
Requires-Dist: python-dateutil
|
19
|
+
Dynamic: author
|
20
|
+
Dynamic: author-email
|
21
|
+
Dynamic: description
|
22
|
+
Dynamic: description-content-type
|
23
|
+
Dynamic: home-page
|
24
|
+
Dynamic: keywords
|
25
|
+
Dynamic: license
|
26
|
+
Dynamic: license-file
|
27
|
+
Dynamic: requires-dist
|
28
|
+
Dynamic: summary
|
12
29
|
|
13
30
|
# Sensorthings API Python Client
|
14
31
|
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/features_of_interest.py
RENAMED
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/historical_location.py
RENAMED
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/multi_datastream.py
RENAMED
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/observedproperty.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/tasking_capability.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/data_array_value.py
RENAMED
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/entity_list.py
RENAMED
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/entity_type.py
RENAMED
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/unitofmeasurement.py
RENAMED
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/feature_of_interest.py
RENAMED
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/historical_location.py
RENAMED
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/multi_datastream.py
RENAMED
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/observedproperty.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/tasking_capability.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/auth_handler.py
RENAMED
File without changes
|
File without changes
|
File without changes
|
{frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/dependency_links.txt
RENAMED
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|