layrz-sdk 3.1.3__tar.gz → 3.1.5__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 (92) hide show
  1. layrz_sdk-3.1.5/.github/workflows/checks.yml +50 -0
  2. layrz_sdk-3.1.5/.github/workflows/deploy.yml +37 -0
  3. layrz_sdk-3.1.5/.gitignore +19 -0
  4. layrz_sdk-3.1.5/.vscode/extensions.json +9 -0
  5. layrz_sdk-3.1.5/.vscode/settings.json +21 -0
  6. layrz_sdk-3.1.5/CHANGELOG.md +354 -0
  7. layrz_sdk-3.1.5/CODE_OF_CONDUCT.md +24 -0
  8. layrz_sdk-3.1.5/CONTRIBUTING.md +30 -0
  9. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/LICENSE +6 -6
  10. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/PKG-INFO +48 -48
  11. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/README.md +24 -24
  12. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/__init__.py +1 -1
  13. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/constants.py +5 -5
  14. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/__init__.py +129 -129
  15. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/asset.py +70 -69
  16. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/asset_operation_mode.py +31 -31
  17. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/broadcast_request.py +12 -12
  18. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/broadcast_response.py +12 -12
  19. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/broadcast_result.py +20 -20
  20. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/broadcast_status.py +28 -28
  21. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/case.py +47 -47
  22. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/case_ignored_status.py +26 -26
  23. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/case_status.py +23 -23
  24. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/axis_config.py +15 -15
  25. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/bar_chart.py +171 -171
  26. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/chart_alignment.py +27 -27
  27. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/chart_color.py +44 -44
  28. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/chart_configuration.py +10 -10
  29. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/chart_data_serie.py +19 -19
  30. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/chart_data_serie_type.py +28 -28
  31. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/chart_data_type.py +27 -27
  32. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/chart_render_technology.py +30 -30
  33. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/column_chart.py +197 -197
  34. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/html_chart.py +34 -34
  35. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/line_chart.py +244 -244
  36. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/map_center_type.py +22 -22
  37. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/map_chart.py +104 -104
  38. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/map_point.py +22 -22
  39. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/number_chart.py +50 -50
  40. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/pie_chart.py +127 -127
  41. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/radar_chart.py +77 -77
  42. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/radial_bar_chart.py +127 -127
  43. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/scatter_chart.py +206 -206
  44. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/scatter_serie.py +15 -15
  45. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/scatter_serie_item.py +8 -8
  46. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/table_chart.py +50 -50
  47. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/table_header.py +8 -8
  48. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/table_row.py +9 -9
  49. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/timeline_chart.py +75 -75
  50. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/timeline_serie.py +12 -12
  51. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/charts/timeline_serie_item.py +12 -12
  52. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/checkpoint.py +18 -18
  53. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/comment.py +16 -16
  54. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/custom_field.py +10 -10
  55. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/custom_report_page.py +16 -16
  56. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/device.py +13 -13
  57. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/event.py +23 -23
  58. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/geofence.py +11 -11
  59. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/last_message.py +12 -12
  60. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/message.py +23 -23
  61. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/outbound_service.py +10 -10
  62. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/position.py +101 -101
  63. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/presence_type.py +16 -16
  64. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report.py +257 -257
  65. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report_col.py +40 -40
  66. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report_configuration.py +8 -8
  67. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report_data_type.py +28 -28
  68. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report_format.py +27 -27
  69. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report_header.py +43 -43
  70. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report_page.py +17 -17
  71. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/report_row.py +28 -28
  72. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/sensor.py +11 -11
  73. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/text_alignment.py +26 -26
  74. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/trigger.py +11 -11
  75. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/user.py +10 -10
  76. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/entities/waypoint.py +18 -18
  77. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/helpers/__init__.py +8 -8
  78. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/helpers/color.py +41 -41
  79. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/lcl/__init__.py +7 -7
  80. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/lcl/core.py +832 -832
  81. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk.egg-info/PKG-INFO +48 -48
  82. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk.egg-info/SOURCES.txt +11 -0
  83. layrz_sdk-3.1.5/manual_deploy.py +18 -0
  84. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/pyproject.toml +2 -2
  85. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/setup.cfg +4 -4
  86. layrz_sdk-3.1.5/tests/__init__.py +0 -0
  87. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/tests/test_lcl.py +951 -951
  88. layrz_sdk-3.1.5/uv.lock +841 -0
  89. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk/py.typed +0 -0
  90. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk.egg-info/dependency_links.txt +0 -0
  91. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/layrz_sdk.egg-info/requires.txt +0 -0
  92. {layrz_sdk-3.1.3 → layrz_sdk-3.1.5}/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,19 @@
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
18
+
19
+ .env
@@ -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,354 @@
1
+ # Changelog
2
+
3
+ ## 3.1.5
4
+
5
+ - Changed `width` on `ReportHeader` from `int` to `float` due to backwards compatibility
6
+
7
+ ## 3.1.4
8
+
9
+ - Fixed iteration searching for the primary device on `Asset` class
10
+
11
+ ## 3.1.3
12
+
13
+ - Fixes on `Asset` entity validation, found by @simonjrojas!
14
+
15
+ ## 3.1.2
16
+
17
+ - Set as optional the `asset_type` argument in `Asset` class
18
+
19
+ ## 3.1.1
20
+
21
+ - Small fixes on some models to backwards compatibility
22
+
23
+ ## 3.1.0
24
+
25
+ - Migrated all models to Pydantic
26
+ - Removed models `Transaction`.
27
+ - Added `mypy` to the project to enforce type checking
28
+ - Migrated from `uniitest` to `pytest` to the project to enforce unit testing
29
+
30
+ ## 3.0.14
31
+
32
+ - Fixes on `GET_CUSTOM_FIELD` LCL function, now accepts a default value as the second argument (Fallback as '')
33
+
34
+ ## 3.0.13
35
+
36
+ - Added `LastMessage` entity to be used in `Trigger`s
37
+
38
+ ## 3.0.12
39
+
40
+ - Moved `Geofence` model from `checkpoints` to `general`
41
+ - Added `PresenceType` enum to be used in `Event` model
42
+
43
+ ## 3.0.11
44
+
45
+ - Added way to standarize the `int` and `float` arguments to `float`. Allowing comparison between `int` and `float` values in LCL formulas
46
+
47
+ ## 3.0.10
48
+
49
+ - Removed Self type annotation from all classes
50
+
51
+ ## 3.0.9
52
+
53
+ - Added different return data of Report when password is set
54
+
55
+ ## 3.0.8
56
+
57
+ - New linter and formatter using ruff
58
+ - Added typings on all classes and functions available
59
+ - New Report export format PDF (Not implemented yet)
60
+ - Added new way to encrypt .xslx files directly using the `Report` class
61
+
62
+ ## 3.0.7
63
+
64
+ - Added the value of `AssetOperationMode.ZONE`
65
+ - Added a check for `Asset.operation_mode == ASSETMULTIPLE` while savind the list of child's
66
+ - Clarified the deprecation of `ReportRow.height`
67
+
68
+ ## 3.0.6
69
+
70
+ - Changed print in `LineChart` to a `log.warning` and `log.fatal` in case of error
71
+
72
+ ## 3.0.3
73
+
74
+ - Implemented new chart rendering library `syncfusion_flutter_charts` for Flutter.
75
+ - Changed rendering method for `LineChart`, now you should provide the `technology` to select the rendering library.
76
+
77
+ ## 3.0.2
78
+
79
+ - Fixed issue with `IF()` LCL function, now only validates the nullability of the first argument.
80
+ - Added new `VERSION()` LCL Function to get the current version of the package
81
+
82
+ ## 3.0.1
83
+
84
+ - Added None validation on every LCL function, when any of the arguments is None, the function will return None
85
+ - Added unit tests for all LCL functions
86
+
87
+ ## 3.0.0
88
+
89
+ - Removed shared namespace to improve compatibility with other packages
90
+
91
+ ## 2.2.4
92
+
93
+ - Defined new class `ReportConfiguration` to handle the configuration of the report in Python scripts
94
+
95
+ ## 2.2.3
96
+
97
+ - Property `text_color` deprectated in `ReportCol`, replaced by a luminance-based color using the background color
98
+ - Property `text_color` deprectated in `ReportHeader`, replaced by a luminance-based color using the background color
99
+ - Property `width` deprectated in `ReportHeader`, replaced by the function `autofit()` to automatically fit the header width
100
+ - New entity `CustomReportPage` that receives a custom builder function to build the page
101
+ - Property `export_format` deprecated in `Report`, replaced to an argument of the function `export()`
102
+
103
+ ## 2.2.2
104
+
105
+ - Updated `AssetOperationMode` to support `STATIC` and removal of `FAILOVER` mode
106
+
107
+ ## 2.2.1
108
+
109
+ - Bug fixes related to removing __ from all classes
110
+
111
+ ## 2.2.0
112
+
113
+ - Removed support to Python 3.12 due to a shared namespace issue.
114
+ - Reorganized classes to better support.
115
+ - Added typings to all classes and functions.
116
+
117
+ ## 2.1.5
118
+
119
+ - Added declarative typing on all LCL functions
120
+ - Added support for timezone in `UNIX_TO_STR` LCL function
121
+
122
+ ## 2.1.3
123
+
124
+ - Changed build mode to pyproject.toml
125
+ - Updated `LcLCore.perform()` function to receive additional globals and locals in their arguments
126
+
127
+ ## v2.1.2
128
+
129
+ - Add UNIX_TO_STR LCL function
130
+
131
+ ## v2.1.1
132
+
133
+ - Added `compact` in the json return format in reports
134
+
135
+ ## v2.1.0
136
+
137
+ - Add bold format option to Col class
138
+ - Add freeze header option to Page class
139
+
140
+ ## v2.0.1
141
+
142
+ - Fixes on package namespace
143
+
144
+ ## v2.0.0
145
+
146
+ - Deprecated `lcl.core` module
147
+ - Changed `layrzsdk` to `layrz.sdk` package (With unified Layrz namespace)
148
+
149
+ ## v1.4.5
150
+
151
+ - Added CaseIgnoredStatus to init file
152
+
153
+ ## v1.4.4
154
+
155
+ - Added CaseIgnoredStatus to Case entity
156
+
157
+ ## v1.4.3
158
+
159
+ - Added new ChartType: TableChart and NumberChart
160
+ - Starting to replace documentation format from unstructured to a structured format
161
+
162
+ ## v1.4.2
163
+
164
+ - Fix, added SUBSTRING LCL to global functions
165
+
166
+ ## v1.4.1
167
+
168
+ - Fixed LineChart xAxis Datetime conversion for CanvasJS, now will multiply the timestamp by 1000 to use milliseconds
169
+
170
+ ## v1.4.0
171
+
172
+ - Added support for Flutter `graphic` library
173
+ - LineChart
174
+ - AreaChart (Replaced previous AreaChart to a temporal extend of LineChart)
175
+ - BarChart
176
+ - ColumnChart
177
+ - PieChart
178
+ - MapChart
179
+ - ScatterChart
180
+ - RadialBarChart
181
+
182
+ - Future deprecations:
183
+ - HTMLChart
184
+ - TimelineChart
185
+ - RadarChart
186
+
187
+ ## v1.3.9
188
+
189
+ - Internal changes related to GitLab CI automation
190
+
191
+ ## v1.3.8
192
+
193
+ - Added SUBSTRING LCL function
194
+
195
+ ## v.1.3.7
196
+
197
+ - Added sequence in cases
198
+
199
+ ## v1.3.6
200
+
201
+ - Added new Map Chart
202
+ - Added required entity MapPoint
203
+ - Added required enum MapCenterType
204
+ - Added new HTML Chart
205
+
206
+ ## v1.3.5
207
+
208
+ - Bug fix related to formula perform, added PRIMARY_DEVICE to simulation environment
209
+
210
+ ## v1.3.4
211
+
212
+ - Added Transaction entity for REPCOM reports
213
+
214
+ ## v1.3.3
215
+
216
+ - Added PRIMARY_DEVICE() function to Layrz Compute Language
217
+
218
+ ## v1.3.2
219
+
220
+ - Updated styles of charts return object to ApexCharts or CanvasJS
221
+ - Replaced all .rst files to .md files
222
+
223
+ ## v1.3.1
224
+
225
+ - Removed markerSize (in CanvasJS) for dashed series
226
+
227
+ ## v1.3.0
228
+
229
+ - Added support for CanvasJS Javascript Library
230
+ - Deprecated to_apexcharts property in charts.
231
+ - New method render() in charts with support for multiple Javascript rendering library
232
+ - Added color helpers in layrzsdk.helpers
233
+
234
+ ## v1.2.6
235
+
236
+ - Removed dataLabels in almost all charts (Except Pie and RadialBar)
237
+
238
+ ## v1.2.5
239
+
240
+ - Optimizations for Javascript renderer
241
+
242
+ ## v1.2.4
243
+
244
+ - Added dashed attribute to ChartDataSerie
245
+ - Added the Possibility to mix charts, only available for:
246
+ - LineChart
247
+ - AreaChart
248
+ - ColumnChart
249
+ - ScatterChart (Only as serie, not as main chart)
250
+
251
+ ## v1.2.3
252
+
253
+ - Added new value in BroadcastStatus
254
+
255
+ ## v1.2.2
256
+
257
+ - Updated ReportCol entity to set new default values
258
+ - New entity ReportDataType
259
+ - Possibility to export directly to the Report class
260
+ - Re-organized entities/ folder
261
+ - Added Broadcasts entities
262
+
263
+ ## v1.2.1
264
+
265
+ - Added Report Col entity
266
+
267
+ ## v1.2.0
268
+
269
+ - Added reports entities
270
+
271
+ ## v1.1.4
272
+
273
+ - Bug fixes
274
+
275
+ ## v1.1.3
276
+
277
+ - Bug fixes
278
+
279
+ ## v1.1.2
280
+
281
+ - Bug fixes
282
+
283
+ ## v1.1.1
284
+
285
+ - Bug fixes
286
+
287
+ ## v1.1.0
288
+
289
+ - Reorganized files
290
+ - Added new Charts entities
291
+
292
+ ## v1.0.14
293
+
294
+ - Added CONTAINS, STARTS_WITH, ENDS_WITH functions to the Layrz Computed Language
295
+
296
+ ## v1.0.13
297
+
298
+ - Fixed missing import into `layrzsdk.entities.__init__.py`
299
+
300
+ ## v1.0.12
301
+
302
+ - Added Geofence, Comment, Waypoint and Checkpoint entities
303
+
304
+ ## v1.0.11
305
+
306
+ - Added User, Comment and Case entities
307
+
308
+ ## v1.0.10
309
+
310
+ - Fixes
311
+
312
+ ## v1.0.9
313
+
314
+ - Added Event and Trigger entities
315
+ - Renamed file `mesage.py` to `message.py`
316
+
317
+ ## v1.0.8
318
+
319
+ - Added title getter of all charts entities
320
+
321
+ ## v1.0.7
322
+
323
+ - Added PieChart, BarChart, and RadialBarChart entities
324
+
325
+ ## v1.0.6
326
+
327
+ - Fixed STING to STRING bug in ChartDataType enum
328
+
329
+ ## v1.0.5
330
+
331
+ - Bug fixes
332
+
333
+ ## v1.0.4
334
+
335
+ - Added data_type argument of ChartDataSerie
336
+
337
+ ## v1.0.3
338
+
339
+ - Added Chart configuration entity
340
+
341
+ ## v1.0.2
342
+
343
+ - Added entities for Range Charts:
344
+ - Line Charts
345
+ - Area Charts
346
+ - Column Charts
347
+
348
+ ## v1.0.1
349
+
350
+ - Added entities for Sensors and Triggers
351
+
352
+ ## v1.0.0
353
+
354
+ - 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,48 +1,48 @@
1
- Metadata-Version: 2.2
2
- Name: layrz-sdk
3
- Version: 3.1.3
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
+ Metadata-Version: 2.2
2
+ Name: layrz-sdk
3
+ Version: 3.1.5
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`