google-calendar-helpers:从 Google Calendar API 中提取 RSS 提要

时间:2021-05-30 21:30:54
【文件属性】:
文件名称:google-calendar-helpers:从 Google Calendar API 中提取 RSS 提要
文件大小:216KB
文件格式:ZIP
更新时间:2021-05-30 21:30:54
HTML 从 Google 日历生成 RSS2 提要(和时事通讯) 2015 年,谷歌从其日历产品中对 RSS 提要的。 我不擅长互联网搜索,也找不到十几个替代这个功能的项目,所以我自己写了一个。 这是一个旨在从 cronjob 运行的脚本。 它是用 Python 3 编写的,有很多帮助模块(requests、jinja2、dateutil ...)。 请注意,由于 Google 了对其 goo.gl 缩短服务的,我们现在使用库来缩短 URL。 这个库是根据 GPL3 许可的(应该没问题,因为 Apache 2.0 许可是 GPL3 兼容的)。 还有一个名为gen_newsletter.py脚本,它将创建纯文本电子邮件的正文。 您可以使用它来发送有关您的活动的时事通讯。 还有第三个脚本用于生成事件的 HTML 项目符号列表,但您可能不想使用那个脚本。 还有第三个脚本,称为schedule_e
【文件预览】:
google-calendar-helpers-master
----gen_newsletter.py(101B)
----gcal_helpers()
--------rss_template.jinja2(2KB)
--------sidebar_template.jinja2(573B)
--------helpers.py(24KB)
--------tweet_template.jinja2(332B)
--------__init__.py(0B)
--------liteshort.py(2KB)
--------newsletter_template.jinja2(892B)
----LICENSE.txt(9KB)
----scripts()
--------send-transformations.py(7KB)
--------launch_tweet_sender.sh(195B)
----gen_sidebar.py(98B)
----requirements.txt(166B)
----TODO.md(564B)
----pytest.ini(31B)
----README.md(4KB)
----send_tweet.py(80B)
----tests()
--------data_markdown_in()
--------config_testing.py(2KB)
--------data_newsletter_out()
--------data_rss_out()
--------data_sidebar_out()
--------test_gen_rss.py(12KB)
--------data_itemcount_out()
--------data_json_in()
--------data_markdown_out()
----.gitignore(34B)
----config.py.example(4KB)
----gen_rss.py(94B)
----schedule_event_tweets.py(223B)

网友评论