提醒Caldav工具

remind-caldav的Python项目详细描述


从caldav同步到remind(dav2rem.py)和相反方式(rem2dav.py)的工具。

安装

您需要安装提醒命令行工具。 对于debian/ubuntu,请使用:

$ sudo apt-get install remind

使用pip

$ pip install remind-caldav

这也将安装所有Python依赖项

使用python setuptools

$ python setup.py install

提供密码

有许多选项可供选择如何提供caldav密码:

  • 使用netrc(5)文件(<;域>;是 caldav url的域部分:
machine <domain> login <user> password <password>
  • 与caldav一起使用python-keyring 作为服务的url。
  • 在命令行上提供密码注意,这个泄漏到 环境。
  • 如果没有提供密码,工具将要求提供密码。

如何连接到谷歌

转到https://www.google.com/settings/security/lesssecureapps并启用 “访问不太安全的应用程序”这使基本的http身份验证成为oauth2 python caldav不支持。

网址:https://www.google.com/calendar/dav/calid/user

Where calid should be replaced by the “calendar ID” of the calendar to be accessed. This can be found through the Google Calendar web interface as follows: in the pull-down menu next to the calendar name, select Calendar Settings. On the resulting page the calendar ID is shown in a section labelled Calendar Address. The calendar ID for a user’s primary calendar is the same as that user’s email address.

https://developers.google.com/google-apps/calendar/caldav/v2/guide

欢迎加入QQ群-->: 979659372 Python中文网_新手群

推荐PyPI第三方库


热门话题
java JAXB封送字符串,具有xml值,且不转义该值   java ModelMapper转换器不工作   java像HH000412或HCANN000001这样的前缀是什么意思?   验证日期输入修复java。lang.numberformatexception错误   当表具有外键时,java Telosys代码生成失败   如何使所有派生类一起只能实例化一个实例的单例抽象基类?(爪哇)   java如何在非静态服务类中使用广播接收器   java nutch爬虫相对URL问题   使用Jboss DMR下载/保存java附件   Rest模板:无法提取响应:当我们得到xml响应时,没有找到适合响应类型的HttpMessageConverter,没有绑定到JAVA对象   java如何编写可扩展窗格/面板/卡的代码   java是在ITreeViewerListener的treeExpanded()之前调用ContentProvider的getChildren()吗?   java将JComponent添加到小程序窗格   java混淆:使用简单逻辑的Flames程序