PythonExtensionsCollection 0.15.1__py3-none-any.whl → 0.16.0__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.
@@ -1,6 +1,6 @@
1
1
  # **************************************************************************************************************
2
2
  #
3
- # Copyright 2020-2023 Robert Bosch GmbH
3
+ # Copyright 2020-2024 Robert Bosch GmbH
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
18
18
  #
19
19
  # CComparison.py
20
20
  #
21
- # XC-CT/ECA3-Queckenstedt
21
+ # XC-HWP/ESW3-Queckenstedt
22
22
  #
23
23
  # 03.04.2023
24
24
  #
@@ -1,4 +1,4 @@
1
- # Copyright 2020-2023 Robert Bosch GmbH
1
+ # Copyright 2020-2024 Robert Bosch GmbH
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # **************************************************************************************************************
2
2
  #
3
- # Copyright 2020-2023 Robert Bosch GmbH
3
+ # Copyright 2020-2024 Robert Bosch GmbH
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
18
18
  #
19
19
  # CFile.py
20
20
  #
21
- # XC-CT/ECA3-Queckenstedt
21
+ # XC-HWP/ESW3-Queckenstedt
22
22
  #
23
23
  # 15.11.2022
24
24
  #
@@ -1,4 +1,4 @@
1
- # Copyright 2020-2023 Robert Bosch GmbH
1
+ # Copyright 2020-2024 Robert Bosch GmbH
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # **************************************************************************************************************
2
2
  #
3
- # Copyright 2020-2023 Robert Bosch GmbH
3
+ # Copyright 2020-2024 Robert Bosch GmbH
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
18
18
  #
19
19
  # CFolder.py
20
20
  #
21
- # XC-CT/ECA3-Queckenstedt
21
+ # XC-HWP/ESW3-Queckenstedt
22
22
  #
23
23
  # 28.06.2022
24
24
  #
@@ -1,4 +1,4 @@
1
- # Copyright 2020-2023 Robert Bosch GmbH
1
+ # Copyright 2020-2024 Robert Bosch GmbH
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # **************************************************************************************************************
2
2
  #
3
- # Copyright 2020-2023 Robert Bosch GmbH
3
+ # Copyright 2020-2024 Robert Bosch GmbH
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -18,7 +18,7 @@
18
18
  #
19
19
  # CString.py
20
20
  #
21
- # XC-CT/ECA3-Queckenstedt
21
+ # XC-HWP/ESW3-Queckenstedt
22
22
  #
23
23
  # 19.10.2023
24
24
  #
@@ -1,4 +1,4 @@
1
- # Copyright 2020-2023 Robert Bosch GmbH
1
+ # Copyright 2020-2024 Robert Bosch GmbH
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # **************************************************************************************************************
2
2
  #
3
- # Copyright 2020-2023 Robert Bosch GmbH
3
+ # Copyright 2020-2025 Robert Bosch GmbH
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -18,9 +18,9 @@
18
18
  #
19
19
  # CUtils.py
20
20
  #
21
- # XC-CT/ECA3-Queckenstedt
21
+ # XC-HWP/ESW3-Queckenstedt
22
22
  #
23
- # 30.05.2023
23
+ # 29.01.2025
24
24
  #
25
25
  # **************************************************************************************************************
26
26
 
@@ -30,6 +30,8 @@ from dotdict import dotdict
30
30
 
31
31
  from PythonExtensionsCollection.String.CString import CString
32
32
  from PythonExtensionsCollection.File.CFile import CFile
33
+ from PythonExtensionsCollection.version import VERSION
34
+ from PythonExtensionsCollection.version import VERSION_DATE
33
35
 
34
36
 
35
37
  # **************************************************************************************************************
@@ -293,7 +295,8 @@ The method ``TypePrint`` computes details about the input variable ``oData``.
293
295
  del self.listGlobalPrefixes[-1] # remove prefix count
294
296
  del self.listGlobalPrefixes[-1] # remove prefix name
295
297
 
296
- elif ( (type(oData) is dotdict) or (str(type(oData)) == "<class 'robot.utils.dotdict.DotDict'>") ):
298
+ # previous version # elif ( (type(oData) is dotdict) or (".DotDict'>" in str(type(oData))) ):
299
+ elif ( (type(oData) is dotdict) or (str(type(oData)).upper().find("DOTDICT") != -1) ):
297
300
  nNrOfElements = len(oData)
298
301
  if nNrOfElements == 0:
299
302
  # -- indicate empty dot dictionary
@@ -330,7 +333,6 @@ The method ``TypePrint`` computes details about the input variable ``oData``.
330
333
 
331
334
  # eof class CTypePrint():
332
335
 
333
-
334
336
  # --------------------------------------------------------------------------------------------------------------
335
337
  # TM***
336
338
 
@@ -437,12 +439,26 @@ It is also possible to let the method dump the list to a text file.
437
439
 
438
440
  # eof def GetInstalledPackages(sOutputFile=None):
439
441
 
442
+ def GetComponentName():
443
+ """**Returns:**
444
+
445
+ * ``ComponentName``
446
+
447
+ / *Type*: str /
448
+
449
+ Full name of the component including the version and the version date.
450
+ """
451
+ return f"PythonExtensionsCollection v. {VERSION}, {VERSION_DATE}"
452
+
453
+ #eof def GetComponentName():
454
+
440
455
  # --------------------------------------------------------------------------------------------------------------
441
456
  #TM***
442
457
 
443
458
  # - make the methods static
444
459
 
445
460
  GetInstalledPackages = staticmethod(GetInstalledPackages)
461
+ GetComponentName = staticmethod(GetComponentName)
446
462
 
447
463
  # eof class CUtils(object):
448
464
 
@@ -1,4 +1,4 @@
1
- # Copyright 2020-2023 Robert Bosch GmbH
1
+ # Copyright 2020-2024 Robert Bosch GmbH
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,4 +1,4 @@
1
- # Copyright 2020-2023 Robert Bosch GmbH
1
+ # Copyright 2020-2024 Robert Bosch GmbH
2
2
  #
3
3
  # Licensed under the Apache License, Version 2.0 (the "License");
4
4
  # you may not use this file except in compliance with the License.
@@ -1,6 +1,6 @@
1
1
  # **************************************************************************************************************
2
2
  #
3
- # Copyright 2020-2023 Robert Bosch GmbH
3
+ # Copyright 2020-2024 Robert Bosch GmbH
4
4
  #
5
5
  # Licensed under the Apache License, Version 2.0 (the "License");
6
6
  # you may not use this file except in compliance with the License.
@@ -18,6 +18,6 @@
18
18
  #
19
19
  # Version and date of PythonExtensionsCollection
20
20
  #
21
- VERSION = "0.15.1"
22
- VERSION_DATE = "19.10.2023"
21
+ VERSION = "0.16.0"
22
+ VERSION_DATE = "29.01.2025"
23
23
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: PythonExtensionsCollection
3
- Version: 0.15.1
3
+ Version: 0.16.0
4
4
  Summary: Additional Python functions
5
5
  Home-page: https://github.com/test-fullautomation/python-extensions-collection
6
6
  Author: Holger Queckenstedt
@@ -18,21 +18,19 @@ Description-Content-Type: text/markdown
18
18
  License-File: LICENSE
19
19
  Requires-Dist: dotdict
20
20
 
21
- Package Description
22
- ===================
21
+ # Package Description
23
22
 
24
23
  The **PythonExtensionsCollection** extends the functionality of Python
25
24
  by some useful functions that are not available in Python immediately.
26
25
 
27
- How to install
28
- --------------
26
+ ## How to install
29
27
 
30
28
  The **PythonExtensionsCollection** can be installed in two different
31
29
  ways.
32
30
 
33
31
  1. Installation via PyPi (recommended for users)
34
32
 
35
- ``` {.}
33
+ ```
36
34
  pip install PythonExtensionsCollection
37
35
  ```
38
36
 
@@ -44,7 +42,7 @@ ways.
44
42
  - Clone the **python-extensions-collection** repository to your
45
43
  machine.
46
44
 
47
- ``` {.}
45
+ ```
48
46
  git clone https://github.com/test-fullautomation/python-extensions-collection.git
49
47
  ```
50
48
 
@@ -59,7 +57,7 @@ ways.
59
57
  related packages you can find in the file `requirements.txt` in
60
58
  the repository root folder. Use pip to install them:
61
59
 
62
- ``` {.}
60
+ ```
63
61
  pip install -r ./requirements.txt
64
62
  ```
65
63
 
@@ -78,7 +76,7 @@ ways.
78
76
  to find **LaTeX**. This is defined in the **GenPackageDoc**
79
77
  configuration file
80
78
 
81
- ``` {.}
79
+ ```
82
80
  packagedoc\packagedoc_config.json
83
81
  ```
