drkm 0.0.0.dev0__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.
- drkm-0.0.0.dev0/.gitignore +1 -0
- drkm-0.0.0.dev0/LICENSE +1 -0
- drkm-0.0.0.dev0/PKG-INFO +25 -0
- drkm-0.0.0.dev0/README.md +11 -0
- drkm-0.0.0.dev0/pyproject.toml +24 -0
- drkm-0.0.0.dev0/src/drkm/__init__.py +27 -0
- drkm-0.0.0.dev0/src/drkm/__main__.py +5 -0
- drkm-0.0.0.dev0/src/drkm/py.typed +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
dist/
|
drkm-0.0.0.dev0/LICENSE
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
Copyright 2026 Darkmatter Labs Inc. All rights reserved.
|
drkm-0.0.0.dev0/PKG-INFO
ADDED
|
@@ -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,11 @@
|
|
|
1
|
+
# drkm
|
|
2
|
+
|
|
3
|
+
drkm is the import name of Darkmatter's Python SDK (https://drkm.ai). Agent
|
|
4
|
+
code and operator programs use the SDK to run jobs, delegate tasks and call
|
|
5
|
+
connector tools on a Darkmatter outpost.
|
|
6
|
+
|
|
7
|
+
The SDK ships with a Darkmatter deployment and is available to Darkmatter
|
|
8
|
+
customers. This release points there: `import drkm` succeeds, and reaching
|
|
9
|
+
for any name in it raises `drkm.SDKNotIncluded` with the way to the SDK.
|
|
10
|
+
|
|
11
|
+
To get the SDK, contact Darkmatter at https://drkm.ai.
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
[project]
|
|
2
|
+
name = "drkm"
|
|
3
|
+
version = "0.0.0.dev0"
|
|
4
|
+
description = "The import name of Darkmatter's Python SDK. The SDK ships with a Darkmatter deployment; this release points there."
|
|
5
|
+
readme = "README.md"
|
|
6
|
+
requires-python = ">=3.12"
|
|
7
|
+
license = "LicenseRef-Proprietary"
|
|
8
|
+
license-files = ["LICENSE"]
|
|
9
|
+
authors = [{ name = "Darkmatter" }]
|
|
10
|
+
classifiers = [
|
|
11
|
+
"Operating System :: OS Independent",
|
|
12
|
+
"Programming Language :: Python :: 3",
|
|
13
|
+
"Typing :: Typed",
|
|
14
|
+
]
|
|
15
|
+
|
|
16
|
+
[project.urls]
|
|
17
|
+
Homepage = "https://drkm.ai"
|
|
18
|
+
|
|
19
|
+
[build-system]
|
|
20
|
+
requires = ["hatchling>=1.27"]
|
|
21
|
+
build-backend = "hatchling.build"
|
|
22
|
+
|
|
23
|
+
[tool.hatch.build.targets.wheel]
|
|
24
|
+
packages = ["src/drkm"]
|
|
@@ -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}")
|
|
File without changes
|