zammadoo
An object-oriented REST API client for the Zammad helpdesk sytem.
Find the full documentation under https://zammadoo.readthedocs.io.
Real life examples
from zammadoo import Client
client = Client("https://myhost.com/api/v1/", http_auth=("<username>", "<mysecret>"))
# or use an API token created via https://myhost.com/#profile/token_access
client = Client("https://myhost.com/api/v1/", http_token="<token>")
# I have a new ticket with id 17967 and need to download the attachment file
path = client.tickets(17967).articles[0].attachments[0].download()
print(f"The downloaded file is {path}")
# I need to append a new ticket article with attached files
client.ticket(17967).create_article("Server down again. See logfiles.", files=["kern.log", "syslog"])
# I want to close all tickets with the tag "deprecated" and remove the tag
for ticket in client.tickets.search("tags:deprecated"):
ticket.update(state="closed")
ticket.remove_tags("deprecated")
Design principles
This library provides a fluent workflow. Since the resources are wrapped in its own type, your IDE can show you many of the available properties and methods. Furthermore you can ensure type safety with Python’s static type checkers like mypy.
Metadata
Release files for zammadoo 0.3.0.post0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| zammadoo-0.3.0.post0-py3-none-any.whl | Python 3 | none | any | Details for zammadoo-0.3.0.post0-py3-none-any.whl |
Release files / zammadoo-0.3.0.post0-py3-none-any.whl
| Download URL | zammadoo-0.3.0.post0-py3-none-any.whl |
|---|---|
| Size | 27.4 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b6aa132c36d368fa72a766d2b7e973fec94e09716758b9b49ca6eeabdab16924
|
|
BLAKE2b-256 checksum How to use checksums |
3875f514845984852660a0e94510d229885f1bed4fe88ebb45311b2a36a28099
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.1.1 CPython/3.12.4
|
Security for zammadoo 0.3.0.post0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.