dbca-utils 3.0.10__tar.gz → 3.0.12__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.
Files changed (23) hide show
  1. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/PKG-INFO +4 -2
  2. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/pyproject.toml +4 -2
  3. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/src/dbca_utils/apps.py +3 -6
  4. dbca_utils-3.0.12/src/dbca_utils/healthcheck/healthcheck.py +1011 -0
  5. dbca_utils-3.0.10/src/dbca_utils/healthcheck/healthcheck.py +0 -767
  6. dbca_utils-3.0.10/src/dbca_utils/healthcheck/urls.py +0 -16
  7. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/LICENSE +0 -0
  8. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/README.md +0 -0
  9. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/src/dbca_utils/__init__.py +0 -0
  10. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/src/dbca_utils/healthcheck/__init__.py +0 -0
  11. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/src/dbca_utils/middleware.py +0 -0
  12. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/src/dbca_utils/models.py +0 -0
  13. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/src/dbca_utils/utils.py +0 -0
  14. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/__init__.py +0 -0
  15. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/apps.py +0 -0
  16. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/migrations/0001_initial.py +0 -0
  17. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/migrations/__init__.py +0 -0
  18. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/models.py +0 -0
  19. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/settings.py +0 -0
  20. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/templates/tests/test_model_list.html +0 -0
  21. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/tests.py +0 -0
  22. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/urls.py +0 -0
  23. {dbca_utils-3.0.10 → dbca_utils-3.0.12}/tests/views.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: dbca-utils
3
- Version: 3.0.10
3
+ Version: 3.0.12
4
4
  Summary: Utilities for DBCA Django apps
5
5
  Author-Email: Rocky Chen <rocky.chen@dbca.wa.gov.au>, Ashley Felton <ashley.felton@dbca.wa.gov.au>
6
6
  License-Expression: Apache-2.0
@@ -23,7 +23,9 @@ Project-URL: Changelog, https://github.com/dbca-wa/dbca-utils/blob/main/CHANGELO
23
23
  Project-URL: GitHub, https://github.com/dbca-wa/dbca-utils
24
24
  Requires-Python: <4.0,>=3.12
25
25
  Requires-Dist: django<6.2,>=5.2
26
- Requires-Dist: markupsafe>=3.0.3
26
+ Requires-Dist: markupsafe>=3.0
27
+ Requires-Dist: psutil>=7.2
28
+ Requires-Dist: requests>=2.33
27
29
  Description-Content-Type: text/markdown
28
30
 
29
31
  # Overview
@@ -1,6 +1,6 @@
1
1
  [project]
2
2
  name = "dbca-utils"
3
- version = "3.0.10"
3
+ version = "3.0.12"
4
4
  description = "Utilities for DBCA Django apps"
5
5
  authors = [
6
6
  { name = "Rocky Chen", email = "rocky.chen@dbca.wa.gov.au" },
@@ -26,7 +26,9 @@ classifiers = [
26
26
  requires-python = ">=3.12,<4.0"
27
27
  dependencies = [
28
28
  "django>=5.2,<6.2",
29
- "markupsafe>=3.0.3",
29
+ "markupsafe>=3.0",
30
+ "psutil>=7.2",
31
+ "requests>=2.33",
30
32
  ]
31
33
 
32
34
  [project.urls]
@@ -1,14 +1,11 @@
1
- import atexit
2
-
3
1
  from django.apps import AppConfig
2
+
4
3
  from .healthcheck import healthcheck
5
4
 
6
5
 
7
6
  class DbcaUtilsConfig(AppConfig):
8
- name = 'dbca_utils'
7
+ name = "dbca_utils"
9
8
 
10
9
  def ready(self):
11
10
  if healthcheck.HEALTHCHECK_ENABLED:
12
- healthcheck.register_healtcheckurls()
13
-
14
-
11
+ healthcheck.register_healthcheck_urls()