pydiagral 1.1.0__tar.gz → 1.3.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.1.0 → pydiagral-1.3.0}/.github/workflows/release_and_doc.yaml +1 -1
  2. {pydiagral-1.1.0 → pydiagral-1.3.0}/CHANGELOG.md +14 -0
  3. {pydiagral-1.1.0 → pydiagral-1.3.0}/PKG-INFO +1 -1
  4. pydiagral-1.3.0/docs/models.md +13 -0
  5. {pydiagral-1.1.0 → pydiagral-1.3.0}/src/pydiagral/api.py +1 -4
  6. pydiagral-1.1.0/docs/models.md +0 -16
  7. {pydiagral-1.1.0 → pydiagral-1.3.0}/.devcontainer/Dockerfile.dev +0 -0
  8. {pydiagral-1.1.0 → pydiagral-1.3.0}/.devcontainer/devcontainer.json +0 -0
  9. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/FUNDING.yml +0 -0
  10. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/dependabot.yml +0 -0
  11. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/labels.yml +0 -0
  12. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/workflows/labeler.yml +0 -0
  13. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/workflows/lint.yaml +0 -0
  14. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/workflows/lock.yml +0 -0
  15. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/workflows/pytest.yaml +0 -0
  16. {pydiagral-1.1.0 → pydiagral-1.3.0}/.github/workflows/semantic-prs.yml +0 -0
  17. {pydiagral-1.1.0 → pydiagral-1.3.0}/.gitignore +0 -0
  18. {pydiagral-1.1.0 → pydiagral-1.3.0}/.releaserc +0 -0
  19. {pydiagral-1.1.0 → pydiagral-1.3.0}/.vscode/extensions.json +0 -0
  20. {pydiagral-1.1.0 → pydiagral-1.3.0}/.vscode/settings.json +0 -0
  21. {pydiagral-1.1.0 → pydiagral-1.3.0}/LICENSE +0 -0
  22. {pydiagral-1.1.0 → pydiagral-1.3.0}/README.md +0 -0
  23. {pydiagral-1.1.0 → pydiagral-1.3.0}/docs/api.md +0 -0
  24. {pydiagral-1.1.0 → pydiagral-1.3.0}/docs/exceptions.md +0 -0
  25. {pydiagral-1.1.0 → pydiagral-1.3.0}/docs/how-to-find-diagral-serial.png +0 -0
  26. {pydiagral-1.1.0 → pydiagral-1.3.0}/docs/index.md +0 -0
  27. {pydiagral-1.1.0 → pydiagral-1.3.0}/docs/pydiagral-Logo.png +0 -0
  28. {pydiagral-1.1.0 → pydiagral-1.3.0}/example_code.py +0 -0
  29. {pydiagral-1.1.0 → pydiagral-1.3.0}/mkdocs.yml +0 -0
  30. {pydiagral-1.1.0 → pydiagral-1.3.0}/pyproject.toml +0 -0
  31. {pydiagral-1.1.0 → pydiagral-1.3.0}/src/pydiagral/__init__.py +0 -0
  32. {pydiagral-1.1.0 → pydiagral-1.3.0}/src/pydiagral/constants.py +0 -0
  33. {pydiagral-1.1.0 → pydiagral-1.3.0}/src/pydiagral/exceptions.py +0 -0
  34. {pydiagral-1.1.0 → pydiagral-1.3.0}/src/pydiagral/models.py +0 -0
  35. {pydiagral-1.1.0 → pydiagral-1.3.0}/src/pydiagral/utils.py +0 -0
  36. {pydiagral-1.1.0 → pydiagral-1.3.0}/test.txt +0 -0
  37. {pydiagral-1.1.0 → pydiagral-1.3.0}/tests/__init__.py +0 -0
  38. {pydiagral-1.1.0 → pydiagral-1.3.0}/tests/data/configuration_sample.json +0 -0
  39. {pydiagral-1.1.0 → pydiagral-1.3.0}/tests/data/system_details_sample.json +0 -0
  40. {pydiagral-1.1.0 → pydiagral-1.3.0}/tests/test_pydiagral_api.py +0 -0
