Skip to main content

Remind Python library

Project description

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.

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

remind-0.19.1.tar.gz (23.5 kB view hashes)

Uploaded Source

Built Distribution

remind-0.19.1-py3-none-any.whl (23.6 kB view hashes)

Uploaded Python 3

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