watchpost 0.1.0__py3-none-any.whl

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.
watchpost/__init__.py ADDED
@@ -0,0 +1,71 @@
1
+ # Copyright 2025 TAKKT Industrial & Packaging GmbH
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+ #
15
+ # SPDX-License-Identifier: Apache-2.0
16
+
17
+ from .app import Watchpost
18
+ from .cache import Cache, ChainedStorage, DiskStorage, InMemoryStorage, RedisStorage
19
+ from .check import CheckFunctionResult, check
20
+ from .datasource import (
21
+ Datasource,
22
+ DatasourceFactory,
23
+ DatasourceUnavailable,
24
+ FromFactory,
25
+ )
26
+ from .environment import Environment, EnvironmentRegistry
27
+ from .globals import current_app
28
+ from .result import (
29
+ CheckResult,
30
+ Metric,
31
+ Thresholds,
32
+ build_result,
33
+ crit,
34
+ ok,
35
+ unknown,
36
+ warn,
37
+ )
38
+ from .scheduling_strategy import (
39
+ MustRunAgainstGivenTargetEnvironmentStrategy,
40
+ MustRunInGivenExecutionEnvironmentStrategy,
41
+ MustRunInTargetEnvironmentStrategy,
42
+ )
43
+
44
+ __all__ = [
45
+ "Cache",
46
+ "ChainedStorage",
47
+ "CheckFunctionResult",
48
+ "CheckResult",
49
+ "Datasource",
50
+ "DatasourceFactory",
51
+ "DatasourceUnavailable",
52
+ "DiskStorage",
53
+ "Environment",
54
+ "EnvironmentRegistry",
55
+ "FromFactory",
56
+ "InMemoryStorage",
57
+ "Metric",
58
+ "MustRunAgainstGivenTargetEnvironmentStrategy",
59
+ "MustRunInGivenExecutionEnvironmentStrategy",
60
+ "MustRunInTargetEnvironmentStrategy",
61
+ "RedisStorage",
62
+ "Thresholds",
63
+ "Watchpost",
64
+ "build_result",
65
+ "check",
66
+ "crit",
67
+ "current_app",
68
+ "ok",
69
+ "unknown",
70
+ "warn",
71
+ ]