plantstar-shared 2.0.3.0.2.32__tar.gz → 2.0.3.0.2.34__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 (28) hide show
  1. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/PKG-INFO +2 -2
  2. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/api_types.py +7 -0
  3. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/syscon_json.py +3 -3
  4. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared.egg-info/PKG-INFO +2 -2
  5. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared.egg-info/requires.txt +1 -1
  6. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/setup.py +2 -2
  7. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/README.md +0 -0
  8. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/DataCollectionModuleConstants.py +0 -0
  9. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/DataCollectionModuleProcessNames.py +0 -0
  10. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/HmiConstants.py +0 -0
  11. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/HuskyInterfacePacketTypes.py +0 -0
  12. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/MockRawDataProcessor.py +0 -0
  13. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/RawDataProcessorInterfaceActions.py +0 -0
  14. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/SysconType.py +0 -0
  15. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/__init__.py +0 -0
  16. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/add_size_onto_string_and_return.py +0 -0
  17. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/convert_bytes_to_object.py +0 -0
  18. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/convert_object_to_bytes.py +0 -0
  19. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/errors.py +0 -0
  20. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/global_definitions.py +0 -0
  21. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/is_valid_signed_string.py +0 -0
  22. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/obtain_raw_data_processor_function_for_action_name.py +0 -0
  23. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/syscon_image_field.py +0 -0
  24. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared/tcp_socket_utils.py +0 -0
  25. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared.egg-info/SOURCES.txt +0 -0
  26. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared.egg-info/dependency_links.txt +0 -0
  27. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/plantstar_shared.egg-info/top_level.txt +0 -0
  28. {plantstar_shared-2.0.3.0.2.32 → plantstar_shared-2.0.3.0.2.34}/setup.cfg +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plantstar-shared
3
- Version: 2.0.3.0.2.32
3
+ Version: 2.0.3.0.2.34
4
4
  Summary: Shared code used in plantstar_apu and plantstar_dcm
5
5
  Home-page: https://github.com/SYSCON-International/plantstar_shared
6
6
  Author: SYSCON International
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
11
11
  Description-Content-Type: text/markdown
12
12
  Requires-Dist: Django>=4.2.0
13
13
  Requires-Dist: msgpack>=1.0.4
14
- Requires-Dist: psycopg>=3.2.9
14
+ Requires-Dist: psycopg2>=2.9.9
15
15
  Requires-Dist: python-dateutil>=2.8.2
16
16
  Requires-Dist: pytz>=2023.4
17
17
  Requires-Dist: requests>=2.31.0
@@ -101,6 +101,11 @@ class ApuApiTypes(SysconType):
101
101
  REGISTER_HMI = ("data_collection_module_manager/register_hmi", "data_collection_module_manager/register_hmi", True)
102
102
  REGISTER_DCM = ("data_collection_module_manager/register_dcm", "data_collection_module_manager/register_dcm", True)
103
103
  SEND_TEAMS_MESSAGE = ("base_app/send_teams_message", "base_app/send_teams_message", True)
104
+ GET_USER_FINGERPRINTS = ("user_manager/get_user_fingerprints", "user_manager/get_user_fingerprints", True)
105
+ ADD_USER_FINGERPRINT = ("user_manager/add_user_fingerprint", "user_manager/add_user_fingerprint", True)
106
+ DELETE_USER_FINGERPRINT = ("user_manager/delete_user_fingerprint", "user_manager/delete_user_fingerprint", True)
107
+ RELABEL_USER_FINGERPRINT = ("user_manager/relabel_user_fingerprint", "user_manager/relabel_user_fingerprint", True)
108
+ IDENTIFY_USER_FINGERPRINT = ("user_manager/identify_user_fingerprint", "user_manager/identify_user_fingerprint", True)
104
109
 
105
110
 
106
111
  class CosmosApiTypes(SysconType):
@@ -108,6 +113,8 @@ class CosmosApiTypes(SysconType):
108
113
 
109
114
 
110
115
  class HmiApiTypes(SysconType):
