dockerhub-api 1.3.8__tar.gz → 1.3.10__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.
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/PKG-INFO +9 -9
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/README.md +7 -7
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_audit_logs.py +3 -3
- dockerhub_api-1.3.10/dockerhub_api/connector_contracts.py +961 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/kg_ingest.py +3 -3
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/mcp/__init__.py +2 -46
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/mcp/mcp_admin.py +1 -1
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/mcp/mcp_kg.py +2 -2
- dockerhub_api-1.3.10/dockerhub_api/mcp_server.py +26 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/ontology/certification.json +3 -3
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/ontology/dockerhub.ttl +4 -12
- dockerhub_api-1.3.10/dockerhub_api/ontology/shapes/connector.shacl.ttl +64 -0
- dockerhub_api-1.3.10/dockerhub_api/prompts/dockerhub-mcp-operator.json +277 -0
- dockerhub_api-1.3.10/dockerhub_api/prompts/dockerhub-mcp-organization-administrator.json +184 -0
- dockerhub_api-1.3.10/dockerhub_api/prompts/dockerhub-mcp-release-engineer.json +156 -0
- dockerhub_api-1.3.10/dockerhub_api/prompts/dockerhub-mcp-security-analyst.json +123 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/skills/dockerhub-api-development/SKILL.md +5 -5
- dockerhub_api-1.3.10/dockerhub_api/skills/dockerhub-api-operations/SKILL.md +74 -0
- dockerhub_api-1.3.10/dockerhub_api/skills/dockerhub-image-registry-scout/SKILL.md +62 -0
- dockerhub_api-1.3.10/dockerhub_api/skills/dockerhub-org-administration/SKILL.md +109 -0
- dockerhub_api-1.3.10/dockerhub_api/skills/dockerhub-repository-management/SKILL.md +56 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api.egg-info/PKG-INFO +9 -9
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api.egg-info/SOURCES.txt +5 -13
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api.egg-info/requires.txt +1 -1
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/pyproject.toml +2 -2
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_audit.py +1 -1
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_kg_ingest.py +3 -3
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_audit.py +0 -44
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_auth.py +0 -66
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_org.py +0 -58
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_registry.py +0 -80
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_repos.py +0 -58
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_scim.py +0 -56
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_scout.py +0 -60
- dockerhub_api-1.3.8/dockerhub_api/mcp/mcp_teams.py +0 -55
- dockerhub_api-1.3.8/dockerhub_api/mcp_server.py +0 -44
- dockerhub_api-1.3.8/dockerhub_api/ontology/shapes/connector.shacl.ttl +0 -144
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-api-operations/SKILL.md +0 -33
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-api-operations/agents/openai.yaml +0 -4
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-api-operations/references/catalog.md +0 -7
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-image-registry-scout/SKILL.md +0 -107
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-image-registry-scout/WORKFLOW.md +0 -93
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-org-administration/SKILL.md +0 -105
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-org-administration/WORKFLOW.md +0 -91
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-repository-management/SKILL.md +0 -111
- dockerhub_api-1.3.8/dockerhub_api/skills/dockerhub-repository-management/WORKFLOW.md +0 -97
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/LICENSE +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/__init__.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/__main__.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/__init__.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_access_tokens.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_auth.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_base.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_groups.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_org_access_tokens.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_orgs.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_registry.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_registry_base.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_repositories.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_scim.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api/api_client_scout.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/api_client.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/auth.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/connector_sources.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/dockerhub_input_models.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/dockerhub_response_models.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/mcp_config.json +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/ontology/__init__.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/ontology/fixtures/records.json +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/ontology/mappings/source.yaml +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api/ontology/migrations/manifest.json +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api.egg-info/dependency_links.txt +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api.egg-info/entry_points.txt +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/dockerhub_api.egg-info/top_level.txt +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/setup.cfg +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_org.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_registry.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_repositories.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_scim.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_scout.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_teams.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_tokens.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_api_wrapper.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_auth.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_dockerhub_a2a_validation.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_dockerhub_mcp_validation.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_fleet_name.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_identity_namespace_scoping.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_init_dynamics.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_models.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_rate_limit.py +0 -0
- {dockerhub_api-1.3.8 → dockerhub_api-1.3.10}/tests/test_startup.py +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: dockerhub-api
|
|
3
|
-
Version: 1.3.
|
|
3
|
+
Version: 1.3.10
|
|
4
4
|
Summary: Docker Hub API + MCP Server
|
|
5
5
|
Author-email: Repository Maintainers <maintainers@knuckles.team>
|
|
6
6
|
License: MIT
|
|
@@ -12,7 +12,7 @@ Classifier: Programming Language :: Python :: 3
|
|
|
12
12
|
Requires-Python: <3.15,>=3.12
|
|
13
13
|
Description-Content-Type: text/markdown
|
|
14
14
|
License-File: LICENSE
|
|
15
|
-
Requires-Dist: scion-sdk[mcp]
|
|
15
|
+
Requires-Dist: scion-sdk[mcp]>=0.9.0
|
|
16
16
|
Requires-Dist: httpx>=0.28.1
|
|
17
17
|
Requires-Dist: python-dotenv>=1.2.4
|
|
18
18
|
Provides-Extra: test
|
|
@@ -126,7 +126,7 @@ One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):
|
|
|
126
126
|
|
|
127
127
|
| Image tag | Build target | Contents | Entrypoint |
|
|
128
128
|
|-----------|--------------|----------|------------|
|
|
129
|
-
| `example/dockerhub-api:mcp` | `--target mcp` | `dockerhub-api[mcp]` — **connector-focused**, includes `
|
|
129
|
+
| `example/dockerhub-api:mcp` | `--target mcp` | `dockerhub-api[mcp]` — **connector-focused**, includes `medulla`; no model-orchestration stack | `dockerhub-mcp` |
|
|
130
130
|
|
|
131
131
|
```bash
|
|
132
132
|
docker build --target mcp -t example/dockerhub-api:mcp docker/ # connector-focused MCP server
|
|
@@ -134,14 +134,14 @@ docker build --target mcp -t example/dockerhub-api:mcp docker/ # connecto
|
|
|
134
134
|
|
|
135
135
|
agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
|
|
136
136
|
|
|
137
|
-
### Knowledge-graph database (`
|
|
137
|
+
### Knowledge-graph database (`medulla`)
|
|
138
138
|
|
|
139
|
-
Scion SDK core dependency (`
|
|
139
|
+
Scion SDK core dependency (`medulla`). The `[mcp]` extra keeps
|
|
140
140
|
deployments can use the bundled engine. For production or shared state, run
|
|
141
|
-
**
|
|
141
|
+
**medulla as a dedicated database service** and configure the runtime to use it.
|
|
142
142
|
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
|
|
143
143
|
diagrams are documented in the
|
|
144
|
-
[
|
|
144
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
145
145
|
|
|
146
146
|
---
|
|
147
147
|
|
|
@@ -178,7 +178,7 @@ _Auto-generated — do not edit (synced by the `mcp-readme-table` pre-commit hoo
|
|
|
178
178
|
| `hub_admin` | `ADMINTOOL` | Client diagnostics: 'rate_limit' returns the latest |
|
|
179
179
|
| `hub_audit` | `AUDITTOOL` | Read a Docker Hub account's audit trail: 'logs' lists events |
|
|
180
180
|
| `hub_auth` | `AUTHTOOL` | Manage Docker Hub authentication, personal access tokens (PATs), |
|
|
181
|
-
| `dockerhub_ingest_repositories` | `KGTOOL` | Natively ingest repositories into the
|
|
181
|
+
| `dockerhub_ingest_repositories` | `KGTOOL` | Natively ingest repositories into the medulla as typed :Repository/:ContainerImage nodes. |
|
|
182
182
|
| `hub_org` | `ORGTOOL` | Manage a Docker Hub organization: settings (restricted images), |
|
|
183
183
|
| `hub_registry` | `REGISTRYTOOL` | Docker Registry v2 image operations (``registry-1.docker.io``): |
|
|
184
184
|
| `hub_repos` | `REPOSTOOL` | Manage Docker Hub repositories: list/create/inspect repositories, |
|
|
@@ -259,7 +259,7 @@ _9 action-routed tool(s) (default) · 54 verbose 1:1 tool(s). Each is enabled un
|
|
|
259
259
|
|
|
260
260
|
> **Install the connector-focused `[mcp]` extra.** Examples use `dockerhub-api[mcp]` to add
|
|
261
261
|
> FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
|
|
262
|
-
> still carries `
|
|
262
|
+
> still carries `medulla`. The `[agent-runtime]` extra additionally
|
|
263
263
|
> enables model orchestration.
|
|
264
264
|
|
|
265
265
|
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
@@ -102,7 +102,7 @@ One multi-stage `docker/Dockerfile` builds the MCP-only image (`--target mcp`):
|
|
|
102
102
|
|
|
103
103
|
| Image tag | Build target | Contents | Entrypoint |
|
|
104
104
|
|-----------|--------------|----------|------------|
|
|
105
|
-
| `example/dockerhub-api:mcp` | `--target mcp` | `dockerhub-api[mcp]` — **connector-focused**, includes `
|
|
105
|
+
| `example/dockerhub-api:mcp` | `--target mcp` | `dockerhub-api[mcp]` — **connector-focused**, includes `medulla`; no model-orchestration stack | `dockerhub-mcp` |
|
|
106
106
|
|
|
107
107
|
```bash
|
|
108
108
|
docker build --target mcp -t example/dockerhub-api:mcp docker/ # connector-focused MCP server
|
|
@@ -110,14 +110,14 @@ docker build --target mcp -t example/dockerhub-api:mcp docker/ # connecto
|
|
|
110
110
|
|
|
111
111
|
agent (`immutable agent digest`) with a co-located `:mcp` sidecar.
|
|
112
112
|
|
|
113
|
-
### Knowledge-graph database (`
|
|
113
|
+
### Knowledge-graph database (`medulla`)
|
|
114
114
|
|
|
115
|
-
Scion SDK core dependency (`
|
|
115
|
+
Scion SDK core dependency (`medulla`). The `[mcp]` extra keeps
|
|
116
116
|
deployments can use the bundled engine. For production or shared state, run
|
|
117
|
-
**
|
|
117
|
+
**medulla as a dedicated database service** and configure the runtime to use it.
|
|
118
118
|
Deployment recipes (single-node + Raft HA), connection configuration, and architecture
|
|
119
119
|
diagrams are documented in the
|
|
120
|
-
[
|
|
120
|
+
[medulla deployment guide](https://knuckles-team.github.io/medulla/deployment/).
|
|
121
121
|
|
|
122
122
|
---
|
|
123
123
|
|
|
@@ -154,7 +154,7 @@ _Auto-generated — do not edit (synced by the `mcp-readme-table` pre-commit hoo
|
|
|
154
154
|
| `hub_admin` | `ADMINTOOL` | Client diagnostics: 'rate_limit' returns the latest |
|
|
155
155
|
| `hub_audit` | `AUDITTOOL` | Read a Docker Hub account's audit trail: 'logs' lists events |
|
|
156
156
|
| `hub_auth` | `AUTHTOOL` | Manage Docker Hub authentication, personal access tokens (PATs), |
|
|
157
|
-
| `dockerhub_ingest_repositories` | `KGTOOL` | Natively ingest repositories into the
|
|
157
|
+
| `dockerhub_ingest_repositories` | `KGTOOL` | Natively ingest repositories into the medulla as typed :Repository/:ContainerImage nodes. |
|
|
158
158
|
| `hub_org` | `ORGTOOL` | Manage a Docker Hub organization: settings (restricted images), |
|
|
159
159
|
| `hub_registry` | `REGISTRYTOOL` | Docker Registry v2 image operations (``registry-1.docker.io``): |
|
|
160
160
|
| `hub_repos` | `REPOSTOOL` | Manage Docker Hub repositories: list/create/inspect repositories, |
|
|
@@ -235,7 +235,7 @@ _9 action-routed tool(s) (default) · 54 verbose 1:1 tool(s). Each is enabled un
|
|
|
235
235
|
|
|
236
236
|
> **Install the connector-focused `[mcp]` extra.** Examples use `dockerhub-api[mcp]` to add
|
|
237
237
|
> FastMCP / FastAPI through `scion-sdk`; the required Scion SDK core
|
|
238
|
-
> still carries `
|
|
238
|
+
> still carries `medulla`. The `[agent-runtime]` extra additionally
|
|
239
239
|
> enables model orchestration.
|
|
240
240
|
|
|
241
241
|
#### stdio Transport (local IDEs — Cursor, Claude Desktop, VS Code)
|
|
@@ -20,7 +20,7 @@ class DockerHubApiAuditLogs(DockerHubApiBase):
|
|
|
20
20
|
def get_audit_logs(
|
|
21
21
|
self,
|
|
22
22
|
account: str,
|
|
23
|
-
|
|
23
|
+
audit_action: str | None = None,
|
|
24
24
|
name: str | None = None,
|
|
25
25
|
actor: str | None = None,
|
|
26
26
|
from_date: str | None = None,
|
|
@@ -30,12 +30,12 @@ class DockerHubApiAuditLogs(DockerHubApiBase):
|
|
|
30
30
|
) -> dict[str, Any]:
|
|
31
31
|
"""List audit-log events for a namespace.
|
|
32
32
|
|
|
33
|
-
Filters: ``
|
|
33
|
+
Filters: ``audit_action``, ``name`` (object), ``actor`` (username), and a
|
|
34
34
|
``from_date``/``to_date`` RFC 3339 window (sent as ``from``/``to``).
|
|
35
35
|
"""
|
|
36
36
|
model = AuditLogModel(
|
|
37
37
|
account=account,
|
|
38
|
-
action=
|
|
38
|
+
action=audit_action,
|
|
39
39
|
name=name,
|
|
40
40
|
actor=actor,
|
|
41
41
|
from_date=from_date,
|