Skip to main content

☁ dalec-nextcloud

Stable Version Code style: black Imports: isort semver

Django Aggregate a Lot of External Content -- Nextcloud

Aggregate last nextcloud files activity from a given nextcloud instance.

Plugin of 🤖 dalec.

Installation

pip install dalec_nextcloud

In django settings INSTALLED_APPS, add:

INSTALLED_APPS = [
    ...
    "dalec",
    "dalec_prime",
    "dalec_nextcloud",
    ...
    ]

Usage

General usage:

{% load dalec %}

{% dalec "nextcloud" content_type [channel=None] [channel_object=None] [template=None] %}

Real examples:

Activity

Retrieves latest activities.

  • If channel is "files", retrieve only for this file or directory.
  • If channel is "files_and_childs", retrieve recursively from this folder and child.
  • If channel is None, retrieve all activities.

channel_object is the nextcloud file_id.

{% dalec "nexctloud" "activity" %}
{% dalec "nexctloud" "activity" channel="files" channel_object="55145"%}
{% dalec "nexctloud" "activity" channel="files_and_childs" channel_object="55145"%}

Settings

Django settings must define:

  • DALEC_NEXTCLOUD_BASE_URL : nextcloud instance url (ex: https://nextcloud.org/)
  • DALEC_NEXTCLOUD_API_USERNAME : nextcloud username (ex: admin)
  • DALEC_NEXTCLOUD_API_PASSWORD : nextcloud user password (ex: azeazeaezdfqsmlkrjzr)

Metadata

Release files for dalec-nextcloud 0.1.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for dalec-nextcloud 0.1.1
File Size Uploaded
dalec-nextcloud-0.1.1.tar.gz 5.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for dalec-nextcloud 0.1.1
File Interpreter ABI Platform
dalec_nextcloud-0.1.1-py3-none-any.whl Python 3 none any Details

Total release size: 11.1 kB

Release files / dalec-nextcloud-0.1.1.tar.gz

Download URL dalec-nextcloud-0.1.1.tar.gz
Size 5.5 kB
Tags Source
SHA-256 checksum
How to use checksums
6dfd801faf054f456c4223c4d7f766b69429d1c09cea4b581c74e8136cc45a29
BLAKE2b-256 checksum
How to use checksums
455d41344d08f72658c8717d30130d638bd4037b6c4011e88ab3478294ddb3e3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release files / dalec_nextcloud-0.1.1-py3-none-any.whl

Download URL dalec_nextcloud-0.1.1-py3-none-any.whl
Size 5.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
9bf976b7db990230d40f2ad8e3b974e49df762c8c6cfc2d01a526f8274b1d24f
BLAKE2b-256 checksum
How to use checksums
685a5ba4f1aa6963fbd07a7df48e7eca4d1660f90a6731ba5792f0e545d50bf3
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/4.0.1 CPython/3.11.4

Release history Release notifications | RSS feed

This release

0.1.1 This release

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page