Giter Site home page Giter Site logo

aiocaldav's Introduction

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. It will build the necessary docker images. At the first launch, it could take a lot of time to build the images (especially for the cyrus image which need compilation)

to test against a specific backend, you can use pytest cli options:

$ pytest --only-backend-radicale .
$ pytest --only-backend-davical .
$ pytest --only-backend-xandikos .
$ pytest --only-backend-cyrus .

to exclude a backend, you can use this pytest cli options:

  • --no-backend-radicale
  • --no-backend-davical
  • --no-backend-xandikos
  • --no-backend-cyrus

(note: xandikos is not included in the default test suite for now)

aiocaldav's People

Contributors

tobixen avatar cyrilrbt avatar thomaschiroux avatar jammon avatar paxswill avatar abdulg avatar b3niup avatar red-hood avatar earlchew avatar rianhunter avatar maddinat0r avatar andrei-mart avatar cedk avatar kyloe avatar jrabbit avatar ofosos avatar m42e avatar phyks avatar mayjs avatar

Stargazers

Philipp Huth avatar  avatar Kurt Fredericks avatar

Watchers

 avatar James Cloos avatar Kurt Fredericks avatar Philipp Huth avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.