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