layrz-sdk 3.0.13__tar.gz → 3.1.0__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.

Potentially problematic release.


This version of layrz-sdk might be problematic. Click here for more details.

Files changed (145) hide show
  1. layrz_sdk-3.1.0/.github/workflows/checks.yml +50 -0
  2. layrz_sdk-3.1.0/.github/workflows/deploy.yml +37 -0
  3. layrz_sdk-3.1.0/.gitignore +17 -0
  4. layrz_sdk-3.1.0/.vscode/extensions.json +9 -0
  5. layrz_sdk-3.1.0/.vscode/settings.json +21 -0
  6. layrz_sdk-3.1.0/CHANGELOG.md +334 -0
  7. layrz_sdk-3.1.0/CODE_OF_CONDUCT.md +24 -0
  8. layrz_sdk-3.1.0/CONTRIBUTING.md +30 -0
  9. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/LICENSE +6 -6
  10. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/PKG-INFO +48 -45
  11. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/README.md +24 -24
  12. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/layrz_sdk/__init__.py +1 -1
  13. layrz_sdk-3.1.0/layrz_sdk/constants.py +5 -0
  14. layrz_sdk-3.1.0/layrz_sdk/entities/__init__.py +129 -0
  15. layrz_sdk-3.1.0/layrz_sdk/entities/asset.py +71 -0
  16. {layrz_sdk-3.0.13/layrz_sdk/entities/general → layrz_sdk-3.1.0/layrz_sdk/entities}/asset_operation_mode.py +31 -30
  17. layrz_sdk-3.1.0/layrz_sdk/entities/broadcast_request.py +12 -0
  18. layrz_sdk-3.1.0/layrz_sdk/entities/broadcast_response.py +12 -0
  19. layrz_sdk-3.1.0/layrz_sdk/entities/broadcast_result.py +20 -0
  20. layrz_sdk-3.0.13/layrz_sdk/entities/broadcasts/status.py → layrz_sdk-3.1.0/layrz_sdk/entities/broadcast_status.py +28 -27
  21. layrz_sdk-3.1.0/layrz_sdk/entities/case.py +47 -0
  22. layrz_sdk-3.1.0/layrz_sdk/entities/case_ignored_status.py +26 -0
  23. layrz_sdk-3.1.0/layrz_sdk/entities/case_status.py +23 -0
  24. layrz_sdk-3.1.0/layrz_sdk/entities/charts/axis_config.py +15 -0
  25. layrz_sdk-3.0.13/layrz_sdk/entities/charts/bar.py → layrz_sdk-3.1.0/layrz_sdk/entities/charts/bar_chart.py +171 -208
  26. layrz_sdk-3.1.0/layrz_sdk/entities/charts/chart_alignment.py +27 -0
  27. layrz_sdk-3.1.0/layrz_sdk/entities/charts/chart_color.py +44 -0
  28. layrz_sdk-3.1.0/layrz_sdk/entities/charts/chart_configuration.py +10 -0
  29. layrz_sdk-3.1.0/layrz_sdk/entities/charts/chart_data_serie.py +19 -0
  30. layrz_sdk-3.1.0/layrz_sdk/entities/charts/chart_data_serie_type.py +28 -0
  31. layrz_sdk-3.1.0/layrz_sdk/entities/charts/chart_data_type.py +27 -0
  32. layrz_sdk-3.0.13/layrz_sdk/entities/charts/render_technology.py → layrz_sdk-3.1.0/layrz_sdk/entities/charts/chart_render_technology.py +30 -29
  33. layrz_sdk-3.0.13/layrz_sdk/entities/charts/column.py → layrz_sdk-3.1.0/layrz_sdk/entities/charts/column_chart.py +197 -236
  34. layrz_sdk-3.1.0/layrz_sdk/entities/charts/html_chart.py +34 -0
  35. layrz_sdk-3.0.13/layrz_sdk/entities/charts/line.py → layrz_sdk-3.1.0/layrz_sdk/entities/charts/line_chart.py +244 -282
  36. layrz_sdk-3.1.0/layrz_sdk/entities/charts/map_center_type.py +22 -0
  37. layrz_sdk-3.1.0/layrz_sdk/entities/charts/map_chart.py +104 -0
  38. layrz_sdk-3.1.0/layrz_sdk/entities/charts/map_point.py +22 -0
  39. layrz_sdk-3.1.0/layrz_sdk/entities/charts/number_chart.py +50 -0
  40. layrz_sdk-3.0.13/layrz_sdk/entities/charts/pie.py → layrz_sdk-3.1.0/layrz_sdk/entities/charts/pie_chart.py +127 -148
  41. layrz_sdk-3.1.0/layrz_sdk/entities/charts/radar_chart.py +77 -0
  42. layrz_sdk-3.0.13/layrz_sdk/entities/charts/radial_bar.py → layrz_sdk-3.1.0/layrz_sdk/entities/charts/radial_bar_chart.py +127 -148
  43. layrz_sdk-3.0.13/layrz_sdk/entities/charts/scatter.py → layrz_sdk-3.1.0/layrz_sdk/entities/charts/scatter_chart.py +206 -290
  44. layrz_sdk-3.1.0/layrz_sdk/entities/charts/scatter_serie.py +15 -0
  45. layrz_sdk-3.1.0/layrz_sdk/entities/charts/scatter_serie_item.py +8 -0
  46. layrz_sdk-3.1.0/layrz_sdk/entities/charts/table_chart.py +50 -0
  47. layrz_sdk-3.1.0/layrz_sdk/entities/charts/table_header.py +8 -0
  48. layrz_sdk-3.1.0/layrz_sdk/entities/charts/table_row.py +9 -0
  49. layrz_sdk-3.1.0/layrz_sdk/entities/charts/timeline_chart.py +75 -0
  50. layrz_sdk-3.1.0/layrz_sdk/entities/charts/timeline_serie.py +12 -0
  51. layrz_sdk-3.1.0/layrz_sdk/entities/charts/timeline_serie_item.py +12 -0
  52. layrz_sdk-3.1.0/layrz_sdk/entities/checkpoint.py +18 -0
  53. layrz_sdk-3.1.0/layrz_sdk/entities/comment.py +16 -0
  54. layrz_sdk-3.1.0/layrz_sdk/entities/custom_field.py +10 -0
  55. layrz_sdk-3.1.0/layrz_sdk/entities/custom_report_page.py +16 -0
  56. layrz_sdk-3.1.0/layrz_sdk/entities/device.py +13 -0
  57. layrz_sdk-3.1.0/layrz_sdk/entities/event.py +23 -0
  58. layrz_sdk-3.1.0/layrz_sdk/entities/geofence.py +11 -0
  59. layrz_sdk-3.1.0/layrz_sdk/entities/last_message.py +12 -0
  60. layrz_sdk-3.1.0/layrz_sdk/entities/message.py +23 -0
  61. layrz_sdk-3.1.0/layrz_sdk/entities/outbound_service.py +10 -0
  62. layrz_sdk-3.1.0/layrz_sdk/entities/position.py +101 -0
  63. layrz_sdk-3.1.0/layrz_sdk/entities/presence_type.py +16 -0
  64. {layrz_sdk-3.0.13/layrz_sdk/entities/reports → layrz_sdk-3.1.0/layrz_sdk/entities}/report.py +257 -286
  65. layrz_sdk-3.1.0/layrz_sdk/entities/report_col.py +40 -0
  66. layrz_sdk-3.1.0/layrz_sdk/entities/report_configuration.py +8 -0
  67. layrz_sdk-3.1.0/layrz_sdk/entities/report_data_type.py +28 -0
  68. layrz_sdk-3.0.13/layrz_sdk/entities/reports/format.py → layrz_sdk-3.1.0/layrz_sdk/entities/report_format.py +27 -26
  69. layrz_sdk-3.1.0/layrz_sdk/entities/report_header.py +43 -0
  70. layrz_sdk-3.1.0/layrz_sdk/entities/report_page.py +17 -0
  71. layrz_sdk-3.1.0/layrz_sdk/entities/report_row.py +28 -0
  72. layrz_sdk-3.1.0/layrz_sdk/entities/sensor.py +11 -0
  73. layrz_sdk-3.0.13/layrz_sdk/entities/formatting/text_align.py → layrz_sdk-3.1.0/layrz_sdk/entities/text_alignment.py +26 -25
  74. layrz_sdk-3.1.0/layrz_sdk/entities/trigger.py +11 -0
  75. layrz_sdk-3.1.0/layrz_sdk/entities/user.py +10 -0
  76. layrz_sdk-3.1.0/layrz_sdk/entities/waypoint.py +18 -0
  77. layrz_sdk-3.1.0/layrz_sdk/helpers/__init__.py +8 -0
  78. layrz_sdk-3.1.0/layrz_sdk/helpers/color.py +41 -0
  79. layrz_sdk-3.1.0/layrz_sdk/lcl/__init__.py +7 -0
  80. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/layrz_sdk/lcl/core.py +832 -813
  81. layrz_sdk-3.1.0/layrz_sdk/py.typed +0 -0
  82. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/layrz_sdk.egg-info/PKG-INFO +48 -45
  83. layrz_sdk-3.1.0/layrz_sdk.egg-info/SOURCES.txt +89 -0
  84. layrz_sdk-3.1.0/layrz_sdk.egg-info/requires.txt +5 -0
  85. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/pyproject.toml +31 -11
  86. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/setup.cfg +4 -4
  87. layrz_sdk-3.1.0/tests/__init__.py +0 -0
  88. layrz_sdk-3.1.0/tests/test_lcl.py +951 -0
  89. layrz_sdk-3.1.0/uv.lock +830 -0
  90. layrz_sdk-3.0.13/layrz_sdk/entities/__init__.py +0 -73
  91. layrz_sdk-3.0.13/layrz_sdk/entities/broadcasts/__init__.py +0 -6
  92. layrz_sdk-3.0.13/layrz_sdk/entities/broadcasts/request.py +0 -30
  93. layrz_sdk-3.0.13/layrz_sdk/entities/broadcasts/response.py +0 -30
  94. layrz_sdk-3.0.13/layrz_sdk/entities/broadcasts/result.py +0 -53
  95. layrz_sdk-3.0.13/layrz_sdk/entities/broadcasts/service.py +0 -28
  96. layrz_sdk-3.0.13/layrz_sdk/entities/cases/__init__.py +0 -4
  97. layrz_sdk-3.0.13/layrz_sdk/entities/cases/case.py +0 -120
  98. layrz_sdk-3.0.13/layrz_sdk/entities/cases/comment.py +0 -37
  99. layrz_sdk-3.0.13/layrz_sdk/entities/cases/trigger.py +0 -31
  100. layrz_sdk-3.0.13/layrz_sdk/entities/charts/__init__.py +0 -21
  101. layrz_sdk-3.0.13/layrz_sdk/entities/charts/alignment.py +0 -26
  102. layrz_sdk-3.0.13/layrz_sdk/entities/charts/color.py +0 -38
  103. layrz_sdk-3.0.13/layrz_sdk/entities/charts/configuration.py +0 -54
  104. layrz_sdk-3.0.13/layrz_sdk/entities/charts/data_type.py +0 -26
  105. layrz_sdk-3.0.13/layrz_sdk/entities/charts/exceptions.py +0 -29
  106. layrz_sdk-3.0.13/layrz_sdk/entities/charts/html.py +0 -44
  107. layrz_sdk-3.0.13/layrz_sdk/entities/charts/map.py +0 -179
  108. layrz_sdk-3.0.13/layrz_sdk/entities/charts/number.py +0 -52
  109. layrz_sdk-3.0.13/layrz_sdk/entities/charts/radar.py +0 -102
  110. layrz_sdk-3.0.13/layrz_sdk/entities/charts/serie.py +0 -56
  111. layrz_sdk-3.0.13/layrz_sdk/entities/charts/serie_type.py +0 -27
  112. layrz_sdk-3.0.13/layrz_sdk/entities/charts/table.py +0 -74
  113. layrz_sdk-3.0.13/layrz_sdk/entities/charts/timeline.py +0 -148
  114. layrz_sdk-3.0.13/layrz_sdk/entities/checkpoints/__init__.py +0 -4
  115. layrz_sdk-3.0.13/layrz_sdk/entities/checkpoints/checkpoint.py +0 -50
  116. layrz_sdk-3.0.13/layrz_sdk/entities/checkpoints/waypoint.py +0 -52
  117. layrz_sdk-3.0.13/layrz_sdk/entities/events/__init__.py +0 -2
  118. layrz_sdk-3.0.13/layrz_sdk/entities/events/event.py +0 -58
  119. layrz_sdk-3.0.13/layrz_sdk/entities/formatting/__init__.py +0 -2
  120. layrz_sdk-3.0.13/layrz_sdk/entities/general/__init__.py +0 -9
  121. layrz_sdk-3.0.13/layrz_sdk/entities/general/asset.py +0 -72
  122. layrz_sdk-3.0.13/layrz_sdk/entities/general/custom_field.py +0 -29
  123. layrz_sdk-3.0.13/layrz_sdk/entities/general/device.py +0 -45
  124. layrz_sdk-3.0.13/layrz_sdk/entities/general/geofence.py +0 -53
  125. layrz_sdk-3.0.13/layrz_sdk/entities/general/sensor.py +0 -31
  126. layrz_sdk-3.0.13/layrz_sdk/entities/general/user.py +0 -29
  127. layrz_sdk-3.0.13/layrz_sdk/entities/repcom/__init__.py +0 -2
  128. layrz_sdk-3.0.13/layrz_sdk/entities/repcom/transaction.py +0 -54
  129. layrz_sdk-3.0.13/layrz_sdk/entities/reports/__init__.py +0 -7
  130. layrz_sdk-3.0.13/layrz_sdk/entities/reports/col.py +0 -86
  131. layrz_sdk-3.0.13/layrz_sdk/entities/reports/header.py +0 -57
  132. layrz_sdk-3.0.13/layrz_sdk/entities/reports/page.py +0 -64
  133. layrz_sdk-3.0.13/layrz_sdk/entities/reports/row.py +0 -43
  134. layrz_sdk-3.0.13/layrz_sdk/entities/telemetry/__init__.py +0 -5
  135. layrz_sdk-3.0.13/layrz_sdk/entities/telemetry/last_message.py +0 -41
  136. layrz_sdk-3.0.13/layrz_sdk/entities/telemetry/message.py +0 -37
  137. layrz_sdk-3.0.13/layrz_sdk/entities/telemetry/position.py +0 -51
  138. layrz_sdk-3.0.13/layrz_sdk/helpers/__init__.py +0 -2
  139. layrz_sdk-3.0.13/layrz_sdk/helpers/color.py +0 -45
  140. layrz_sdk-3.0.13/layrz_sdk/lcl/__init__.py +0 -2
  141. layrz_sdk-3.0.13/layrz_sdk.egg-info/SOURCES.txt +0 -74
  142. layrz_sdk-3.0.13/layrz_sdk.egg-info/requires.txt +0 -3
  143. layrz_sdk-3.0.13/tests/test_lcl.py +0 -911
  144. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/layrz_sdk.egg-info/dependency_links.txt +0 -0
  145. {layrz_sdk-3.0.13 → layrz_sdk-3.1.0}/layrz_sdk.egg-info/top_level.txt +0 -0
