anomalyarmor-cli 0.1.1__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.
@@ -0,0 +1,58 @@
1
+ """AnomalyArmor SDK for Python.
2
+
3
+ The armor SDK provides programmatic access to AnomalyArmor's data observability platform.
4
+
5
+ Quick Start:
6
+ >>> from anomalyarmor import Client
7
+ >>> client = Client(api_key="aa_live_...")
8
+ >>>
9
+ >>> # List assets
10
+ >>> assets = client.assets.list()
11
+ >>> for asset in assets:
12
+ ... print(asset.qualified_name)
13
+ >>>
14
+ >>> # Check freshness
15
+ >>> freshness = client.freshness.get("postgresql.mydb.public.users")
16
+ >>> if freshness.is_stale:
17
+ ... print(f"Stale for {freshness.hours_since_update} hours")
18
+
19
+ Environment Variables:
20
+ ARMOR_API_KEY: Your API key (alternative to passing in code)
21
+ ARMOR_API_URL: API base URL (default: https://app.anomalyarmor.ai/api/v1)
22
+ """
23
+
24
+ from anomalyarmor._version import __version__
25
+ from anomalyarmor.client import Client
26
+ from anomalyarmor.exceptions import (
27
+ ArmorError,
28
+ AuthenticationError,
29
+ DataStaleError,
30
+ NotFoundError,
31
+ RateLimitError,
32
+ ValidationError,
33
+ )
34
+ from anomalyarmor.models import (
35
+ Alert,
36
+ Asset,
37
+ FreshnessStatus,
38
+ LineageGraph,
39
+ SchemaChange,
40
+ )
41
+
42
+ __all__ = [
43
+ "__version__",
44
+ "Client",
45
+ # Exceptions
46
+ "ArmorError",
47
+ "AuthenticationError",
48
+ "DataStaleError",
49
+ "NotFoundError",
50
+ "RateLimitError",
51
+ "ValidationError",
52
+ # Models
53
+ "Asset",
54
+ "FreshnessStatus",
55
+ "SchemaChange",
56
+ "LineageGraph",
57
+ "Alert",
58
+ ]
@@ -0,0 +1,3 @@
1
+ """Version information for anomalyarmor-cli."""
2
+
3
+ __version__ = "0.1.1"