pyagent-dns 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.
- pyagent_dns/__init__.py +78 -0
- pyagent_dns/authority.py +1240 -0
- pyagent_dns/blueprint.py +178 -0
- pyagent_dns/diagnostics.py +90 -0
- pyagent_dns/events.py +87 -0
- pyagent_dns/middleware.py +392 -0
- pyagent_dns/py.typed +1 -0
- pyagent_dns/records.py +490 -0
- pyagent_dns/registry.py +254 -0
- pyagent_dns/resolver.py +141 -0
- pyagent_dns/signing.py +280 -0
- pyagent_dns-0.1.0.dist-info/METADATA +284 -0
- pyagent_dns-0.1.0.dist-info/RECORD +14 -0
- pyagent_dns-0.1.0.dist-info/WHEEL +4 -0
pyagent_dns/__init__.py
ADDED
|
@@ -0,0 +1,78 @@
|
|
|
1
|
+
"""pyagent-dns: Agent naming plane and authority graph for multi-agent systems."""
|
|
2
|
+
|
|
3
|
+
from __future__ import annotations
|
|
4
|
+
|
|
5
|
+
from pyagent_dns.authority import (
|
|
6
|
+
HIGH_RISK_ACTIONS,
|
|
7
|
+
Action,
|
|
8
|
+
AttenuationError,
|
|
9
|
+
AuthorityGraph,
|
|
10
|
+
CallContext,
|
|
11
|
+
Decision,
|
|
12
|
+
DelegationResult,
|
|
13
|
+
DelegationTerms,
|
|
14
|
+
DelegationToken,
|
|
15
|
+
Grant,
|
|
16
|
+
GrantEffect,
|
|
17
|
+
GrantScope,
|
|
18
|
+
Limits,
|
|
19
|
+
Obligation,
|
|
20
|
+
Outcome,
|
|
21
|
+
ResourceSelector,
|
|
22
|
+
)
|
|
23
|
+
from pyagent_dns.blueprint import DnsBundle, DnsExtensionSpec, load_blueprint_dns
|
|
24
|
+
from pyagent_dns.middleware import (
|
|
25
|
+
AuthorizationDeniedError,
|
|
26
|
+
AuthorizedAgent,
|
|
27
|
+
DnsMiddleware,
|
|
28
|
+
SessionCounter,
|
|
29
|
+
)
|
|
30
|
+
from pyagent_dns.records import (
|
|
31
|
+
Identity,
|
|
32
|
+
NameRecord,
|
|
33
|
+
RecordInfo,
|
|
34
|
+
RecordKind,
|
|
35
|
+
RecordLoadError,
|
|
36
|
+
RecordStatus,
|
|
37
|
+
)
|
|
38
|
+
from pyagent_dns.registry import NameRegistry
|
|
39
|
+
from pyagent_dns.resolver import Resolution, Resolver
|
|
40
|
+
from pyagent_dns.signing import VerificationStatus
|
|
41
|
+
|
|
42
|
+
__version__ = "0.1.0"
|
|
43
|
+
|
|
44
|
+
__all__ = [
|
|
45
|
+
"HIGH_RISK_ACTIONS",
|
|
46
|
+
"Action",
|
|
47
|
+
"AttenuationError",
|
|
48
|
+
"AuthorityGraph",
|
|
49
|
+
"AuthorizationDeniedError",
|
|
50
|
+
"AuthorizedAgent",
|
|
51
|
+
"CallContext",
|
|
52
|
+
"Decision",
|
|
53
|
+
"DelegationResult",
|
|
54
|
+
"DelegationTerms",
|
|
55
|
+
"DelegationToken",
|
|
56
|
+
"DnsBundle",
|
|
57
|
+
"DnsExtensionSpec",
|
|
58
|
+
"DnsMiddleware",
|
|
59
|
+
"Grant",
|
|
60
|
+
"GrantEffect",
|
|
61
|
+
"GrantScope",
|
|
62
|
+
"Identity",
|
|
63
|
+
"Limits",
|
|
64
|
+
"NameRecord",
|
|
65
|
+
"NameRegistry",
|
|
66
|
+
"Obligation",
|
|
67
|
+
"Outcome",
|
|
68
|
+
"RecordInfo",
|
|
69
|
+
"RecordKind",
|
|
70
|
+
"RecordLoadError",
|
|
71
|
+
"RecordStatus",
|
|
72
|
+
"Resolution",
|
|
73
|
+
"Resolver",
|
|
74
|
+
"ResourceSelector",
|
|
75
|
+
"SessionCounter",
|
|
76
|
+
"VerificationStatus",
|
|
77
|
+
"load_blueprint_dns",
|
|
78
|
+
]
|