drkm 0.0.0.dev0__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.
drkm/__init__.py ADDED
@@ -0,0 +1,27 @@
1
+ """The import name of Darkmatter's Python SDK (https://drkm.ai).
2
+
3
+ The SDK ships with a Darkmatter deployment and is available to Darkmatter
4
+ customers. This release points there: importing it works, and reaching for
5
+ any other name in it, through attribute access, `from drkm import ...`,
6
+ `hasattr` or `getattr` with a default, raises `SDKNotIncluded`, which says
7
+ where the SDK comes from.
8
+ """
9
+
10
+ __version__ = "0.0.0.dev0"
11
+ __all__ = ["SDKNotIncluded", "__version__"]
12
+
13
+ _MESSAGE = (
14
+ "The drkm SDK ships with a Darkmatter deployment and is available to "
15
+ "Darkmatter customers. This release of drkm is not the SDK; it points "
16
+ "there. See https://drkm.ai."
17
+ )
18
+
19
+
20
+ class SDKNotIncluded(ImportError):
21
+ """A name of the drkm SDK was reached for in the release that points to it."""
22
+
23
+
24
+ def __getattr__(name: str) -> object:
25
+ if name.startswith("_"):
26
+ raise AttributeError(f"module 'drkm' has no attribute {name!r}")
27
+ raise SDKNotIncluded(f"drkm.{name} is part of the drkm SDK. {_MESSAGE}")
drkm/__main__.py ADDED
@@ -0,0 +1,5 @@
1
+ """`python -m drkm` from the public release: say where the SDK comes from."""
2
+
3
+ from drkm import _MESSAGE
4
+
5
+ raise SystemExit(_MESSAGE)
drkm/py.typed ADDED
File without changes
@@ -0,0 +1,25 @@
1
+ Metadata-Version: 2.5
2
+ Name: drkm
3
+ Version: 0.0.0.dev0
4
+ Summary: The import name of Darkmatter's Python SDK. The SDK ships with a Darkmatter deployment; this release points there.
5
+ Project-URL: Homepage, https://drkm.ai
6
+ Author: Darkmatter
7
+ License-Expression: LicenseRef-Proprietary
8
+ License-File: LICENSE
9
+ Classifier: Operating System :: OS Independent
10
+ Classifier: Programming Language :: Python :: 3
11
+ Classifier: Typing :: Typed
12
+ Requires-Python: >=3.12
13
+ Description-Content-Type: text/markdown
14
+
15
+ # drkm
16
+
17
+ drkm is the import name of Darkmatter's Python SDK (https://drkm.ai). Agent
18
+ code and operator programs use the SDK to run jobs, delegate tasks and call
19
+ connector tools on a Darkmatter outpost.
20
+
21
+ The SDK ships with a Darkmatter deployment and is available to Darkmatter
22
+ customers. This release points there: `import drkm` succeeds, and reaching
23
+ for any name in it raises `drkm.SDKNotIncluded` with the way to the SDK.
24
+
25
+ To get the SDK, contact Darkmatter at https://drkm.ai.
@@ -0,0 +1,7 @@
1
+ drkm/__init__.py,sha256=3umzTLdsPJR5htBk2LMj6RjWbFZ3I6LImV9OmxUQIAo,1004
2
+ drkm/__main__.py,sha256=j12JBOMJAU2KnRTTN9DpBkEH_MdTXGiP9V8FXgdLt1o,133
3
+ drkm/py.typed,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
4
+ drkm-0.0.0.dev0.dist-info/METADATA,sha256=VkHcqHxGRRzLvdLNykc7WNuskuZlSHS-piNmAbdbYSM,968
5
+ drkm-0.0.0.dev0.dist-info/WHEEL,sha256=W3fkpkm7-wf9vBI5Z-7s0eWkeM-spu78I8Neb98DeEg,87
6
+ drkm-0.0.0.dev0.dist-info/licenses/LICENSE,sha256=RSnsmc_8up4r7ltcMqB7sToEgPq7muGvJs2PY4J9Wpo,57
7
+ drkm-0.0.0.dev0.dist-info/RECORD,,
@@ -0,0 +1,4 @@
1
+ Wheel-Version: 1.0
2
+ Generator: hatchling 1.32.4
3
+ Root-Is-Purelib: true
4
+ Tag: py3-none-any
@@ -0,0 +1 @@
1
+ Copyright 2026 Darkmatter Labs Inc. All rights reserved.