asynchronous CalDAV (RFC4791) client library
Project description
aiocaldav
aiocaldav is a fork of the caldav project since v0.5.0
It uses aiohttp client library instead of synchronous request lib. It also targets only python 3.6+ (remove six and older python support)
Drawbacks:
- no DigestAuth Support for now
Bug corrections since caldav v0.5.0:
- Todo list without completed query syntax was wrong
- It was possible to completed an already completed task. Now complete() an already completed task does nothing (perhaps should we raise an error instead ?)
- changed datetime output in cdav to match rfc 5545 (for timezones)
Evolutions since caldav v0.5.0 (incompatible change in top of 'asyncification')
- package name changed from caldav to aiocaldav
- Principal.calendar_home_set is no longer a property, it's now a async method To set the prop, now use Principal._calendar_home_setter(url) To retrieve is use await Principal.calendar_home_set()
Tests
Tests uses pytest and pytest_asyncio and need (by default) docker and docker-compose. Just run:
# pytest .
to launch the tests.
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
aiocaldav-0.5.1.tar.gz
(34.6 kB
view hashes)
Built Distribution
aiocaldav-0.5.1-py3-none-any.whl
(21.7 kB
view hashes)
Close
Hashes for aiocaldav-0.5.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba3994726e5423412ea955629a8dc156b6f1b80d29a4dc65910cafbb4e3de76d |
|
MD5 | 278851606c2d416a9232d7f562306cb7 |
|
BLAKE2b-256 | 2f6e06dcd084a8b59a46c8f73474c9368dbcff380b06667f068231e0bbc5dbde |