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 details)

Uploaded Source

File details

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

File metadata

  • Download URL: org-mode-agenda-0.4.tar.gz
  • Upload date:
  • Size: 8.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.5

File hashes

Hashes for org-mode-agenda-0.4.tar.gz
Algorithm Hash digest
SHA256 f222f7eb4b8778d7ce3836d5a7d0bfb48f73352e45f7fcf40bff92b1a9ddee24
MD5 6f6f72f8e5d71fbfb2ba0d84c4b2500f
BLAKE2b-256 e1a7907f7be48e1750d25c40ad05029499fcc4b625ba8fb4f4ec4f7a50565b7e

See more details on using hashes here.

Provenance

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