pydiagral 1.3.7b4__tar.gz → 1.4.0__tar.gz

Sign up to get free protection for your applications and to get access to all the features.
Files changed (40) hide show
  1. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/workflows/release_and_doc.yaml +2 -2
  2. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.releaserc +0 -1
  3. pydiagral-1.4.0/CHANGELOG.md +43 -0
  4. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/PKG-INFO +1 -1
  5. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/docs/models.md +1 -0
  6. pydiagral-1.3.7b4/CHANGELOG.md +0 -132
  7. pydiagral-1.3.7b4/test.txt +0 -1
  8. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.devcontainer/Dockerfile.dev +0 -0
  9. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.devcontainer/devcontainer.json +0 -0
  10. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/FUNDING.yml +0 -0
  11. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/dependabot.yml +0 -0
  12. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/labels.yml +0 -0
  13. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/workflows/labeler.yml +0 -0
  14. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/workflows/lint.yaml +0 -0
  15. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/workflows/lock.yml +0 -0
  16. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/workflows/pytest.yaml +0 -0
  17. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.github/workflows/semantic-prs.yml +0 -0
  18. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.gitignore +0 -0
  19. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.vscode/extensions.json +0 -0
  20. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/.vscode/settings.json +0 -0
  21. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/LICENSE +0 -0
  22. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/README.md +0 -0
  23. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/docs/api.md +0 -0
  24. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/docs/exceptions.md +0 -0
  25. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/docs/how-to-find-diagral-serial.png +0 -0
  26. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/docs/index.md +0 -0
  27. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/docs/pydiagral-Logo.png +0 -0
  28. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/example_code.py +0 -0
  29. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/mkdocs.yml +0 -0
  30. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/pyproject.toml +0 -0
  31. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/src/pydiagral/__init__.py +0 -0
  32. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/src/pydiagral/api.py +0 -0
  33. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/src/pydiagral/constants.py +0 -0
  34. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/src/pydiagral/exceptions.py +0 -0
  35. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/src/pydiagral/models.py +0 -0
  36. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/src/pydiagral/utils.py +0 -0
  37. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/tests/__init__.py +0 -0
  38. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/tests/data/configuration_sample.json +0 -0
  39. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/tests/data/system_details_sample.json +0 -0
  40. {pydiagral-1.3.7b4 → pydiagral-1.4.0}/tests/test_pydiagral_api.py +0 -0
@@ -56,7 +56,7 @@ jobs:
56
56
 
57
57
  - name: Publish to PyPI
58
58
  if: steps.semantic.outputs.new_release_published == 'true'
