Skip to main content

Import icalendar agendas to Orgmode

Project description

https://gitlab.com/Titan-C/org-mode-agenda/badges/master/pipeline.svg https://img.shields.io/badge/License-GPL%20v3-blue.svg

This python script downloads your caldav calendars and generates and org agenda file.

1 Install

pip install org-mode-agenda

1.1 Development

To use the developer version

git clone https://gitlab.com/Titan-C/org-mode-agenda.git
cd org-mode-agenda
python setup.py develop

2 Configuration

Edit the config file ~/.calendars.conf. The DEFAULT section configures where to write the output and days ahead and back from execution date.

Then every new section is a calendar file. You can name sections as you prefer. This names have no influence on the output file.

[DEFAULT]
outfile=~/org/caldav.org
ahead=90 # Days ahead from today
back=28 # Days in the past

[work] # Calendar name
user = on
passwordstore=Correos/mx.tribe29.com
# url for direct download of ics file
url=https://website.com/dav/calendar/personal?export

3 Use

This package installs and executable script. Just call it directly

org_agenda_sync

It supports some commands line options

org_agenda_sync -h
usage: org_agenda_sync [-h] [-f] [-v]

Translate CalDav Agenda to orgfile

optional arguments:
  -h, --help     show this help message and exit
  -f, --force    Force Download of Caldav files
  -v, --verbose

4 Contributions

You can kindly tip me for this project

Stellar

GDPTOFND6HSE5AVHPRXOCJFOA6NPFB65JAEWKTN23EBUGBB2AU4PLIBD

5 License

org-mode-agenda
Copyright (C) 2020  Óscar Nájera

This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

org-mode-agenda-0.4.tar.gz (8.0 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page