Python icalendar (rfc5545) parser
Project description
Original repository (GitHub) - Bugtracker and issues (GitHub) - PyPi package (ics) - Documentation (Read The Docs).
Ics.py is a pythonic and easy iCalendar (rfc5545) library. It’s goals are to read and write ics data in a developper-friendly way.
Ics.py is available for Python2 (>=2.7) and Python3 (>=3.3) and is Apache2 Licensed.
iCalendar is complicated, you don’t like RFCs but you want/have to use the ics format and you love pythonic APIs? Ics.py is for you!
Quickstart
$ pip install ics
>>> from ics import Calendar, Event
>>> c = Calendar()
>>> e = Event()
>>> e.name = "My cool event"
>>> e.begin = '20140101 00:00:00'
>>> c.events.append(e)
>>> c.events
[<Event 'My cool event' begin:2014-01-01 00:00:00 end:2014-01-01 00:00:01>]
More examples are available in the documentation.
Documentation
All the documentation (examples, api, about…) is hosted on readthedocs.org and is updated automaticaly at every commit. Go and get it!
Contribute
Contribution are welcome of course! More info over there (or in the doc).
Links
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.