Python client for the DuploCloud AI HelpDesk API
Project description
duplo-ai-helpdesk-sdk
Typed Python models for the DuploCloud AI HelpDesk API — workspaces, agents, and tickets. The models are pydantic v2, so every request and response shape comes with validation, IDE autocomplete, and type checking. A generated HTTP client is included too, if you want one.
Install
pip install duplo-ai-helpdesk-sdk
Requires Python 3.9+.
Usage
Validate an API payload into a typed model:
from duplo_ai_helpdesk_sdk.models.workspace import Workspace
ws = Workspace.model_validate(payload) # payload: a dict from the API
print(ws.name)
Build a body and serialize it back to a dict for a request:
ws = Workspace(name="support-bot")
body = ws.model_dump(by_alias=True, exclude_none=True)
The package also ships generated transport classes (ApiClient, Configuration,
and the *Api classes) for a ready-made HTTP client. Per-model and per-endpoint
reference lives under docs/.
Using duploctl? duploctl talks to the API with its own HTTP client and uses these models only for request/response validation — you don't need the transport classes for that.
Versioning
Independent SemVer — the SDK's version is its own, not the backend's: major on a breaking model change, minor on additive surface, patch for generation/packaging-only updates.
Links
- Source & issues: https://github.com/duplocloud/ai-helpdesk-client-python
- Releasing, regeneration, and provenance: CONTRIBUTING.md
Generated from the AI HelpDesk OpenAPI document with OpenAPI Generator.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file duplo_ai_helpdesk_sdk-0.1.1.tar.gz.
File metadata
- Download URL: duplo_ai_helpdesk_sdk-0.1.1.tar.gz
- Upload date:
- Size: 906.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d68647393405d0547c2eed7185caeb6374f8b3832df85c9bf475db5a45436a07
|
|
| MD5 |
1f9c0e6a40a9eecc7b740b06caf1c7a2
|
|
| BLAKE2b-256 |
406806f7d714796b20d87a5efb1ef72539a5382a8ef1c1db7fe40b105b158c9a
|
File details
Details for the file duplo_ai_helpdesk_sdk-0.1.1-py3-none-any.whl.
File metadata
- Download URL: duplo_ai_helpdesk_sdk-0.1.1-py3-none-any.whl
- Upload date:
- Size: 495.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
89f6411fff44b6fd6799ab6b9d7dc9df5c6b1f9af61e85133494d12a390cf95c
|
|
| MD5 |
684d55d1882b39a938b2d5440b73155e
|
|
| BLAKE2b-256 |
da47d0fb47382d3efb9119e89cd6985a7ece1a0df411615e96a5b29263ac69cc
|