pythonkuma 0.5.0__tar.gz → 0.5.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.
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/PKG-INFO +1 -1
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/pyproject.toml +9 -9
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/pythonkuma/__init__.py +1 -1
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/pythonkuma/models.py +29 -21
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/.gitignore +0 -0
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/LICENSE +0 -0
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/README.md +0 -0
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/pythonkuma/exceptions.py +0 -0
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/pythonkuma/py.typed +0 -0
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/pythonkuma/update.py +0 -0
- {pythonkuma-0.5.0 → pythonkuma-0.5.1}/pythonkuma/uptimekuma.py +0 -0
|
@@ -42,21 +42,21 @@ python = ["3.14", "3.13", "3.12"]
|
|
|
42
42
|
|
|
43
43
|
[tool.hatch.envs.default]
|
|
44
44
|
dependencies = [
|
|
45
|
-
"ruff==0.15.
|
|
46
|
-
"aiohttp==3.13.
|
|
47
|
-
"prometheus-client==0.
|
|
45
|
+
"ruff==0.15.12",
|
|
46
|
+
"aiohttp==3.13.5",
|
|
47
|
+
"prometheus-client==0.25.0",
|
|
48
48
|
"mashumaro==3.20",
|
|
49
|
-
"mkdocs-material==9.7.
|
|
50
|
-
"mkdocstrings[python]==1.0.
|
|
49
|
+
"mkdocs-material==9.7.6",
|
|
50
|
+
"mkdocstrings[python]==1.0.4",
|
|
51
51
|
"pytest-asyncio==1.3.0",
|
|
52
|
-
"pytest==9.0.
|
|
53
|
-
"pytest-cov==7.
|
|
52
|
+
"pytest==9.0.3",
|
|
53
|
+
"pytest-cov==7.1.0",
|
|
54
54
|
"syrupy==5.1.0",
|
|
55
55
|
]
|
|
56
56
|
|
|
57
57
|
[tool.hatch.envs.hatch-static-analysis]
|
|
58
58
|
dependencies = [
|
|
59
|
-
"ruff==0.15.
|
|
59
|
+
"ruff==0.15.12",
|
|
60
60
|
]
|
|
61
61
|
config-path = "none"
|
|
62
62
|
|
|
@@ -69,7 +69,7 @@ pythonpath = ["pythonkuma"]
|
|
|
69
69
|
|
|
70
70
|
[tool.hatch.envs.hatch-test]
|
|
71
71
|
extra-dependencies = [
|
|
72
|
-
"pytest-cov==7.
|
|
72
|
+
"pytest-cov==7.1.0",
|
|
73
73
|
"pytest-asyncio==1.3.0",
|
|
74
74
|
"syrupy==5.1.0",
|
|
75
75
|
]
|
|
@@ -21,37 +21,45 @@ class MonitorStatus(IntEnum):
|
|
|
21
21
|
class MonitorType(StrEnum):
|
|
22
22
|
"""Monitors type."""
|
|
23
23
|
|
|
24
|
+
# General monitor type
|
|
24
25
|
HTTP = "http"
|
|
26
|
+
KEYWORD = "keyword"
|
|
25
27
|
PORT = "port"
|
|
26
28
|
PING = "ping"
|
|
27
|
-
KEYWORD = "keyword"
|
|
28
29
|
DNS = "dns"
|
|
29
|
-
PUSH = "push"
|
|
30
|
-
STEAM = "steam"
|
|
31
|
-
MQTT = "mqtt"
|
|
32
|
-
SQLSERVER = "sqlserver"
|
|
33
|
-
JSON_QUERY = "json-query"
|
|
34
|
-
GROUP = "group"
|
|
35
30
|
DOCKER = "docker"
|
|
36
|
-
|
|
31
|
+
SYSTEM_SERVICE = "system-service"
|
|
37
32
|
REAL_BROWSER = "real-browser"
|
|
38
|
-
|
|
33
|
+
# Special
|
|
34
|
+
GROUP = "group"
|
|
35
|
+
# Passive monitor type
|
|
36
|
+
PUSH = "push"
|
|
37
|
+
MANUAL = "manual"
|
|
38
|
+
# Specific monitor type
|
|
39
|
+
GLOBALPING = "globalping"
|
|
40
|
+
GRPC_KEYWORD = "grpc-keyword"
|
|
41
|
+
JSON_QUERY = "json-query"
|
|
39
42
|
KAFKA_PRODUCER = "kafka-producer"
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
RADIUS = "radius"
|
|
44
|
-
REDIS = "redis"
|
|
45
|
-
TAILSCALE_PING = "tailscale-ping"
|
|
43
|
+
MQTT = "mqtt"
|
|
44
|
+
RABBIT_MQ = "rabbitmq"
|
|
45
|
+
SIP_OPTIONS = "sip-options"
|
|
46
46
|
SMTP = "smtp"
|
|
47
47
|
SNMP = "snmp"
|
|
48
|
-
|
|
49
|
-
MANUAL = "manual"
|
|
50
|
-
UNKNOWN = "unknown"
|
|
48
|
+
TAILSCALE_PING = "tailscale-ping"
|
|
51
49
|
WEBSOCKET_UPGRADE = "websocket-upgrade"
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
# Database monitor type
|
|
51
|
+
SQLSERVER = "sqlserver"
|
|
52
|
+
MONGODB = "mongodb"
|
|
53
|
+
MYSQL = "mysql"
|
|
54
|
+
ORACLEDB = "oracledb"
|
|
55
|
+
POSTGRES = "postgres"
|
|
56
|
+
REDIS = "redis"
|
|
57
|
+
RADIUS = "radius"
|
|
58
|
+
# Game server
|
|
59
|
+
GAMEDIG = "gamedig"
|
|
60
|
+
STEAM = "steam"
|
|
61
|
+
# other
|
|
62
|
+
UNKNOWN = "unknown"
|
|
55
63
|
|
|
56
64
|
@classmethod
|
|
57
65
|
def _missing_(cls, _: object) -> Self:
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|