This repository ships two customer-facing Python SDKs plus a shared GenericInterface core:
| Package | Import | Client class |
|---|---|---|
| OTOBO SDK | pip install otobo then from otobo import OTOBOClient |
OTOBOClient |
| Znuny SDK | pip install znuny then from znuny import ZnunyClient |
ZnunyClient |
| Compatibility (deprecated) | pip install otobo-znuny then from otobo_znuny.clients.otobo_client import OTOBOZnunyClient |
OTOBOZnunyClient |
Shared REST logic lives in otrs_gi_core. OTOBO and Znuny differ mainly in CLI console paths and setup defaults.
Built with MkDocs Material:
uv run --group docs mkdocs servepip install otobofrom otobo import OTOBOClient, BasicAuth, ClientConfig, TicketCreate, TicketOperation
config = ClientConfig(
base_url="https://your-otobo-server",
webservice_name="MyWebservice",
operation_url_map={
TicketOperation.CREATE: "ticket-create",
TicketOperation.GET: "ticket-get",
TicketOperation.SEARCH: "ticket-search",
TicketOperation.UPDATE: "ticket-update",
},
)
client = OTOBOClient(config)
client.login(BasicAuth(user_login="agent", password="secret"))pip install znunyfrom znuny import ZnunyClient, BasicAuth, ClientConfig, TicketOperation
client = ZnunyClient(
ClientConfig(
base_url="https://your-znuny-server",
webservice_name="MyWebservice",
operation_url_map={
TicketOperation.CREATE: "ticket-create",
TicketOperation.GET: "ticket-get",
TicketOperation.SEARCH: "ticket-search",
TicketOperation.UPDATE: "ticket-update",
},
)
)otobo-cli setup-system
znuny-cli setup-systemThe legacy combined CLI remains available via python -m otobo_znuny.cli.app.
- Async HTTP via
httpx.AsyncClient - Pydantic v2 models for requests and responses
- Ticket CRUD: create, search, get, update
search_and_gethelper- Webservice YAML builder and interactive setup wizard
MIT © Softoft, Tobias A. Bueck