Welcome, guest | Sign In | My Account | Store | Cart

Notice! PyPM is being replaced with the ActiveState Platform, which enhances PyPM’s build and deploy capabilities. Create your free Platform account to download ActivePython or customize Python with the packages you require and get automatic updates.

Download
ActivePython
INSTALL>
pypm install pyicsparser

How to install pyICSParser

  1. Download and install ActivePython
  2. Open Command Prompt
  3. Type pypm install pyicsparser
 Python 2.7Python 3.2Python 3.3
Windows (32-bit)
0.0.73a
0.6.1x9Never BuiltWhy not?
0.0.73a Available View build log
Windows (64-bit)
0.0.73a
0.6.1x9Never BuiltWhy not?
0.0.73a Available View build log
Mac OS X (10.5+)
0.0.73a
0.6.1x9Never BuiltWhy not?
0.0.73a Available View build log
Linux (32-bit)
0.0.73a
0.6.1x9Never BuiltWhy not?
0.5.2 Failed View build log
0.4.11 Failed View build log
0.0.73a Available View build log
Linux (64-bit)
0.0.73a
0.6.1x9 Failed View build log
0.5.2 Failed View build log
0.4.11 Failed View build log
0.0.73a Available View build log
 
Author
License
LICENSE.txt
Imports
Lastest release
version 0.6.1x9 on Jan 9th, 2014

pyICSParser is an icalendar parser/validator/generator/enumerator (for .ics or ical files) as defined by RFC5545 (previously RFC2445).

  • Parser returns typed structure
  • Validator returns compliance report
  • Generator takes typed structures and returns valid icalendar file
  • Enumerator returns structure with explicit dates for each instance of event as defined by RRULE, EXRULE, EXDATE, RDATE

Typical usage for Enumerator:

#!/usr/bin/env python
from pyICSParser import ical
mycal = ical.ics()
mycal.local_load(icsfile)
mycal.parse_loaded()
dates = mycal.get_event_instances(start,end)
#dates will contain the json with all explicit dates of the events spec'ed by the icalendar file

Versions

  • Pre-alpha

    -v0.0.1: first pre-alpha

    -v0.0.27: fixed the dtstart to dtend problem for holiday

  • alpha

    -0.4.x: first fully tested handling days - remains to be done is handling of time of events (test vectors are actual icalendar files)

    -0.5.x: added support for EXDATE

    -0.6.x: added support for DURATION and when DTEND no present, adding support unittest

Future developments
  1. handle of datetime (currently only handles dates)
  2. handle of multiple EXRULE, RRULE as per icalendar spec
Thanks

Subscribe to package updates

Last updated Jan 9th, 2014

Download Stats

Last month:1

What does the lock icon mean?

Builds marked with a lock icon are only available via PyPM to users with a current ActivePython Business Edition subscription.

Need custom builds or support?

ActivePython Enterprise Edition guarantees priority access to technical support, indemnification, expert consulting and quality-assured language builds.

Plan on re-distributing ActivePython?

Get re-distribution rights and eliminate legal risks with ActivePython OEM Edition.