@@ -0,0 +1,50 @@
1
+ name: "Checks before merging"
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ - opened
7
+ - synchronize
8
+ - reopened
9
+ branches:
10
+ - '*'
11
+
12
+ jobs:
13
+ lint:
14
+ runs-on: ubuntu-latest
15
+ container:
16
+ image: ghcr.io/goldenm-software/python-builder:uv-3.13-x86
17
+ options: --user root
18
+ credentials:
19
+ username: ${{ github.repository_owner }}
20
+ password: ${{ secrets.GITHUB_TOKEN }}
21
+
22
+ steps:
23
+ - name: Checkout
24
+ uses: actions/checkout@v4
25
+
26
+ - name: Lint
27
+ run: |
28
+ uv sync --only-group dev
29
+ uv run ruff check
30
+ uv run mypy .
31
+
32
+ uniitest:
33
+ needs: lint
34
+ runs-on: ubuntu-latest
35
+ container:
36
+ image: ghcr.io/goldenm-software/python-builder:uv-3.13-x86
37
+ options: --user root
38
+ credentials:
39
+ username: ${{ github.repository_owner }}
40
+ password: ${{ secrets.GITHUB_TOKEN }}
41
+
42
+ steps:
43
+ - name: Checkout
44
+ uses: actions/checkout@v4
45
+
46
+ - name: Install dependencies
47
+ run: |
48
+ uv sync
49
+ uv run pytest ./tests/
50
+
@@ -0,0 +1,37 @@
1
+ name: "Deploy package"
2
+
3
+ on:
4
+ push:
5
+ branches: [ "main" ]
6
+
7
+ jobs:
8
+ build:
9
+ permissions:
10
+ id-token: write
11
+ contents: read
12
+ repository-projects: read
13
+ packages: read
14
+
15
+ runs-on: ubuntu-latest
16
+ container:
17
+ image: ghcr.io/goldenm-software/python-builder:uv-3.13-x86
18
+ options: --user root
19
+ credentials:
20
+ username: ${{ github.repository_owner }}
21
+ password: ${{ secrets.GITHUB_TOKEN }}
22
+
23
+ steps:
24
+ - name: Checkout
25
+ uses: actions/checkout@v4
26
+
27
+ - name: Build
28
+ run: |
29
+ uv venv --python 3.13
30
+ uv sync --only-group dev
31
+ uv run python -m build
32
+
33
+ - name: Upload to Python Package Index
34
+ uses: pypa/gh-action-pypi-publish@v1.8.10
35
+ with:
36
+ user: ${{ secrets.LAYRZ_PYPI_USERNAME }}
37
+ password: ${{ secrets.LAYRZ_PYPI_PASSWORD }}
@@ -0,0 +1,17 @@
1
+ /dist
2
+ /build
3
+ /*.egg-info
4
+ /.pypirc
5
+ /test.py
6
+ /**/*.pyc
7
+ /.venv
8
+ /site
9
+
10
+ /**/*/__pycache__
11
+
12
+ tests.py
13
+ *.xlsx
14
+
15
+ .ruff_cache
16
+ .mypy_cache
17
+ .pytest_cache
@@ -0,0 +1,9 @@
1
+ {
2
+ "recommendations": [
3
+ "ms-python.python",
4
+ "charliermarsh.ruff",
5
+ "ms-python.vscode-pylance",
6
+ "njpwerner.autodocstring",
7
+ "oderwat.indent-rainbow"
8
+ ]
9
+ }
@@ -0,0 +1,21 @@
1
+ {
2
+ "[python]": {
3
+ "editor.codeActionsOnSave": {
4
+ "source.organizeImports": "explicit",
5
+ "source.fixAll": "explicit"
6
+ },
7
+ "editor.rulers": [120],
8
+ "editor.formatOnSaveMode": "file",
9
+ "editor.formatOnSave": true,
10
+ "editor.defaultFormatter": "charliermarsh.ruff",
11
+ },
12
+
13
+ "editor.tabSize": 2,
14
+ "editor.insertSpaces": true,
15
+ "editor.detectIndentation": true,
16
+ "python.testing.pytestArgs": [
17
+ "tests"
18
+ ],
19
+ "python.testing.unittestEnabled": false,
20
+ "python.testing.pytestEnabled": true
21
+ }
@@ -0,0 +1,334 @@
1
+ # Changelog
2
+
3
+ ## 3.1.0
4
+
5
+ - Migrated all models to Pydantic
6
+ - Removed models `Transaction`.
7
+ - Added `mypy` to the project to enforce type checking
8
+ - Migrated from `uniitest` to `pytest` to the project to enforce unit testing
9
+
10
+ ## 3.0.14
11
+
12
+ - Fixes on `GET_CUSTOM_FIELD` LCL function, now accepts a default value as the second argument (Fallback as '')
13
+
14
+ ## 3.0.13
15
+
16
+ - Added `LastMessage` entity to be used in `Trigger`s
17
+
18
+ ## 3.0.12
19
+
20
+ - Moved `Geofence` model from `checkpoints` to `general`
21
+ - Added `PresenceType` enum to be used in `Event` model
22
+
23
+ ## 3.0.11
24
+
25
+ - Added way to standarize the `int` and `float` arguments to `float`. Allowing comparison between `int` and `float` values in LCL formulas
26
+
27
+ ## 3.0.10
28
+
29
+ - Removed Self type annotation from all classes
30
+
31
+ ## 3.0.9
32
+
33
+ - Added different return data of Report when password is set
34
+
35
+ ## 3.0.8
36
+
37
+ - New linter and formatter using ruff
38
+ - Added typings on all classes and functions available
39
+ - New Report export format PDF (Not implemented yet)
40
+ - Added new way to encrypt .xslx files directly using the `Report` class
41
+
42
+ ## 3.0.7
43
+
44
+ - Added the value of `AssetOperationMode.ZONE`
45
+ - Added a check for `Asset.operation_mode == ASSETMULTIPLE` while savind the list of child's
46
+ - Clarified the deprecation of `ReportRow.height`
47
+
48
+ ## 3.0.6
49
+
50
+ - Changed print in `LineChart` to a `log.warning` and `log.fatal` in case of error
51
+
52
+ ## 3.0.3
53
+
54
+ - Implemented new chart rendering library `syncfusion_flutter_charts` for Flutter.
55
+ - Changed rendering method for `LineChart`, now you should provide the `technology` to select the rendering library.
56
+
57
+ ## 3.0.2
58
+
59
+ - Fixed issue with `IF()` LCL function, now only validates the nullability of the first argument.
60
+ - Added new `VERSION()` LCL Function to get the current version of the package
61
+
62
+ ## 3.0.1
63
+
64
+ - Added None validation on every LCL function, when any of the arguments is None, the function will return None
65
+ - Added unit tests for all LCL functions
66
+
67
+ ## 3.0.0
68
+
69
+ - Removed shared namespace to improve compatibility with other packages
70
+
71
+ ## 2.2.4
72
+
73
+ - Defined new class `ReportConfiguration` to handle the configuration of the report in Python scripts
74
+
75
+ ## 2.2.3
76
+
77
+ - Property `text_color` deprectated in `ReportCol`, replaced by a luminance-based color using the background color
78
+ - Property `text_color` deprectated in `ReportHeader`, replaced by a luminance-based color using the background color
79
+ - Property `width` deprectated in `ReportHeader`, replaced by the function `autofit()` to automatically fit the header width
80
+ - New entity `CustomReportPage` that receives a custom builder function to build the page
81
+ - Property `export_format` deprecated in `Report`, replaced to an argument of the function `export()`
82
+
83
+ ## 2.2.2
84
+
85
+ - Updated `AssetOperationMode` to support `STATIC` and removal of `FAILOVER` mode
86
+
87
+ ## 2.2.1
88
+
89
+ - Bug fixes related to removing __ from all classes
90
+
91
+ ## 2.2.0
92
+
93
+ - Removed support to Python 3.12 due to a shared namespace issue.
94
+ - Reorganized classes to better support.
95
+ - Added typings to all classes and functions.
96
+
97
+ ## 2.1.5
98
+
99
+ - Added declarative typing on all LCL functions
100
+ - Added support for timezone in `UNIX_TO_STR` LCL function
101
+
102
+ ## 2.1.3
103
+
104
+ - Changed build mode to pyproject.toml
105
+ - Updated `LcLCore.perform()` function to receive additional globals and locals in their arguments
106
+
107
+ ## v2.1.2
108
+
109
+ - Add UNIX_TO_STR LCL function
110
+
111
+ ## v2.1.1
112
+
113
+ - Added `compact` in the json return format in reports
114
+
115
+ ## v2.1.0
116
+
117
+ - Add bold format option to Col class
118
+ - Add freeze header option to Page class
119
+
120
+ ## v2.0.1
121
+
122
+ - Fixes on package namespace
123
+
124
+ ## v2.0.0
125
+
126
+ - Deprecated `lcl.core` module
127
+ - Changed `layrzsdk` to `layrz.sdk` package (With unified Layrz namespace)
128
+
129
+ ## v1.4.5
130
+
131
+ - Added CaseIgnoredStatus to init file
132
+
133
+ ## v1.4.4
134
+
135
+ - Added CaseIgnoredStatus to Case entity
136
+
137
+ ## v1.4.3
138
+
139
+ - Added new ChartType: TableChart and NumberChart
140
+ - Starting to replace documentation format from unstructured to a structured format
141
+
142
+ ## v1.4.2
143
+
144
+ - Fix, added SUBSTRING LCL to global functions
145
+
146
+ ## v1.4.1
147
+
148
+ - Fixed LineChart xAxis Datetime conversion for CanvasJS, now will multiply the timestamp by 1000 to use milliseconds
149
+
150
+ ## v1.4.0
151
+
152
+ - Added support for Flutter `graphic` library
153
+ - LineChart
154
+ - AreaChart (Replaced previous AreaChart to a temporal extend of LineChart)
155
+ - BarChart
156
+ - ColumnChart
157
+ - PieChart
158
+ - MapChart
159
+ - ScatterChart
160
+ - RadialBarChart
161
+
162
+ - Future deprecations:
163
+ - HTMLChart
164
+ - TimelineChart
165
+ - RadarChart
166
+
167
+ ## v1.3.9
168
+
169
+ - Internal changes related to GitLab CI automation
170
+
171
+ ## v1.3.8
172
+
173
+ - Added SUBSTRING LCL function
174
+
175
+ ## v.1.3.7
176
+
177
+ - Added sequence in cases
178
+
179
+ ## v1.3.6
180
+
181
+ - Added new Map Chart
182
+ - Added required entity MapPoint
183
+ - Added required enum MapCenterType
184
+ - Added new HTML Chart
185
+
186
+ ## v1.3.5
187
+
188
+ - Bug fix related to formula perform, added PRIMARY_DEVICE to simulation environment
189
+
190
+ ## v1.3.4
191
+
192
+ - Added Transaction entity for REPCOM reports
193
+
194
+ ## v1.3.3
195
+
196
+ - Added PRIMARY_DEVICE() function to Layrz Compute Language
197
+
198
+ ## v1.3.2
199
+
200
+ - Updated styles of charts return object to ApexCharts or CanvasJS
201
+ - Replaced all .rst files to .md files
202
+
203
+ ## v1.3.1
204
+
205
+ - Removed markerSize (in CanvasJS) for dashed series
206
+
207
+ ## v1.3.0
208
+
209
+ - Added support for CanvasJS Javascript Library
210
+ - Deprecated to_apexcharts property in charts.
211
+ - New method render() in charts with support for multiple Javascript rendering library
212
+ - Added color helpers in layrzsdk.helpers
213
+
214
+ ## v1.2.6
215
+
216
+ - Removed dataLabels in almost all charts (Except Pie and RadialBar)
217
+
218
+ ## v1.2.5
219
+
220
+ - Optimizations for Javascript renderer
221
+
222
+ ## v1.2.4
223
+
224
+ - Added dashed attribute to ChartDataSerie
225
+ - Added the Possibility to mix charts, only available for:
226
+ - LineChart
227
+ - AreaChart
228
+ - ColumnChart
229
+ - ScatterChart (Only as serie, not as main chart)
230
+
231
+ ## v1.2.3
232
+
233
+ - Added new value in BroadcastStatus
234
+
235
+ ## v1.2.2
236
+
237
+ - Updated ReportCol entity to set new default values
238
+ - New entity ReportDataType
239
+ - Possibility to export directly to the Report class
240
+ - Re-organized entities/ folder
241
+ - Added Broadcasts entities
242
+
243
+ ## v1.2.1
244
+
245
+ - Added Report Col entity
246
+
247
+ ## v1.2.0
248
+
249
+ - Added reports entities
250
+
251
+ ## v1.1.4
252
+
253
+ - Bug fixes
254
+
255
+ ## v1.1.3
256
+
257
+ - Bug fixes
258
+
259
+ ## v1.1.2
260
+
261
+ - Bug fixes
262
+
263
+ ## v1.1.1
264
+
265
+ - Bug fixes
266
+
267
+ ## v1.1.0
268
+
269
+ - Reorganized files
270
+ - Added new Charts entities
271
+
272
+ ## v1.0.14
273
+
274
+ - Added CONTAINS, STARTS_WITH, ENDS_WITH functions to the Layrz Computed Language
275
+
276
+ ## v1.0.13
277
+
278
+ - Fixed missing import into `layrzsdk.entities.__init__.py`
279
+
280
+ ## v1.0.12
281
+
282
+ - Added Geofence, Comment, Waypoint and Checkpoint entities
283
+
284
+ ## v1.0.11
285
+
286
+ - Added User, Comment and Case entities
287
+
288
+ ## v1.0.10
289
+
290
+ - Fixes
291
+
292
+ ## v1.0.9
293
+
294
+ - Added Event and Trigger entities
295
+ - Renamed file `mesage.py` to `message.py`
296
+
297
+ ## v1.0.8
298
+
299
+ - Added title getter of all charts entities
300
+
301
+ ## v1.0.7
302
+
303
+ - Added PieChart, BarChart, and RadialBarChart entities
304
+
305
+ ## v1.0.6
306
+
307
+ - Fixed STING to STRING bug in ChartDataType enum
308
+
309
+ ## v1.0.5
310
+
311
+ - Bug fixes
312
+
313
+ ## v1.0.4
314
+
315
+ - Added data_type argument of ChartDataSerie
316
+
317
+ ## v1.0.3
318
+
319
+ - Added Chart configuration entity
320
+
321
+ ## v1.0.2
322
+
323
+ - Added entities for Range Charts:
324
+ - Line Charts
325
+ - Area Charts
326
+ - Column Charts
327
+
328
+ ## v1.0.1
329
+
330
+ - Added entities for Sensors and Triggers
331
+
332
+ ## v1.0.0
333
+
334
+ - Initial release
@@ -0,0 +1,24 @@
1
+ # Code of conduct
2
+
3
+ ## Be friendly and patient.
4
+ Our objective is contribute to community and help us together to create better code.
5
+
6
+ ## Be welcoming
7
+ We strive to be a community that welcomes and supports people of all backgrounds and identities. This includes, but is not limited to members of any race, ethnicity, culture, national origin, colour, immigration status, social and economic class, educational level, sex, sexual orientation, gender identity and expression, age, size, family status, political belief, religion, and mental and physical ability.
8
+
9
+ ## Be considerate
10
+ Your work will be used by other people, and you in turn will depend on the work of others. Any decision you take will affect users and colleagues, and you should take those consequences into account when making decisions. Remember that we're a world-wide community, so you might not be communicating in someone else's primary language.
11
+
12
+ ## Be respectful
13
+ Not all of us will agree all the time, but disagreement is no excuse for poor behavior and poor manners. We might all experience some frustration now and then, but we cannot allow that frustration to turn into a personal attack. It’s important to remember that a community where people feel uncomfortable or threatened is not a productive one.
14
+
15
+ ## Be careful in the words that you choose
16
+ We are a community of professionals, and we conduct ourselves professionally. Be kind to others. Do not insult or put down other participants. Harassment and other exclusionary behavior aren't acceptable. This includes, but is not limited to:
17
+ * Violent threats or language directed against another person.
18
+ * Discriminatory jokes and language.
19
+ * Posting sexually explicit or violent material.
20
+ * Posting (or threatening to post) other people's personally identifying information ("doxing").
21
+ * Personal insults, especially those using racist or sexist terms.
22
+ * Unwelcome sexual attention.
23
+ * Advocating for, or encouraging, any of the above behavior.
24
+ * Repeated harassment of others. In general, if someone asks you to stop, then stop.
@@ -0,0 +1,30 @@
1
+ # Contributing
2
+
3
+ As an open source project, we welcomes contributions of many forms.
4
+
5
+ ## To request a Merge Request
6
+
7
+ Please follow the next structure of your request:
8
+
9
+ ### Title
10
+
11
+ A short description of your feature/fix
12
+
13
+ Also, add this prefix in the title according to the scenario:
14
+
15
+ | Prefix/Tag | Meaning |
16
+ |-|-|
17
+ | `feature/` | New feature, like new methods, classes, etc. |
18
+ | `fix/` | Bug fix or documentation related fix |
19
+ | `docs/` | Documentation related changes |
20
+
21
+ ### Description
22
+
23
+ Explain your feature/fix request and why we should be approve.
24
+
25
+ Be explicit and precise with your submission, that helps us to review and approve your request.
26
+
27
+ ## Code of Conduct
28
+
29
+ As a contributor, you can help us keep the Layrz community open and inclusive.
30
+ Please read and follow our code of conduct in `CODE_OF_CONDUCT.md`.
@@ -1,7 +1,7 @@
1
- Copyright 2020-2024 Layrz Limited
2
-
3
- Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
-
5
- The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
-
1
+ Copyright 2020-2024 Layrz Limited
2
+
3
+ Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4
+
5
+ The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
6
+
7
7
  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
