nextcloud-deck-client
A Python client for the Nextcloud Deck API, with both synchronous and asynchronous clients.
Install
pip install nextcloud-deck-client
Use
from ncdeck import DeckClient
deck = DeckClient("https://cloud.example.com", "username", "app-password", board_id=1)
for stack in deck.get_stacks():
print(stack.title)
for card in stack.cards:
print(" ", card.title)
Async:
from ncdeck import AsyncDeckClient
deck = AsyncDeckClient("https://cloud.example.com", "username", "app-password")
boards = await deck.get_boards()
What it covers
Boards, stacks, cards, labels, comments and attachments. Cards can be created,
updated, moved, archived and deleted. The activity feed is exposed so callers
can determine when a card was moved. DeckClient (sync) and AsyncDeckClient
(async) expose the same methods with the same arguments — pick whichever
matches your program and the two are interchangeable.
Two Deck quirks are handled for you:
move_card()uses the documented update route addressed at the target stack, rather than the/cards/{id}/reorderendpoint, working around Deck issue #6830. The/reorderroute makes Deck renumber every card in the target stack and stamplastModifiedon all of them;move_card()avoids that, solastModifiedstays a reliable signal for every other card in the stack.- The activity endpoint answers HTTP 304 with an empty body when there is no
data;
get_deck_activity()returns an empty list rather than failing.
Authentication
Use a Nextcloud app password, not your account password.
Related tools
nextcloud-deck-cli is a set of command-line tools for Nextcloud Deck built on top of this library.
Licence
LGPL-3.0-or-later. See COPYING.LESSER.
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 nextcloud_deck_client-1.0.0.tar.gz.
File metadata
- Download URL: nextcloud_deck_client-1.0.0.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
7f2a70e652933ce3dd0457f5a3d4127fe24759f73164c18c672fa5b2d1bb4905
|
|
| MD5 |
d0d0f33ea98f26a634533228be352f74
|
|
| BLAKE2b-256 |
31e7005d27571a216c1fdd0eb7d2d10901440554e78ca15aca02ed0a872e637b
|
Provenance
The following attestation bundles were made for nextcloud_deck_client-1.0.0.tar.gz:
Publisher:
release.yml on Olen/nextcloud-deck-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nextcloud_deck_client-1.0.0.tar.gz -
Subject digest:
7f2a70e652933ce3dd0457f5a3d4127fe24759f73164c18c672fa5b2d1bb4905 - Sigstore transparency entry: 2339986119
- Sigstore integration time:
-
Permalink:
Olen/nextcloud-deck-client@8af83c159087ae38ffe7067107c061b523756278 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Olen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8af83c159087ae38ffe7067107c061b523756278 -
Trigger Event:
push
-
Statement type:
File details
Details for the file nextcloud_deck_client-1.0.0-py3-none-any.whl.
File metadata
- Download URL: nextcloud_deck_client-1.0.0-py3-none-any.whl
- Upload date:
- Size: 26.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via:
twine/7.0.0 CPython/3.13.14
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b8d1881693183fba35a98de906797ac4ad19df77d4b6818649bc14d99899b0b6
|
|
| MD5 |
2c3d88a0d748cb96ef989cee0a7c462b
|
|
| BLAKE2b-256 |
fffcdd82b6303e036e2a346f71952ed2ecda81fd8ccd0fb26c27ec1667566214
|
Provenance
The following attestation bundles were made for nextcloud_deck_client-1.0.0-py3-none-any.whl:
Publisher:
release.yml on Olen/nextcloud-deck-client
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
nextcloud_deck_client-1.0.0-py3-none-any.whl -
Subject digest:
b8d1881693183fba35a98de906797ac4ad19df77d4b6818649bc14d99899b0b6 - Sigstore transparency entry: 2339986143
- Sigstore integration time:
-
Permalink:
Olen/nextcloud-deck-client@8af83c159087ae38ffe7067107c061b523756278 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/Olen
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
release.yml@8af83c159087ae38ffe7067107c061b523756278 -
Trigger Event:
push
-
Statement type: