layrz-sdk 3.1.13__tar.gz → 3.1.14__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.14/.github/workflows/checks.yml +50 -0
  2. layrz_sdk-3.1.14/.github/workflows/deploy.yml +32 -0
  3. layrz_sdk-3.1.14/.gitignore +19 -0
  4. layrz_sdk-3.1.14/.vscode/extensions.json +9 -0
  5. layrz_sdk-3.1.14/.vscode/settings.json +31 -0
  6. layrz_sdk-3.1.14/CHANGELOG.md +386 -0
  7. layrz_sdk-3.1.14/CODE_OF_CONDUCT.md +29 -0
  8. layrz_sdk-3.1.14/CONTRIBUTING.md +26 -0
  9. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/LICENSE +6 -6
  10. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/PKG-INFO +49 -49
  11. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/README.md +24 -24
  12. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/__init__.py +1 -1
  13. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/constants.py +5 -5
  14. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/__init__.py +129 -129
  15. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/asset.py +60 -60
  16. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/asset_operation_mode.py +31 -31
  17. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/broadcast_request.py +12 -12
  18. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/broadcast_response.py +12 -12
  19. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/broadcast_result.py +20 -20
  20. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/broadcast_status.py +28 -28
  21. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/case.py +52 -48
  22. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/case_ignored_status.py +26 -26
  23. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/case_status.py +23 -23
  24. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/axis_config.py +15 -15
  25. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/bar_chart.py +175 -175
  26. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/chart_alignment.py +27 -27
  27. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/chart_color.py +44 -44
  28. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/chart_configuration.py +10 -10
  29. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/chart_data_serie.py +19 -19
  30. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/chart_data_serie_type.py +28 -28
  31. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/chart_data_type.py +27 -27
  32. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/chart_render_technology.py +30 -30
  33. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/column_chart.py +201 -201
  34. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/html_chart.py +38 -38
  35. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/line_chart.py +248 -248
  36. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/map_center_type.py +22 -22
  37. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/map_chart.py +108 -108
  38. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/map_point.py +22 -22
  39. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/number_chart.py +54 -54
  40. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/pie_chart.py +131 -131
  41. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/radar_chart.py +81 -81
  42. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/radial_bar_chart.py +131 -131
  43. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/scatter_chart.py +210 -210
  44. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/scatter_serie.py +13 -13
  45. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/scatter_serie_item.py +8 -8
  46. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/table_chart.py +54 -54
  47. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/table_header.py +8 -8
  48. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/table_row.py +9 -9
  49. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/timeline_chart.py +79 -79
  50. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/timeline_serie.py +10 -10
  51. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/charts/timeline_serie_item.py +12 -12
  52. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/checkpoint.py +17 -17
  53. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/comment.py +16 -16
  54. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/custom_field.py +10 -10
  55. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/custom_report_page.py +40 -40
  56. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/device.py +13 -13
  57. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/event.py +23 -23
  58. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/geofence.py +11 -11
  59. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/last_message.py +12 -12
  60. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/message.py +23 -23
  61. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/outbound_service.py +10 -10
  62. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/position.py +116 -116
  63. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/presence_type.py +16 -16
  64. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report.py +289 -289
  65. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report_col.py +40 -40
  66. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report_configuration.py +8 -8
  67. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report_data_type.py +28 -28
  68. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report_format.py +27 -27
  69. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report_header.py +43 -43
  70. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report_page.py +15 -15
  71. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/report_row.py +28 -28
  72. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/sensor.py +11 -11
  73. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/text_alignment.py +26 -26
  74. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/trigger.py +11 -11
  75. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/user.py +10 -10
  76. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/entities/waypoint.py +18 -18
  77. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/helpers/__init__.py +5 -5
  78. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/helpers/color.py +44 -44
  79. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/lcl/__init__.py +5 -5
  80. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/lcl/core.py +848 -848
  81. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk.egg-info/PKG-INFO +49 -49
  82. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk.egg-info/SOURCES.txt +11 -0
  83. layrz_sdk-3.1.14/manual_deploy.py +18 -0
  84. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/pyproject.toml +104 -104
  85. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/setup.cfg +4 -4
  86. layrz_sdk-3.1.14/tests/__init__.py +0 -0
  87. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/tests/test_lcl.py +951 -951
  88. layrz_sdk-3.1.14/uv.lock +841 -0
  89. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk/py.typed +0 -0
  90. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk.egg-info/dependency_links.txt +0 -0
  91. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/layrz_sdk.egg-info/requires.txt +0 -0
  92. {layrz_sdk-3.1.13 → layrz_sdk-3.1.14}/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,32 @@
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 and upload
28
+ run: |
29
+ uv venv --python 3.13
30
+ uv sync --only-group dev
31
+ uv run python -m build
32
+ uv run python -m twine upload -u ${{ secrets.LAYRZ_PYPI_USERNAME }} -p ${{ secrets.LAYRZ_PYPI_PASSWORD }} dist/*
@@ -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,31 @@
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
+ "mypy-type-checker.importStrategy": "fromEnvironment",
20
+ "python.testing.unittestEnabled": false,
21
+ "python.testing.pytestEnabled": true,
22
+ "cSpell.words": [
23
+ "Aptos",
24
+ "autofit",
25
+ "layrz",
26
+ "msoffice",
27
+ "rtype",
28
+ "xlswriter",
29
+ "xslx"
30
+ ]
31
+ }
@@ -0,0 +1,386 @@
1
+ # Changelog
2
+
3
+ ## 3.1.14
4
+
5
+ - Some changes related to the `Case` entity
6
+
7
+ ## 3.1.12
8
+
9
+ - Adjustment of all typings
10
+
11
+ ## 3.1.11
12
+
13
+ - Fixes on data casting in `Message` class
14
+
15
+ ## 3.1.10
16
+
17
+ - Updated docstrings to provide more information about types and usage
18
+
19
+ ## 3.1.9
20
+
21
+ - Changed `json` to `parsed` on `BroadcastResponse` and `BroadcastRequest` to avoid confusion with the `json` property from `pydantic.BaseModel`
22
+
23
+ ## 3.1.8
24
+
25
+ - Replaced `str` in favor of using `Path` object to manage paths on `Report` export methods
26
+
27
+ ## 3.1.7
28
+
29
+ - Removed validation of asset type `SINGLE`
30
+
31
+ ## 3.1.6
32
+
33
+ - Fixes on model validate on `Asset` class
34
+
35
+ ## 3.1.5
36
+
37
+ - Changed `width` on `ReportHeader` from `int` to `float` due to backwards compatibility
38
+
39
+ ## 3.1.4
40
+
41
+ - Fixed iteration searching for the primary device on `Asset` class
42
+
43
+ ## 3.1.3
44
+
45
+ - Fixes on `Asset` entity validation, found by @simonjrojas!
46
+
47
+ ## 3.1.2
48
+
49
+ - Set as optional the `asset_type` argument in `Asset` class
50
+
51
+ ## 3.1.1
52
+
53
+ - Small fixes on some models to backwards compatibility
54
+
55
+ ## 3.1.0
56
+
57
+ - Migrated all models to Pydantic
58
+ - Removed models `Transaction`.
59
+ - Added `mypy` to the project to enforce type checking
60
+ - Migrated from `uniitest` to `pytest` to the project to enforce unit testing
61
+
62
+ ## 3.0.14
63
+
64
+ - Fixes on `GET_CUSTOM_FIELD` LCL function, now accepts a default value as the second argument (Fallback as '')
65
+
66
+ ## 3.0.13
67
+
68
+ - Added `LastMessage` entity to be used in `Trigger`s
69
+
70
+ ## 3.0.12
71
+
72
+ - Moved `Geofence` model from `checkpoints` to `general`
73
+ - Added `PresenceType` enum to be used in `Event` model
74
+
75
+ ## 3.0.11
76
+
77
+ - Added way to standarize the `int` and `float` arguments to `float`. Allowing comparison between `int` and `float` values in LCL formulas
78
+
79
+ ## 3.0.10
80
+
81
+ - Removed Self type annotation from all classes
82
+
83
+ ## 3.0.9
84
+
85
+ - Added different return data of Report when password is set
86
+
87
+ ## 3.0.8
88
+
89
+ - New linter and formatter using ruff
90
+ - Added typings on all classes and functions available
91
+ - New Report export format PDF (Not implemented yet)
92
+ - Added new way to encrypt .xslx files directly using the `Report` class
93
+
94
+ ## 3.0.7
95
+
96
+ - Added the value of `AssetOperationMode.ZONE`
97
+ - Added a check for `Asset.operation_mode == ASSETMULTIPLE` while savind the list of child's
98
+ - Clarified the deprecation of `ReportRow.height`
99
+
100
+ ## 3.0.6
101
+
102
+ - Changed print in `LineChart` to a `log.warning` and `log.fatal` in case of error
103
+
104
+ ## 3.0.3
105
+
106
+ - Implemented new chart rendering library `syncfusion_flutter_charts` for Flutter.
107
+ - Changed rendering method for `LineChart`, now you should provide the `technology` to select the rendering library.
108
+
109
+ ## 3.0.2
110
+
111
+ - Fixed issue with `IF()` LCL function, now only validates the nullability of the first argument.
112
+ - Added new `VERSION()` LCL Function to get the current version of the package
113
+
114
+ ## 3.0.1
115
+
116
+ - Added None validation on every LCL function, when any of the arguments is None, the function will return None
117
+ - Added unit tests for all LCL functions
118
+
119
+ ## 3.0.0
120
+
121
+ - Removed shared namespace to improve compatibility with other packages
122
+
123
+ ## 2.2.4
124
+
125
+ - Defined new class `ReportConfiguration` to handle the configuration of the report in Python scripts
126
+
127
+ ## 2.2.3
128
+
129
+ - Property `text_color` deprectated in `ReportCol`, replaced by a luminance-based color using the background color
130
+ - Property `text_color` deprectated in `ReportHeader`, replaced by a luminance-based color using the background color
131
+ - Property `width` deprectated in `ReportHeader`, replaced by the function `autofit()` to automatically fit the header width
132
+ - New entity `CustomReportPage` that receives a custom builder function to build the page
133
+ - Property `export_format` deprecated in `Report`, replaced to an argument of the function `export()`
134
+
135
+ ## 2.2.2
136
+
137
+ - Updated `AssetOperationMode` to support `STATIC` and removal of `FAILOVER` mode
138
+
139
+ ## 2.2.1
140
+
141
+ - Bug fixes related to removing __ from all classes
142
+
143
+ ## 2.2.0
144
+
145
+ - Removed support to Python 3.12 due to a shared namespace issue.
146
+ - Reorganized classes to better support.
147
+ - Added typings to all classes and functions.
148
+
149
+ ## 2.1.5
150
+
151
+ - Added declarative typing on all LCL functions
152
+ - Added support for timezone in `UNIX_TO_STR` LCL function
153
+
154
+ ## 2.1.3
155
+
156
+ - Changed build mode to pyproject.toml
157
+ - Updated `LcLCore.perform()` function to receive additional globals and locals in their arguments
158
+
159
+ ## v2.1.2
160
+
161
+ - Add UNIX_TO_STR LCL function
162
+
163
+ ## v2.1.1
164
+
165
+ - Added `compact` in the json return format in reports
166
+
167
+ ## v2.1.0
168
+
169
+ - Add bold format option to Col class
170
+ - Add freeze header option to Page class
171
+
172
+ ## v2.0.1
173
+
174
+ - Fixes on package namespace
175
+
176
+ ## v2.0.0
177
+
178
+ - Deprecated `lcl.core` module
179
+ - Changed `layrzsdk` to `layrz.sdk` package (With unified Layrz namespace)
180
+
181
+ ## v1.4.5
182
+
183
+ - Added CaseIgnoredStatus to init file
184
+
185
+ ## v1.4.4
186
+
187
+ - Added CaseIgnoredStatus to Case entity
188
+
189
+ ## v1.4.3
190
+
191
+ - Added new ChartType: TableChart and NumberChart
192
+ - Starting to replace documentation format from unstructured to a structured format
193
+
194
+ ## v1.4.2
195
+
196
+ - Fix, added SUBSTRING LCL to global functions
197
+
198
+ ## v1.4.1
199
+
200
+ - Fixed LineChart xAxis Datetime conversion for CanvasJS, now will multiply the timestamp by 1000 to use milliseconds
201
+
202
+ ## v1.4.0
203
+
204
+ - Added support for Flutter `graphic` library
205
+ - LineChart
206
+ - AreaChart (Replaced previous AreaChart to a temporal extend of LineChart)
207
+ - BarChart
208
+ - ColumnChart
209
+ - PieChart
210
+ - MapChart
211
+ - ScatterChart
212
+ - RadialBarChart
213
+
214
+ - Future deprecations:
215
+ - HTMLChart
216
+ - TimelineChart
217
+ - RadarChart
218
+
219
+ ## v1.3.9
220
+
221
+ - Internal changes related to GitLab CI automation
222
+
223
+ ## v1.3.8
224
+
225
+ - Added SUBSTRING LCL function
226
+
227
+ ## v.1.3.7
228
+
229
+ - Added sequence in cases
230
+
231
+ ## v1.3.6
232
+
233
+ - Added new Map Chart
234
+ - Added required entity MapPoint
235
+ - Added required enum MapCenterType
236
+ - Added new HTML Chart
237
+
238
+ ## v1.3.5
239
+
240
+ - Bug fix related to formula perform, added PRIMARY_DEVICE to simulation environment
241
+
242
+ ## v1.3.4
243
+
244
+ - Added Transaction entity for REPCOM reports
245
+
246
+ ## v1.3.3
247
+
248
+ - Added PRIMARY_DEVICE() function to Layrz Compute Language
249
+
250
+ ## v1.3.2
251
+
252
+ - Updated styles of charts return object to ApexCharts or CanvasJS
253
+ - Replaced all .rst files to .md files
254
+
255
+ ## v1.3.1
256
+
257
+ - Removed markerSize (in CanvasJS) for dashed series
258
+
259
+ ## v1.3.0
260
+
261
+ - Added support for CanvasJS Javascript Library
262
+ - Deprecated to_apexcharts property in charts.
263
+ - New method render() in charts with support for multiple Javascript rendering library
264
+ - Added color helpers in layrzsdk.helpers
265
+
266
+ ## v1.2.6
267
+
268
+ - Removed dataLabels in almost all charts (Except Pie and RadialBar)
269
+
270
+ ## v1.2.5
271
+
272
+ - Optimizations for Javascript renderer
273
+
274
+ ## v1.2.4
275
+
276
+ - Added dashed attribute to ChartDataSerie
277
+ - Added the Possibility to mix charts, only available for:
278
+ - LineChart
279
+ - AreaChart
280
+ - ColumnChart
281
+ - ScatterChart (Only as serie, not as main chart)
282
+
283
+ ## v1.2.3
284
+
285
+ - Added new value in BroadcastStatus
286
+
287
+ ## v1.2.2
288
+
289
+ - Updated ReportCol entity to set new default values
290
+ - New entity ReportDataType
291
+ - Possibility to export directly to the Report class
292
+ - Re-organized entities/ folder
293
+ - Added Broadcasts entities
294
+
295
+ ## v1.2.1
296
+
297
+ - Added Report Col entity
298
+
299
+ ## v1.2.0
300
+
301
+ - Added reports entities
302
+
303
+ ## v1.1.4
304
+
305
+ - Bug fixes
306
+
307
+ ## v1.1.3
308
+
309
+ - Bug fixes
310
+
311
+ ## v1.1.2
312
+
313
+ - Bug fixes
314
+
315
+ ## v1.1.1
316
+
317
+ - Bug fixes
318
+
319
+ ## v1.1.0
320
+
321
+ - Reorganized files
322
+ - Added new Charts entities
323
+
324
+ ## v1.0.14
325
+
326
+ - Added CONTAINS, STARTS_WITH, ENDS_WITH functions to the Layrz Computed Language
327
+
328
+ ## v1.0.13
329
+
330
+ - Fixed missing import into `layrzsdk.entities.__init__.py`
331
+
332
+ ## v1.0.12
333
+
334
+ - Added Geofence, Comment, Waypoint and Checkpoint entities
335
+
336
+ ## v1.0.11
337
+
338
+ - Added User, Comment and Case entities
339
+
340
+ ## v1.0.10
341
+
342
+ - Fixes
343
+
344
+ ## v1.0.9
345
+
346
+ - Added Event and Trigger entities
347
+ - Renamed file `mesage.py` to `message.py`
348
+
349
+ ## v1.0.8
350
+
351
+ - Added title getter of all charts entities
352
+
353
+ ## v1.0.7
354
+
355
+ - Added PieChart, BarChart, and RadialBarChart entities
356
+
357
+ ## v1.0.6
358
+
359
+ - Fixed STING to STRING bug in ChartDataType enum
360
+
361
+ ## v1.0.5
362
+
363
+ - Bug fixes
364
+
365
+ ## v1.0.4
366
+
367
+ - Added data_type argument of ChartDataSerie
368
+
369
+ ## v1.0.3
370
+
371
+ - Added Chart configuration entity
372
+
373
+ ## v1.0.2
374
+
375
+ - Added entities for Range Charts:
376
+ - Line Charts
377
+ - Area Charts
378
+ - Column Charts
379
+
380
+ ## v1.0.1
381
+
382
+ - Added entities for Sensors and Triggers
383
+
384
+ ## v1.0.0
385
+
386
+ - Initial release
@@ -0,0 +1,29 @@
1
+ # Code of conduct
2
+
3
+ ## Be friendly and patient.
4
+
5
+ Our objective is contribute to community and help us together to create better code.
6
+
7
+ ## Be welcoming
8
+
9
+ 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.
10
+
11
+ ## Be considerate
12
+
13
+ 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.
14
+
15
+ ## Be respectful
16
+
17
+ 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.
18
+
19
+ ## Be careful in the words that you choose
20
+
21
+ 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:
22
+ * Violent threats or language directed against another person.
23
+ * Discriminatory jokes and language.
24
+ * Posting sexually explicit or violent material.
25
+ * Posting (or threatening to post) other people's personally identifying information ("doxing").
26
+ * Personal insults, especially those using racist or sexist terms.
27
+ * Unwelcome sexual attention.
28
+ * Advocating for, or encouraging, any of the above behavior.
29
+ * Repeated harassment of others. In general, if someone asks you to stop, then stop.
@@ -0,0 +1,26 @@
1
+ # Contributing
2
+
3
+ As an open source project, we welcomes contributions of many forms.
4
+
5
+ ## To request a Pull Request
6
+
7
+ Please follow the next structure of your request:
8
+
9
+ 1. **Title**: A short description of the change.
10
+
11
+ 2. **Description**: A detailed description of the change, including:
12
+ - What is the problem you are solving?
13
+ - How does your change solve the problem?
14
+ - Any additional information that might be helpful for reviewers.
15
+
16
+ 3. **Code**: The code changes you are proposing, including:
17
+ - The files you are changing.
18
+ - The specific lines of code that are being added, modified, or removed.
19
+ - Any tests you have written to verify your changes.
20
+
21
+ 4. **Testing**: A description of how you tested your changes, including:
22
+ - The environment you tested in (e.g., local, staging).
23
+ - Any specific test cases you ran.
24
+ - The results of your tests.
25
+
26
+ You can attach screenshots or other files to help illustrate your changes.
@@ -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,49 +1,49 @@
1
- Metadata-Version: 2.4
2
- Name: layrz-sdk
3
- Version: 3.1.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
- 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
- Dynamic: license-file
25
-
26
- # Layrz SDK
27
-
28
- Managed by Golden M, Inc.
29
-
30
- ## Description
31
- It's a group of tools/classes/SDKs that can be help you to implement scripts into Layrz modules, or
32
- incorporate them into your own projects.
33
-
34
- ## Requirements
35
- This library uses at least Python 3.10 or higher to work.
36
-
37
- If you want to encrypt MS Excel files, you need to have the [`msoffice`](https://github.com/herumi/msoffice) utility installed in your system.
38
-
39
- ## Documentation
40
- It's available in our documentation site [developers.layrz.com](https://developers.layrz.com/Kits/Sdk)
41
-
42
- ## Work with us
43
- Golden M is a software/hardware development company what is working on
44
- a new, innovative and disruptive technologies.
45
-
46
- For more information, contact us at [sales@goldenm.com](mailto:sales@goldenm.com)
47
-
48
- ## License
49
- This project is under MIT License, for more information, check out the `LICENCE`
1
+ Metadata-Version: 2.4
2
+ Name: layrz-sdk
3
+ Version: 3.1.14
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
+ Dynamic: license-file
25
+
26
+ # Layrz SDK
27
+
28
+ Managed by Golden M, Inc.
29
+
30
+ ## Description
31
+ It's a group of tools/classes/SDKs that can be help you to implement scripts into Layrz modules, or
32
+ incorporate them into your own projects.
33
+
34
+ ## Requirements
35
+ This library uses at least Python 3.10 or higher to work.
36
+
37
+ If you want to encrypt MS Excel files, you need to have the [`msoffice`](https://github.com/herumi/msoffice) utility installed in your system.
38
+
39
+ ## Documentation
40
+ It's available in our documentation site [developers.layrz.com](https://developers.layrz.com/Kits/Sdk)
41
+
42
+ ## Work with us
43
+ Golden M is a software/hardware development company what is working on
44
+ a new, innovative and disruptive technologies.
45
+
46
+ For more information, contact us at [sales@goldenm.com](mailto:sales@goldenm.com)
47
+
48
+ ## License
49
+ This project is under MIT License, for more information, check out the `LICENCE`