Skip to main content

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.fetch_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.

Two Deck quirks are handled for you:

  • move_card() uses the /cards/{id}/reorder endpoint, working around Deck issue #6830. Note that Deck renumbers every card in the target stack when this happens, so lastModified is not a reliable indicator of when an individual card moved.
  • 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.

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

nextcloud_deck_client-0.4.0.tar.gz (21.0 kB view details)

Uploaded Source

Built Distribution

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

nextcloud_deck_client-0.4.0-py3-none-any.whl (23.9 kB view details)

Uploaded Python 3

File details

Details for the file nextcloud_deck_client-0.4.0.tar.gz.

File metadata

  • Download URL: nextcloud_deck_client-0.4.0.tar.gz
  • Upload date:
  • Size: 21.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for nextcloud_deck_client-0.4.0.tar.gz
Algorithm Hash digest
SHA256 6b234de13b1062c846e7bccbaa7b43e89b40b23aa4ee50da068eba834da9b89e
MD5 e30eefa5d20bea849201a0d6a5f13ed2
BLAKE2b-256 b9c00e0a0917c5ec1ffc44e0efb9be4cdb4431a1e749b5bc7bf45e4d6002adf4

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_deck_client-0.4.0.tar.gz:

Publisher: release.yml on Olen/nextcloud-deck-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file nextcloud_deck_client-0.4.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nextcloud_deck_client-0.4.0-py3-none-any.whl
Algorithm Hash digest
SHA256 b9e27a07654d034865a7cb4ba02267f0e9501b0223c8145046f1c160ecc3b377
MD5 31b4a294dd9bea2a3ada5cd7b96cfc8d
BLAKE2b-256 f5840969bee1e6a5d0379ee9a9bc465aa6a0b00faa999d8e006a281ef1b0c00f

See more details on using hashes here.

Provenance

The following attestation bundles were made for nextcloud_deck_client-0.4.0-py3-none-any.whl:

Publisher: release.yml on Olen/nextcloud-deck-client

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

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