84
82
 
@@ -91,19 +89,17 @@ ways.
91
89
  - Use the following command to install the
92
90
  **PythonExtensionsCollection**:
93
91
 
94
- ``` {.}
92
+ ```
95
93
  setup.py install
96
94
  ```
97
95
 
98
- Package Documentation
99
- ---------------------
96
+ ## Package Documentation
100
97
 
101
98
  A detailed documentation of the **PythonExtensionsCollection** can be
102
99
  found here:
103
100
  [PythonExtensionsCollection.pdf](https://github.com/test-fullautomation/python-extensions-collection/blob/develop/PythonExtensionsCollection/PythonExtensionsCollection.pdf)
104
101
 
105
- Feedback
106
- --------
102
+ ## Feedback
107
103
 
108
104
  To give us a feedback, you can send an email to [Thomas
109
105
  Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)
@@ -111,24 +107,21 @@ Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)
111
107
  In case you want to report a bug or request any interesting feature,
112
108
  please don\'t hesitate to raise a ticket.
113
109
 
114
- Maintainers
115
- -----------
110
+ ## Maintainers
116
111
 
117
112
  [Holger Queckenstedt](mailto:Holger.Queckenstedt@de.bosch.com)
118
113
 
119
114
  [Thomas Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)
120
115
 
121
- Contributors
122
- ------------
116
+ ## Contributors
123
117
 
124
118
  [Holger Queckenstedt](mailto:Holger.Queckenstedt@de.bosch.com)
125
119
 
126
120
  [Thomas Pollerspöck](mailto:Thomas.Pollerspoeck@de.bosch.com)
127
121
 
128
- License
129
- -------
122
+ ## License
130
123
 
131
- Copyright 2020-2023 Robert Bosch GmbH
124
+ Copyright 2020-2024 Robert Bosch GmbH
132
125
 
133
126
  Licensed under the Apache License, Version 2.0 (the \"License\"); you
134
127
  may not use this file except in compliance with the License. You may
@@ -0,0 +1,18 @@
1
+ PythonExtensionsCollection/PythonExtensionsCollection.pdf,sha256=cqXo9geIh3Zq28yep8xlqPVic26qdyCXpcz9kfrtA6Q,288293
2
+ PythonExtensionsCollection/__init__.py,sha256=a6qP310WpO1pwWYLuGFyhneeD55p6HV4VlQ7RdK4Brw,596
3
+ PythonExtensionsCollection/version.py,sha256=aJ-E9N0REHbut9QXDaG-kZKG45j8r4AtnJP96N38NxE,932
4
+ PythonExtensionsCollection/Comparison/CComparison.py,sha256=NKBdHlWwMGk52UwrCWIG-rRTYv6W7_Q_pPr9vyfHcMA,12553
5
+ PythonExtensionsCollection/Comparison/__init__.py,sha256=a6qP310WpO1pwWYLuGFyhneeD55p6HV4VlQ7RdK4Brw,596
6
+ PythonExtensionsCollection/File/CFile.py,sha256=ykQbZnmaKCXluQbm7T5sLODUFfVnBgB19LwgGp6iEP0,36383
7
+ PythonExtensionsCollection/File/__init__.py,sha256=a6qP310WpO1pwWYLuGFyhneeD55p6HV4VlQ7RdK4Brw,596
8
+ PythonExtensionsCollection/Folder/CFolder.py,sha256=0991d_OXQKG8FL0AGBrouApsgyLmithwaokhTKvQ6q0,15986
9
+ PythonExtensionsCollection/Folder/__init__.py,sha256=a6qP310WpO1pwWYLuGFyhneeD55p6HV4VlQ7RdK4Brw,596
10
+ PythonExtensionsCollection/String/CString.py,sha256=OyMtfYf89DyfPqzS_Y3Nw2lsMmzv324Pagx6SH6IhiI,38424
11
+ PythonExtensionsCollection/String/__init__.py,sha256=a6qP310WpO1pwWYLuGFyhneeD55p6HV4VlQ7RdK4Brw,596
12
+ PythonExtensionsCollection/Utils/CUtils.py,sha256=EhVrSMeBWSBuD6ewbuMVtU7CumHP4eyDoSukGw5PHUw,15976
13
+ PythonExtensionsCollection/Utils/__init__.py,sha256=a6qP310WpO1pwWYLuGFyhneeD55p6HV4VlQ7RdK4Brw,596
14
+ PythonExtensionsCollection-0.16.0.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
+ PythonExtensionsCollection-0.16.0.dist-info/METADATA,sha256=XqB5eKtNuNoT4K1cFjNpaKW0o83TKxQ4MUuXJ4vkupw,4549
16
+ PythonExtensionsCollection-0.16.0.dist-info/WHEEL,sha256=tZoeGjtWxWRfdplE7E3d45VPlLNQnvbKiYnx7gwAy8A,92
17
+ PythonExtensionsCollection-0.16.0.dist-info/top_level.txt,sha256=xv5w-C3GQkdbxctBNzEqPfWvpJ1kpAaHBe3TEdGcozQ,27
18
+ PythonExtensionsCollection-0.16.0.dist-info/RECORD,,
@@ -1,5 +1,5 @@
1
1
  Wheel-Version: 1.0
2
- Generator: bdist_wheel (0.42.0)
2
+ Generator: bdist_wheel (0.45.1)
3
3
  Root-Is-Purelib: true
4
4
  Tag: py3-none-any
5
5
 
@@ -1,18 +0,0 @@
1
- PythonExtensionsCollection/PythonExtensionsCollection.pdf,sha256=jX_yZLHxyixRqoUkmBAZilWhwc4aeGpJB8rSzOw-fJ8,286711
2
- PythonExtensionsCollection/__init__.py,sha256=YKDTJjDsnQkr5X-gjjO8opwKUVKm6kc8sIUpURYMk48,596
3
- PythonExtensionsCollection/version.py,sha256=mCVk09gvDXhYgM4Cn5luDuiWWMpD2aqVA7ZjYKdA7kk,932
4
- PythonExtensionsCollection/Comparison/CComparison.py,sha256=MfA1JX7DVUtPPyFNINGmcG5c_euB1foW5X1CSXGJwZM,12552
5
- PythonExtensionsCollection/Comparison/__init__.py,sha256=YKDTJjDsnQkr5X-gjjO8opwKUVKm6kc8sIUpURYMk48,596
6
- PythonExtensionsCollection/File/CFile.py,sha256=5idGq3H35azgmB-lFHNDFmdUKUzSln0J7narq7u6fJw,36382
7
- PythonExtensionsCollection/File/__init__.py,sha256=YKDTJjDsnQkr5X-gjjO8opwKUVKm6kc8sIUpURYMk48,596
8
- PythonExtensionsCollection/Folder/CFolder.py,sha256=3a-KXyUoeUwVtH4Bhb9EMP1r3btUI1cnbtQAd5bFNfQ,15985
9
- PythonExtensionsCollection/Folder/__init__.py,sha256=YKDTJjDsnQkr5X-gjjO8opwKUVKm6kc8sIUpURYMk48,596
10
- PythonExtensionsCollection/String/CString.py,sha256=oIb8MeZoEdF8KrDPNhnj0o3K4HR6lO9ZEN9gVv8FwzU,38423
11
- PythonExtensionsCollection/String/__init__.py,sha256=YKDTJjDsnQkr5X-gjjO8opwKUVKm6kc8sIUpURYMk48,596
12
- PythonExtensionsCollection/Utils/CUtils.py,sha256=l8u_MYKLAwFvA9jQnoKSiMwDJ2JeJAZj76MzmoT4bQ4,15438
13
- PythonExtensionsCollection/Utils/__init__.py,sha256=YKDTJjDsnQkr5X-gjjO8opwKUVKm6kc8sIUpURYMk48,596
14
- PythonExtensionsCollection-0.15.1.dist-info/LICENSE,sha256=xx0jnfkXJvxRnG63LTGOxlggYnIysveWIZ6H3PNdCrQ,11357
15
- PythonExtensionsCollection-0.15.1.dist-info/METADATA,sha256=22ftGaKHI_KoqZsB864pFyUuBTGim1w1g7sQZNnKnW8,4643
16
- PythonExtensionsCollection-0.15.1.dist-info/WHEEL,sha256=oiQVh_5PnQM0E3gPdiz09WCNmwiHDMaGer_elqB3coM,92
17
- PythonExtensionsCollection-0.15.1.dist-info/top_level.txt,sha256=xv5w-C3GQkdbxctBNzEqPfWvpJ1kpAaHBe3TEdGcozQ,27
18
- PythonExtensionsCollection-0.15.1.dist-info/RECORD,,