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.1.tar.gz (19.9 kB view details)

Uploaded Source

File details

Details for the file org-mode-agenda-0.1.tar.gz.

File metadata

  • Download URL: org-mode-agenda-0.1.tar.gz
  • Upload date:
  • Size: 19.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/45.1.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.7.3

File hashes

Hashes for org-mode-agenda-0.1.tar.gz
Algorithm Hash digest
SHA256 bb9931d4239da17dcca0056d6b9f3491856da0f733dca2c8465bd20b7f6f4709
MD5 57875a5ebb6acea85733aec50d61d45d
BLAKE2b-256 49a1eeb514b726e636ae43cf901bc6f491d05932f4823f1dcb865b6d42dcba9a

See more details on using hashes here.

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