59
- run: twine upload dist/* -u __token__ -p "${{ secrets.PYPI_TOKEN }}"
59
+ run: twine upload dist/* --skip-existing -u __token__ -p "${{ secrets.PYPI_TOKEN }}"
60
60
 
61
61
  deploy-docs:
62
62
  runs-on: ubuntu-latest
@@ -83,7 +83,7 @@ jobs:
83
83
  pip install -e .
84
84
 
85
85
  - name: Build documentation
86
- run: mkdocs build --strict --verbose
86
+ run: mkdocs build --strict #--verbose
87
87
 
88
88
  - name: Deploy to GitHub Pages
89
89
  uses: peaceiris/actions-gh-pages@v4
@@ -6,7 +6,6 @@
6
6
  "prerelease": true
7
7
  }
8
8
  ],
9
- "debug": true,
10
9
  "plugins": [
11
10
  "@semantic-release/commit-analyzer",
12
11
  "@semantic-release/release-notes-generator",
@@ -0,0 +1,43 @@
1
+ # [1.4.0](https://github.com/mguyard/pydiagral/compare/v1.3.0...v1.4.0) (2025-02-23)
2
+
3
+
4
+ ### Features
5
+
6
+ * Remove unused files ([18075d4](https://github.com/mguyard/pydiagral/commit/18075d49fafadf85639c677c600415abd894ccac))
7
+
8
+ # [1.3.0](https://github.com/mguyard/pydiagral/compare/v1.2.0...v1.3.0) (2025-02-23)
9
+
10
+
11
+ ### Features
12
+
13
+ * Upgrade release ([6acce6a](https://github.com/mguyard/pydiagral/commit/6acce6a9ae143c68f21d8d7cb87c5e917cde9859))
14
+
15
+ # [1.2.0](https://github.com/mguyard/pydiagral/compare/v1.1.0...v1.2.0) (2025-02-23)
16
+
17
+
18
+ ### Features
19
+
20
+ * Upgrade release ([bf300de](https://github.com/mguyard/pydiagral/commit/bf300de439c11b5bb2874043e1d2fe649d8f3073))
21
+
22
+ # [1.2.0-beta.1](https://github.com/mguyard/pydiagral/compare/v1.1.0...v1.2.0-beta.1) (2025-02-23)
23
+
24
+
25
+ ### Features
26
+
27
+ * Upgrade release ([bf300de](https://github.com/mguyard/pydiagral/commit/bf300de439c11b5bb2874043e1d2fe649d8f3073))
28
+
29
+ # [1.1.0](https://github.com/mguyard/pydiagral/compare/v1.0.0...v1.1.0) (2025-02-23)
30
+
31
+
32
+ ### Features
33
+
34
+ * **pencil:** Enable semantic debugs ([3d46b6e](https://github.com/mguyard/pydiagral/commit/3d46b6e220a7a26bea9f67112bfaea87419a9717))
35
+ * Upgrade release ([1e1909b](https://github.com/mguyard/pydiagral/commit/1e1909bbf6b0626d23584f98d0ff02d55f0f264c))
36
+
37
+ # [1.1.0-beta.1](https://github.com/mguyard/pydiagral/compare/v1.0.0...v1.1.0-beta.1) (2025-02-23)
38
+
39
+
40
+ ### Features
41
+
42
+ * **pencil:** Enable semantic debugs ([3d46b6e](https://github.com/mguyard/pydiagral/commit/3d46b6e220a7a26bea9f67112bfaea87419a9717))
43
+ * Upgrade release ([1e1909b](https://github.com/mguyard/pydiagral/commit/1e1909bbf6b0626d23584f98d0ff02d55f0f264c))
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydiagral
3
- Version: 1.3.7b4
3
+ Version: 1.4.0
4
4
  Summary: A Python library for interacting with Diagral systems
5
5
  Project-URL: Homepage, https://github.com/mguyard/pydiagral
6
6
  Project-URL: Documentation, https://github.com/mguyard/pydiagral
@@ -6,5 +6,6 @@
6
6
  handler: python
7
7
  options:
8
8
  show_root_heading: true
9
+ members_order: source
9
10
 
10
11
  <!-- prettier-ignore-end -->
@@ -1,132 +0,0 @@
1
- ## [1.3.7-beta.4](https://github.com/mguyard/pydiagral/compare/v1.3.7-beta.3...v1.3.7-beta.4) (2025-02-22)
2
-
3
-
4
- ### Bug Fixes
5
-
6
- * test12 ([53f1abe](https://github.com/mguyard/pydiagral/commit/53f1abe26910732e6c351f2a8146fc46a29f5535))
7
-
8
- ## [1.3.7-beta.3](https://github.com/mguyard/pydiagral/compare/v1.3.7-beta.2...v1.3.7-beta.3) (2025-02-22)
9
-
10
-
11
- ### Bug Fixes
12
-
13
- * test11 ([16d5b01](https://github.com/mguyard/pydiagral/commit/16d5b0181a07d2820ae46e3c8730fd050377774b))
14
-
15
- ## [1.3.7-beta.2](https://github.com/mguyard/pydiagral/compare/v1.3.7-beta.1...v1.3.7-beta.2) (2025-02-22)
16
-
17
-
18
- ### Bug Fixes
19
-
20
- * test10 ([76bfc10](https://github.com/mguyard/pydiagral/commit/76bfc10ac79d144a59ef6a16eb3e9f52f1eaa364))
21
-
22
- ## [1.3.7-beta.1](https://github.com/mguyard/pydiagral/compare/v1.3.6...v1.3.7-beta.1) (2025-02-22)
23
-
24
-
25
- ### Bug Fixes
26
-
27
- * test9 ([042239c](https://github.com/mguyard/pydiagral/commit/042239c402f329fec0bb7ed9de3de46ace5a6d64))
28
-
29
- ## [1.3.6](https://github.com/mguyard/pydiagral/compare/v1.3.5...v1.3.6) (2025-02-22)
30
-
31
-
32
- ### Bug Fixes
33
-
34
- * test8 ([59bd92e](https://github.com/mguyard/pydiagral/commit/59bd92ef0750b80d09fd9321c4f2f2c8cc0fc72d))
35
-
36
- ## [1.3.5](https://github.com/mguyard/pydiagral/compare/v1.3.4...v1.3.5) (2025-02-22)
37
-
38
-
39
- ### Bug Fixes
40
-
41
- * test7 ([ce96d71](https://github.com/mguyard/pydiagral/commit/ce96d717630e0d2df21747676b955164851c9018))
42
-
43
- ## [1.3.4](https://github.com/mguyard/pydiagral/compare/v1.3.3...v1.3.4) (2025-02-22)
44
-
45
-
46
- ### Bug Fixes
47
-
48
- * test6 ([9630183](https://github.com/mguyard/pydiagral/commit/96301833cd75065b7ba88d33eaebe68ba97a6856))
49
-
50
- ## [1.3.3](https://github.com/mguyard/pydiagral/compare/v1.3.2...v1.3.3) (2025-02-22)
51
-
52
-
53
- ### Bug Fixes
54
-
55
- * test5 ([e55ecb9](https://github.com/mguyard/pydiagral/commit/e55ecb96adfe90dddccca0cde82ba4f941878c38))
56
-
57
- ## [1.3.2](https://github.com/mguyard/pydiagral/compare/v1.3.1...v1.3.2) (2025-02-22)
58
-
59
-
60
- ### Bug Fixes
61
-
62
- * test4 ([d2150a6](https://github.com/mguyard/pydiagral/commit/d2150a6c364e46ed8e89f12d00821559f7191bf2))
63
-
64
- ## [1.3.1](https://github.com/mguyard/pydiagral/compare/v1.3.0...v1.3.1) (2025-02-22)
65
-
66
-
67
- ### Bug Fixes
68
-
69
- * test3 ([b245709](https://github.com/mguyard/pydiagral/commit/b245709dc3d33c9ddfa29cec83886376718b36ca))
70
-
71
- # [1.3.0](https://github.com/mguyard/pydiagral/compare/v1.2.0...v1.3.0) (2025-02-22)
72
-
73
-
74
- ### Features
75
-
76
- * test2 ([68c072c](https://github.com/mguyard/pydiagral/commit/68c072cc100781604710717af877f8963db4dc02))
77
-
78
- # [1.2.0](https://github.com/mguyard/pydiagral/compare/v1.1.0...v1.2.0) (2025-02-22)
79
-
80
-
81
- ### Features
82
-
83
- * test1 ([e7bf5e6](https://github.com/mguyard/pydiagral/commit/e7bf5e6a4a72121a98e413541a0699d195190612))
84
-
85
- # [1.1.0](https://github.com/mguyard/pydiagral/compare/v1.0.0...v1.1.0) (2025-02-22)
86
-
87
-
88
- ### Features
89
-
90
- * test ([75ec27f](https://github.com/mguyard/pydiagral/commit/75ec27f885ce4e9be08b3b194446d49709d5107d))
91
-
92
- # 1.0.0 (2025-02-22)
93
-
94
-
95
- ### Bug Fixes
96
-
97
- * Add data in debug request log ([8951ce5](https://github.com/mguyard/pydiagral/commit/8951ce5cc4e7c896aa87bf99312253138fa8a247))
98
- * Allow detail and user fields in WebHookNotification model to be optional ([0ca68c3](https://github.com/mguyard/pydiagral/commit/0ca68c348a8dcaa58929c987f97ef57b3c8a5efc))
99
- * Allow detail and user fields in WebHookNotification model to be optional ([5499bbb](https://github.com/mguyard/pydiagral/commit/5499bbbb341f82b19a1513441b861ea720ad0363))
100
- * Bad object name use in test script ([71d740d](https://github.com/mguyard/pydiagral/commit/71d740daa812daf4d704581c0e4a862565b5c441))
101
- * Change aiohttp dependancy from static version 3.10.5 to ^3.8.0 ([d509427](https://github.com/mguyard/pydiagral/commit/d50942725f424d361f725999c803470c8a5636e0))
102
- * Rename test script to don't block pytest ([ec8323f](https://github.com/mguyard/pydiagral/commit/ec8323fdcd6e06ee6aadf5cd2005e7245aa0d219))
103
- * Resolve aiohttp dependancy syntax ([d9fddcf](https://github.com/mguyard/pydiagral/commit/d9fddcf5801d41f54d1f0409ded98ff7e9717f6c))
104
- * Resolve issue with Anomalies model and optional fields ([027289a](https://github.com/mguyard/pydiagral/commit/027289a78356ecceb4cf5b8d3121dbcba258b619))
105
- * Resolve issue with field name containing underscore but without field alias ([1ee94a5](https://github.com/mguyard/pydiagral/commit/1ee94a5de79efa61de668434de830df5abd7ed2d))
106
- * Resolve issue with previous commit where body data was extracted and not passed ([957a49a](https://github.com/mguyard/pydiagral/commit/957a49af6ceff43fbc07662bef2bb6e5da08cb80))
107
- * Resolve issue with WebHookNotification dataclass ([b0a4c46](https://github.com/mguyard/pydiagral/commit/b0a4c46fcf817e509879da8046a7f90a1a2d9afb))
108
- * Return User in WebHookNotification model ([39fc249](https://github.com/mguyard/pydiagral/commit/39fc2493e4abe3aa2e2c2c94ffc483e197efc12d))
109
- * set is_valid_email methode as private with __ ([90795a5](https://github.com/mguyard/pydiagral/commit/90795a5a15c6c110b1eda56309450e2c042e7721))
110
- * Update of models to more match models name purposed in Diagral API and ajust test.py script ([798ddd0](https://github.com/mguyard/pydiagral/commit/798ddd039db6909faf354b7fc463446c260d24eb))
111
- * Update return types in DiagralAPI::get_devices_info methods for improved data handling ([a48ea90](https://github.com/mguyard/pydiagral/commit/a48ea90f97f3c9ac72c5b0ef736feaa301720e54))
112
- * Update WebHookNotification model to require detail and user fields with improved initialization ([b373e3e](https://github.com/mguyard/pydiagral/commit/b373e3e0727334a422c741e64da0947d69c43df5))
113
-
114
-
115
- ### Features
116
-
117
- * Add a class method to create a WebHookNotification instance from a dictionary ([1e17e78](https://github.com/mguyard/pydiagral/commit/1e17e78cbb0275424b4a3c4a1731a23d2b57660a))
118
- * Add a data model for the device list and update the method for retrieving device information ([8b4160a](https://github.com/mguyard/pydiagral/commit/8b4160a8d9426ab3ffe79ce44cdecba82ae90e8b))
119
- * Add alarm_type to WebHookNotification and implement alarm type determination based on alarm_code ([fc87d91](https://github.com/mguyard/pydiagral/commit/fc87d91f868e10cf8594cc916167b2ba0ae68927))
120
- * Add an asynchronous method to retrieve device information from the alarm configuration ([fe1bd8f](https://github.com/mguyard/pydiagral/commit/fe1bd8f46894af25399c27fac07ed6c49c6f644c))
121
- * Add an optional device_label field to WebHookNotificationDetail ([c429777](https://github.com/mguyard/pydiagral/commit/c42977737b9ac83d7c17b0a48667c0c2f9f362d5))
122
- * Add apikey argument in validate_apikey and delete_apikey function ([3c40eab](https://github.com/mguyard/pydiagral/commit/3c40eabfe6100bea6715a789b4d9bb03500fe962))
123
- * Add function to identity webhook type based on alarm_code provided in webhook notification ([088a3c0](https://github.com/mguyard/pydiagral/commit/088a3c03e4aed8f20074ed1b55e1880f9e0ee242))
124
- * Add model for Webhook Notification ([ca1fe40](https://github.com/mguyard/pydiagral/commit/ca1fe4079ef3c0c54c0589ced92621fef73fa6cf))
125
- * Add WebHookNotificationUser model to represent users triggering webhook notifications and include it in WebHookNotification model ([d13341f](https://github.com/mguyard/pydiagral/commit/d13341f5ee328c6c4c8c56d046182885d1fc256c))
126
- * Allow get_configuration function to return results ([f94956a](https://github.com/mguyard/pydiagral/commit/f94956abb4aea8e38aa78451e2d0d6c28c162405))
127
- * Implement webhook registration, update, and deletion functionality ([37d2c40](https://github.com/mguyard/pydiagral/commit/37d2c40151bd7dbe3244bd33ae97e88589aad6d0))
128
- * Improve test script example with more easy usage ([8636b6f](https://github.com/mguyard/pydiagral/commit/8636b6f0c809af94f9b090e5decdfc46dac05e4c))
129
- * Improve test script example with more easy usage ([3199f64](https://github.com/mguyard/pydiagral/commit/3199f64e154f848c745d7e0e6287325b04479355))
130
- * Include timezone (utc) in the created_at answer for get_anomalies function + test adaptation ([9005af8](https://github.com/mguyard/pydiagral/commit/9005af8637000f94e3ff3007696b228d855565f0))
131
- * Inplementation of new methods ([d8a2c18](https://github.com/mguyard/pydiagral/commit/d8a2c18637803436a12b13fe7ce813217b5c8357))
132
- * Update get_anomalies method to return an empty dict if no anomalies are found ([ad2b1da](https://github.com/mguyard/pydiagral/commit/ad2b1daa3b2396866a7f69bfe6aefc0b054dc76d))
@@ -1 +0,0 @@
1
- test
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes