Skip to content

jspricke/python-remind

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python Remind library

Python library to convert between Remind and iCalendar. Can be used stand alone (provided rem2ics and ics2rem tools) as well as integrated as a CalDAV client or server.

Installation

You need to have the Remind command line tool in version 04.00.00 or higher installed. For Debian/Ubuntu use:

$ sudo apt-get install remind

Using pip

$ pip install remind

This will install all Python dependencies as well.

Using python-setuptools

$ python3 setup.py install

Set up a Remind CalDAV server

Have a look at radicale-remind

Sync to an external iCalendar server (http; cron)

curl URL | ics2rem >> ~/.reminders

Sync to an external CalDAV server

Have a look at remind-caldav

Share your calendar using http

rem2ics > /var/www/html/my.ics

Publish the URL and use these guides to integrate it into other calendar software:

Format of the Remind MSG body

%"summary at location%" description

The %" is omitted, if there is no description in the iCalendar.

Support events in UTC

Remind always uses the local timezone. Use something like this to export events in UTC:

REM Tue AT [9:00 + $MinsFromUTC] TAG rem2ics_utc MSG Event

Known limitations

iCalendar -> Remind

Remind -> iCalendar

  • Events are only evaluated in the given time frame, so events extending it, are cut of (birthday reminders for example).
  • Complex reminders are only preserved in their evaluated form (PUSH-OMIT-CONTEXT, OMIT, TRIGGER, BEFORE, SKIP). Same holds true for function evaluation in MSG. For example having the age in a birthday reminder results in the same string for every year. This could result in old data being provided as the internal state (cache) is only invalidated if one of the remind files change (last time stamp).
  • Periodic reminders other then daily or weekly are not preserved.
  • Two entries with the same content are only exported once.

About

Python library to convert between Remind and iCalendar

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages