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.
Files changed (55) hide show
  1. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/PKG-INFO +21 -4
  2. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/__version__.py +3 -3
  3. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/location.py +1 -0
  4. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/sensorthingsservice.py +2 -1
  5. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/PKG-INFO +22 -5
  6. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/LICENSE +0 -0
  7. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/README.md +0 -0
  8. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/__init__.py +0 -0
  9. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/__init__.py +0 -0
  10. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/actuator.py +0 -0
  11. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/base.py +0 -0
  12. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/datastream.py +0 -0
  13. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/features_of_interest.py +0 -0
  14. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/historical_location.py +0 -0
  15. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/location.py +0 -0
  16. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/multi_datastream.py +0 -0
  17. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/observation.py +0 -0
  18. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/observedproperty.py +0 -0
  19. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/sensor.py +0 -0
  20. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/task.py +0 -0
  21. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/tasking_capability.py +0 -0
  22. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/dao/thing.py +0 -0
  23. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/__init__.py +0 -0
  24. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/actuator.py +0 -0
  25. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/datastream.py +0 -0
  26. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/entity.py +0 -0
  27. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/__init__.py +0 -0
  28. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/data_array_document.py +0 -0
  29. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/data_array_value.py +0 -0
  30. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/entity_list.py +0 -0
  31. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/entity_type.py +0 -0
  32. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/ext/unitofmeasurement.py +0 -0
  33. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/feature_of_interest.py +0 -0
  34. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/historical_location.py +0 -0
  35. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/multi_datastream.py +0 -0
  36. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/observation.py +0 -0
  37. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/observedproperty.py +0 -0
  38. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/sensor.py +0 -0
  39. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/task.py +0 -0
  40. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/tasking_capability.py +0 -0
  41. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/model/thing.py +0 -0
  42. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/query/__init__.py +0 -0
  43. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/query/query.py +0 -0
  44. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/__init__.py +0 -0
  45. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/service/auth_handler.py +0 -0
  46. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client/utils.py +0 -0
  47. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/SOURCES.txt +0 -0
  48. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/dependency_links.txt +0 -0
  49. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/requires.txt +0 -0
  50. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/frost_sta_client.egg-info/top_level.txt +0 -0
  51. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/setup.cfg +0 -0
  52. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/setup.py +0 -0
  53. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/tests/test_entity_formatter.py +0 -0
  54. {frost_sta_client-1.1.44 → frost_sta_client-1.1.46}/tests/test_entity_reader.py +0 -0
  55. {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
1
+ Metadata-Version: 2.4
2
2
  Name: frost_sta_client
3
- Version: 1.1.44
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: Jonathan Vogl
7
- Author-email: jonathan.vogl@iosb.fraunhofer.de
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.44'
2
+ __version__ = '1.1.46'
3
3
  __license__ = 'LGPL3'
4
- __author__ = 'Jonathan Vogl'
4
+ __author__ = 'Fraunhofer IOSB'
5
5
  __copyright__ = 'Fraunhofer IOSB'
6
- __contact__ = 'jonathan.vogl@iosb.fraunhofer.de'
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):
@@ -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
- return "{entity_type}({id})/{relation}".format(entity_type=this_entity_type, id=parent.id, relation=relation)
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.1
2
- Name: frost-sta-client
3
- Version: 1.1.44
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: Jonathan Vogl
7
- Author-email: jonathan.vogl@iosb.fraunhofer.de
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