Dalec plugin to retrieve caldav data
Project description
📅 dalec-caldav
Django Aggregate a Lot of External Content -- CalDav
Aggregate last event from a given CalDav instance.
Plugin of 🤖 dalec.
Installation
pip install dalec_caldav
In django settings INSTALLED_APPS
, add:
INSTALLED_APPS = [
...
"dalec",
"dalec_prime",
"dalec_caldav",
...
]
Usage
General usage:
{% load dalec %}
{% dalec "caldav" content_type [channel=None] [channel_object=None] [template=None] %}
Events
Retrieves latest event of all calendars accessible for the current user:
{% dalec "caldav" "event" %}
Retrieves latest event of a calendar defined by an url:
{% dalec "caldav" "event" channel="url" channel_object="https://nextcloud.org/remote.php/dav/public-calendars/<calendarID>"%}
Settings
Django settings must define:
DALEC_CALDAV_BASE_URL
: CalDav instance url (ex:https://caldav.org/
)DALEC_CALDAV_API_USERNAME
: CalDav username (ex:admin
)DALEC_CALDAV_API_PASSWORD
: CalDav user password (ex:azeazeaezdfqsmlkrjzr
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
dalec-caldav-0.1.1.tar.gz
(4.4 kB
view details)
Built Distribution
File details
Details for the file dalec-caldav-0.1.1.tar.gz
.
File metadata
- Download URL: dalec-caldav-0.1.1.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | da17853342fd7b54ae53bdaa6073cb8fe1386fc8297386fef1083c9f8f5f7e81 |
|
MD5 | c030ac73447b17ab295045d531a3a87f |
|
BLAKE2b-256 | d889b5a682856f8099e3c855591743797814fca88b7bf963de5290d8009ad3cc |
File details
Details for the file dalec_caldav-0.1.1-py3-none-any.whl
.
File metadata
- Download URL: dalec_caldav-0.1.1-py3-none-any.whl
- Upload date:
- Size: 5.0 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.11.4
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa3ac5c2e26fde977c79d4f964e01708d1571d37950bf1544a5f445aa41aae6f |
|
MD5 | 18fc4390b1eada54fc8e0a8d25999278 |
|
BLAKE2b-256 | d806411a6a281f8b1f36cc10f9ed38d18e9647e6a40dff5c3adb6f957f77a08a |