116
+ IDENTIFY_FINGERPRINT = ("identify_fingerprint", "identify_fingerprint", True)
117
+ ADD_FINGERPRINT = ("add_fingerprint", "add_fingerprint", True)
111
118
  GET_HMI_SYSTEM_INFORMATION = ("get_hmi_system_information", "get_hmi_system_information", True)
112
119
  SET_HMI_SYSTEM_INFORMATION = ("set_hmi_system_information", "set_hmi_system_information", True)
113
120
  REBOOT_HMI = ("reboot_hmi", "reboot_hmi", True)
@@ -3,7 +3,7 @@ import datetime
3
3
  import uuid
4
4
  import pytz
5
5
  from dateutil.tz import tzutc
6
- from psycopg.types.range import TimestamptzRange
6
+ from psycopg2._range import DateTimeTZRange
7
7
 
8
8
  from plantstar_shared.syscon_image_field import SysconImageFieldFile
9
9
 
@@ -57,7 +57,7 @@ class SysconEncoder(json.JSONEncoder):
57
57
  }
58
58
  elif isinstance(obj, uuid.UUID):
59
59
  return str(obj)
60
- elif isinstance(obj, TimestamptzRange):
60
+ elif isinstance(obj, DateTimeTZRange):
61
61
  return {
62
62
  "__type__": "datetime_range",
63
63
  "lower": obj.lower,
@@ -108,7 +108,7 @@ class SysconDecoder(json.JSONDecoder):
108
108
  elif type_name == "uuid":
109
109
  return uuid.UUID(**dictionary)
110
110
  elif type_name == "datetime_range":
111
- return TimestamptzRange(**dictionary)
111
+ return DateTimeTZRange(**dictionary)
112
112
  else:
113
113
  dictionary["__type__"] = type_name
114
114
  return dictionary
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: plantstar-shared
3
- Version: 2.0.3.0.2.32
3
+ Version: 2.0.3.0.2.34
4
4
  Summary: Shared code used in plantstar_apu and plantstar_dcm
5
5
  Home-page: https://github.com/SYSCON-International/plantstar_shared
6
6
  Author: SYSCON International
@@ -11,7 +11,7 @@ Classifier: Operating System :: OS Independent
11
11
  Description-Content-Type: text/markdown
12
12
  Requires-Dist: Django>=4.2.0
13
13
  Requires-Dist: msgpack>=1.0.4
14
- Requires-Dist: psycopg>=3.2.9
14
+ Requires-Dist: psycopg2>=2.9.9
15
15
  Requires-Dist: python-dateutil>=2.8.2
16
16
  Requires-Dist: pytz>=2023.4
17
17
  Requires-Dist: requests>=2.31.0
@@ -1,6 +1,6 @@
1
1
  Django>=4.2.0
2
2
  msgpack>=1.0.4
3
- psycopg>=3.2.9
3
+ psycopg2>=2.9.9
4
4
  python-dateutil>=2.8.2
5
5
  pytz>=2023.4
6
6
  requests>=2.31.0
@@ -7,7 +7,7 @@ setuptools.setup(
7
7
  name="plantstar-shared",
8
8
  # MAJOR_MILESTONE_VERSION.MINOR_MILESTONE_VERSION.MAJOR_VERSION.MINOR_VERSION.HOTFIX_VERSION.SUBVERSION
9
9
  # The main version should stay as v2.0.3.0.x until we have passed that in the plantstar_apu/plantstar_dcm projects
10
- version="2.0.3.0.2.32",
10
+ version="2.0.3.0.2.34",
11
11
  author="SYSCON International",
12
12
  author_email="dev@syscon-intl.com",
13
13
  description="Shared code used in plantstar_apu and plantstar_dcm",
@@ -24,7 +24,7 @@ setuptools.setup(
24
24
  # Make sure to update the requirements.txt to match any changes made to this section
25
25
  "Django>=4.2.0",
26
26
  "msgpack>=1.0.4",
27
- "psycopg>=3.2.9",
27
+ "psycopg2>=2.9.9",
28
28
  "python-dateutil>=2.8.2",
29
29
  "pytz>=2023.4",
30
30
  "requests>=2.31.0",