@@ -1,45 +1,48 @@
1
- Metadata-Version: 2.1
2
- Name: layrz-sdk
3
- Version: 3.0.13
4
- Summary: Layrz SDK for Python
5
- Author-email: "Golden M, Inc." <software@goldenm.com>
6
- Maintainer-email: Kenny Mochizuki <kenny@goldenm.com>, Luis Reyes <lreyes@goldenm.com>, Kasen Li <kli@goldenm.com>
7
- License: MIT License
8
- Project-URL: Repository, https://github.com/goldenm-software/layrz-sdk
9
- Project-URL: Changelog, https://github.com/goldenm-software/layrz-sdk/blob/main/CHANGELOG.md
10
- Keywords: sdk,goldenm,lcl,layrz compute language,layrz
11
- Classifier: Programming Language :: Python :: 3
12
- Classifier: Programming Language :: Python :: 3.10
13
- Classifier: Programming Language :: Python :: 3.11
14
- Classifier: Programming Language :: Python :: 3.12
15
- Requires-Python: >=3.10
16
- Description-Content-Type: text/markdown
17
- License-File: LICENSE
18
- Requires-Dist: requests
19
- Requires-Dist: xlsxwriter
20
- Requires-Dist: tzdata
21
-
22
- # Layrz SDK
23
-
24
- Managed by Golden M, Inc.
25
-
26
- ## Description
27
- It's a group of tools/classes/SDKs that can be help you to implement scripts into Layrz modules, or
28
- incorporate them into your own projects.
29
-
30
- ## Requirements
31
- This library uses at least Python 3.10 or higher to work.
32
-
33
- If you want to encrypt MS Excel files, you need to have the [`msoffice`](https://github.com/herumi/msoffice) utility installed in your system.
34
-
35
- ## Documentation
36
- It's available in our documentation site [developers.layrz.com](https://developers.layrz.com/Kits/Sdk)
37
-
38
- ## Work with us
39
- Golden M is a software/hardware development company what is working on
40
- a new, innovative and disruptive technologies.
41
-
42
- For more information, contact us at [sales@goldenm.com](mailto:sales@goldenm.com)
43
-
44
- ## License
45
- This project is under MIT License, for more information, check out the `LICENCE`
1
+ Metadata-Version: 2.2
2
+ Name: layrz-sdk
3
+ Version: 3.1.0
4
+ Summary: Layrz SDK for Python
5
+ Author-email: "Golden M, Inc." <software@goldenm.com>
6
+ Maintainer-email: Kenny Mochizuki <kenny@goldenm.com>, Luis Reyes <lreyes@goldenm.com>, Kasen Li <kli@goldenm.com>
7
+ License: MIT License
8
+ Project-URL: Repository, https://github.com/goldenm-software/layrz-sdk
9
+ Project-URL: Changelog, https://github.com/goldenm-software/layrz-sdk/blob/main/CHANGELOG.md
10
+ Keywords: sdk,goldenm,lcl,layrz compute language,layrz
11
+ Classifier: Programming Language :: Python :: 3
12
+ Classifier: Programming Language :: Python :: 3.10
13
+ Classifier: Programming Language :: Python :: 3.11
14
+ Classifier: Programming Language :: Python :: 3.12
15
+ Classifier: Programming Language :: Python :: 3.13
16
+ Requires-Python: <3.14,>=3.10
17
+ Description-Content-Type: text/markdown
18
+ License-File: LICENSE
19
+ Requires-Dist: requests
20
+ Requires-Dist: xlsxwriter
21
+ Requires-Dist: tzdata
22
+ Requires-Dist: pydantic>=2.10.6
23
+ Requires-Dist: typing-extensions>=4.10.0
24
+
25
+ # Layrz SDK
26
+
27
+ Managed by Golden M, Inc.
28
+
29
+ ## Description
30
+ It's a group of tools/classes/SDKs that can be help you to implement scripts into Layrz modules, or
31
+ incorporate them into your own projects.
32
+
33
+ ## Requirements
34
+ This library uses at least Python 3.10 or higher to work.
35
+
36
+ If you want to encrypt MS Excel files, you need to have the [`msoffice`](https://github.com/herumi/msoffice) utility installed in your system.
37
+
38
+ ## Documentation
39
+ It's available in our documentation site [developers.layrz.com](https://developers.layrz.com/Kits/Sdk)
40
+
41
+ ## Work with us
42
+ Golden M is a software/hardware development company what is working on
43
+ a new, innovative and disruptive technologies.
44
+
45
+ For more information, contact us at [sales@goldenm.com](mailto:sales@goldenm.com)
46
+
47
+ ## License
48
+ This project is under MIT License, for more information, check out the `LICENCE`
@@ -1,24 +1,24 @@
1
- # Layrz SDK
2
-
3
- Managed by Golden M, Inc.
4
-
5
- ## Description
6
- It's a group of tools/classes/SDKs that can be help you to implement scripts into Layrz modules, or
7
- incorporate them into your own projects.
8
-
9
- ## Requirements
10
- This library uses at least Python 3.10 or higher to work.
11
-
12
- If you want to encrypt MS Excel files, you need to have the [`msoffice`](https://github.com/herumi/msoffice) utility installed in your system.
13
-
14
- ## Documentation
15
- It's available in our documentation site [developers.layrz.com](https://developers.layrz.com/Kits/Sdk)
16
-
17
- ## Work with us
18
- Golden M is a software/hardware development company what is working on
19
- a new, innovative and disruptive technologies.
20
-
21
- For more information, contact us at [sales@goldenm.com](mailto:sales@goldenm.com)
22
-
23
- ## License
24
- This project is under MIT License, for more information, check out the `LICENCE`
1
+ # Layrz SDK
2
+
3
+ Managed by Golden M, Inc.
4
+
5
+ ## Description
6
+ It's a group of tools/classes/SDKs that can be help you to implement scripts into Layrz modules, or
7
+ incorporate them into your own projects.
8
+
9
+ ## Requirements
10
+ This library uses at least Python 3.10 or higher to work.
11
+
12
+ If you want to encrypt MS Excel files, you need to have the [`msoffice`](https://github.com/herumi/msoffice) utility installed in your system.
13
+
14
+ ## Documentation
15
+ It's available in our documentation site [developers.layrz.com](https://developers.layrz.com/Kits/Sdk)
16
+
17
+ ## Work with us
18
+ Golden M is a software/hardware development company what is working on
19
+ a new, innovative and disruptive technologies.
20
+
21
+ For more information, contact us at [sales@goldenm.com](mailto:sales@goldenm.com)
22
+
23
+ ## License
24
+ This project is under MIT License, for more information, check out the `LICENCE`
@@ -1 +1 @@
1
- """ Layrz SDK Namespace """
1
+ """ Layrz SDK Namespace """