Skip to main content

Python client for the DuploCloud AI HelpDesk API

Project description

duplo-ai-helpdesk-sdk

Python client for the DuploCloud AI HelpDesk API, generated from the studio service's OpenAPI document with openapi-generator (pydantic v2 models).

pip install duplo-ai-helpdesk-sdk
from duplo_ai_helpdesk_sdk.models.workspace import Workspace
ws = Workspace.model_validate(payload)   # payload = a dict from the API

This package is consumed by duploctl for request/response model validation. duploctl keeps its own HTTP client; the generated API/transport classes are not required for that use.

Versioning

This SDK follows independent SemVer: its version is its own, not the backend's.

Bump When
major (1.x.x2.0.0) A regeneration breaks consumers — a model/field was removed or retyped.
minor (1.0.x1.1.0) Additive surface — new endpoints, models, or optional fields.
patch (1.0.01.0.1) Generation/packaging only — generator bump, schema-id fix, metadata. No API-surface change.

The version string is produced by setuptools_scm from this repo's git tag (vX.Y.ZX.Y.Z). There is no version to hand-edit.

Provenance, not coupling

The SDK version is deliberately decoupled from the backend's VERSION. To see which backend commit a given SDK build came from, read SDK_SOURCE.json:

{
  "buildTimestamp": "2026-06-23T12:00:00Z",
  "builtFromApiSha": "<helpdesk backend commit SHA>",
  "builtFromApiRef": "main",
  "generatorVersion": "7.19.0"
}

Releasing

  1. Decide the bump (table above) and tag this repo:
    git tag v1.2.0 && git push origin v1.2.0
    
  2. Run the Trigger a release of the SDK workflow, entering 1 / 2 / 0 and the target registry (testpypi first, then pypi).

The build checks out the tag, so setuptools_scm stamps the package as 1.2.0.

Publishing uses PyPI Trusted Publishing (OIDC) — no API token is stored. The trusted publisher must be registered once per index (PyPI and, if used, TestPyPI) with Workflow name release.yaml.

Regeneration

This repo's duplo_ai_helpdesk_sdk/ package, docs/, and requirements*.txt are generated; the files listed in .openapi-generator-ignore (this README, pyproject.toml, CI, LICENSE, SDK_SOURCE.json) are hand-maintained and survive regeneration. Regeneration is driven from the backend repo's scripts/generate-python-sdk.sh.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

duplo_ai_helpdesk_sdk-0.1.0.tar.gz (906.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

duplo_ai_helpdesk_sdk-0.1.0-py3-none-any.whl (496.3 kB view details)

Uploaded Python 3

File details

Details for the file duplo_ai_helpdesk_sdk-0.1.0.tar.gz.

File metadata

  • Download URL: duplo_ai_helpdesk_sdk-0.1.0.tar.gz
  • Upload date:
  • Size: 906.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.12

File hashes

Hashes for duplo_ai_helpdesk_sdk-0.1.0.tar.gz
Algorithm Hash digest
SHA256 ce9d55b57b500a67a493fec3d29d6bd698d6ccaa24ffbe4f84bead4dc7777ffb
MD5 69dee932bf86a0f8b76f1c12ae2e0a2e
BLAKE2b-256 334fe06684fa479d8a5209466fc8f0690f24f858a5898f2bef44176786af717a

See more details on using hashes here.

File details

Details for the file duplo_ai_helpdesk_sdk-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for duplo_ai_helpdesk_sdk-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 3ad54969073bb54be193cf772df7e1425068ef5338ea29a856ffad46c8b06830
MD5 584686e8914c72f57bcc5ee8cedf0dde
BLAKE2b-256 de752ab68c1da98f56f01c7f66f60e8e7223110961615001769323c8de20dca5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page