@@ -84,7 +84,7 @@ jobs:
84
84
  pip install -e .
85
85
 
86
86
  - name: Build documentation
87
- run: mkdocs build --strict
87
+ run: mkdocs build --strict --verbose
88
88
 
89
89
  - name: Deploy to GitHub Pages
90
90
  uses: peaceiris/actions-gh-pages@v4
@@ -1,3 +1,17 @@
1
+ # [1.3.0](https://github.com/mguyard/pydiagral/compare/v1.2.0...v1.3.0) (2025-02-22)
2
+
3
+
4
+ ### Features
5
+
6
+ * test2 ([68c072c](https://github.com/mguyard/pydiagral/commit/68c072cc100781604710717af877f8963db4dc02))
7
+
8
+ # [1.2.0](https://github.com/mguyard/pydiagral/compare/v1.1.0...v1.2.0) (2025-02-22)
9
+
10
+
11
+ ### Features
12
+
13
+ * test1 ([e7bf5e6](https://github.com/mguyard/pydiagral/commit/e7bf5e6a4a72121a98e413541a0699d195190612))
14
+
1
15
  # [1.1.0](https://github.com/mguyard/pydiagral/compare/v1.0.0...v1.1.0) (2025-02-22)
2
16
 
3
17
 
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: pydiagral
3
- Version: 1.1.0
3
+ Version: 1.3.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
@@ -0,0 +1,13 @@
1
+ <!-- prettier-ignore-start -->
2
+
3
+ # Models Reference
4
+
5
+ ::: pydiagral.models
6
+ handler: python
7
+ options:
8
+ show_root_heading: true
9
+ show_source: false
10
+ members: true
11
+
12
+
13
+ <!-- prettier-ignore-end -->
@@ -134,7 +134,7 @@ class DiagralAPI:
134
134
  method (str): The HTTP method to use for the request (e.g., 'GET', 'POST').
135
135
  endpoint (str): The API endpoint to send the request to.
136
136
  timeout (float, optional): The timeout for the request in seconds. Defaults to 30.
137
- **kwargs: Additional keyword arguments to pass to the request.
137
+ **kwargs (any): Additional keyword arguments to pass to the request.
138
138
 
139
139
  Returns:
140
140
  tuple[dict[str, Any], int]: A tuple containing:
@@ -589,7 +589,6 @@ class DiagralAPI:
589
589
  Raises:
590
590
  ConfigurationError: If the action is not one of the allowed actions.
591
591
  AuthenticationError: If the API key, secret key, or PIN code is missing.
592
- All other exceptions from _request function are propagated.
593
592
 
594
593
  """
595
594
 
@@ -714,7 +713,6 @@ class DiagralAPI:
714
713
  Raises:
715
714
  ConfigurationError: If the action is not 'activate_group' or 'disable_group', or if the groups are invalid.
716
715
  AuthenticationError: If the API key, secret key, or PIN code is not provided.
717
- All other exceptions from _request function are propagated.
718
716
 
719
717
  """
720
718
 
@@ -834,7 +832,6 @@ class DiagralAPI:
834
832
  Raises:
835
833
  ConfigurationError: If the action is not 'enable' or 'disable', or if the product type is invalid.
836
834
  AuthenticationError: If the API key, secret key, or PIN code is not provided.
837
- All other exceptions from _request function are propagated.
838
835
 
839
836
  """
840
837
 
@@ -1,16 +0,0 @@
1
- <!-- prettier-ignore-start -->
2
-
3
- # Models Reference
4
-
5
- ::: pydiagral.models
6
- handler: python
7
- options:
8
- show_root_heading: true
9
- show_source: false
10
- members: true
11
- filters:
12
- - "!^_" # Excludes members starting with an underscore
13
- - "!CamelCaseModel" # Specifically excludes the CamelCaseModel class
14
- - - "!^[a-z]" # Excludes members starting with a minus letter (following Python convention match functions)
15
-
16
- <!-- prettier-ignore-end -->
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
File without changes
File without changes
File without changes
File without changes
File without changes