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