Repository navigation
Add Zedcloud Python SDK, automation framework, and MCP server - #1
Merged
Merged
Conversation
Introduce a uv/hatchling workspace with: - zedcloud: typed httpx + Pydantic v2 client generated from committed OpenAPI swagger specs (11 services), with retries, ApiError types, Bearer + X-API-KEY auth, and pagination helpers - zedcloud-automation: pytest fixtures, markers, and read-only smoke tests - zedcloud-mcp: stdio MCP server exposing focused nodes/apps/networks/k8s/jobs tools - codegen script, Makefile, CI (ruff + mocked tests), MIT license, docs Co-authored-by: vignesh-zededa <vignesh-zededa@users.noreply.github.com>
Remove shared tests/__init__.py packages that collided across members and use --import-mode=importlib for the monorepo. Co-authored-by: vignesh-zededa <vignesh-zededa@users.noreply.github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Production-quality Python monorepo for ZEDEDA Zedcloud APIs:
zedcloud— typed sync SDK (httpx+ Pydantic v2) with service namespaces (apps,nodes,networks,iam,k8s,storage,jobs, …)zedcloud-automation— pytest fixtures/markers + read-only smoke tests (skip without credentials)zedcloud-mcp— stdio MCP server (mcp 2.xMCPServer) with 16 focused toolsopenapi/+scripts/generate_from_openapi.pycodegen pipelineAuth
ZEDCLOUD_BASE_URL+ZEDCLOUD_TOKEN(Bearer)X-API-KEY(optionalZEDCLOUD_API_KEY, defaults to token)Verification
uv sync --all-packages --group devmake generate(idempotent; CI checks clean tree)uv run pytest -q -m "not needs_cloud"→ 8 passedlist_tools→ 16 toolsNotes
listaslist_(Pydantic reserved-name handling)type+$refswagger quirks beforedatamodel-code-generator