Python Calendaring Extensions to WebDAV library

caldav library

Support

  • Basic Auth (Http 1.1)
  • Xml Req
  • Get Principal Info
  • Get HomeSet Info
  • Get cTag, eTag, calendar event Info
  • Diff with cached data(ctag, etag)
  • ICS Parsing

Basic Useage

##calendar load example 
client = CaldavClient(
    hostname,
    userId,
    userPw
)

principal = client.getPrincipal()
calendars = principal.getCalendars()

for calendar in calendars:
    print(calendar.calendarName + " " + calendar.calendarUrl + " " + calendar.cTag)

eventList = calendars[0].getAllEvent()
for event in eventList:
    print (event.eTag)

This sample will show this result.

λ‚΄ μΊ˜λ¦°λ” /caldav/jspiner/calendar/<calendarId>/ 2017-01-24 21:15:19
λ‚΄ ν•  일 /caldav/jspiner/calendar/<calendarId>/ 2013-11-22 17:14:01

"2017-01-24 21:15:16"
"2017-01-24 21:15:13"
"2017-01-22 17:13:18"
"2015-11-09 20:24:01"
"2015-10-28 01:58:56"
"2015-10-08 00:03:03"
"2015-10-07 03:47:20"
"2015-10-06 12:06:37"
...

CalDav Server

Python Caldavclient

Python Caldavclient Info

⭐ Stars 10
πŸ”— Source Code github.com
πŸ•’ Last Update a year ago
πŸ•’ Created 4 years ago
🐞 Open Issues 3
βž— Star-Issue Ratio 3
😎 Author CalyFactory