Internet Calendaring and Scheduling (iCalendar) for Python
 
 
Go to file
Johannes Raggam c06a6f40dd prepare release 2014-01-13 13:39:37 +01:00
docs typo 2014-01-06 15:05:34 +01:00
src/icalendar test for #112. looks like, this one has been fixed at some point. fixes #112 2014-01-06 16:11:47 +01:00
.gitignore gitignore upd. .mo files not in github but in egg, but we dont have .mo here anyways 2013-05-16 19:52:11 +02:00
.travis.yml exclude py2.4 and py3.2 from .travis.yml 2012-08-23 14:30:02 +02:00
CHANGES.rst prepare release 2014-01-13 13:39:37 +01:00
CONTRIBUTING.rst fix ref to CHANGES.rst 2012-11-23 14:37:22 +01:00
LICENSE.rst housekeeping 2013-03-15 16:34:42 +01:00
MANIFEST.in Add tox.ini into source tarball 2014-01-07 16:06:23 +01:00
README.rst prepare next version 2014-01-06 16:17:26 +01:00
TODO.rst update docs TODO 2013-04-24 12:15:53 +02:00
bootstrap.py add bootstrap.py 2012-09-05 20:56:35 +02:00
buildout.cfg add buildout.cfg 2012-09-05 20:54:23 +02:00
setup.py prepare release 2014-01-13 13:39:37 +01:00
tox.ini fix tox coverage configuration to also run python 3 tests by not using unit2 script 2013-12-24 13:26:13 +01:00

README.rst

==========================================================
Internet Calendaring and Scheduling (iCalendar) for Python
==========================================================

The `icalendar`_ package is a parser/generator of iCalendar files for use
with Python.

----

    :Homepage: http://icalendar.readthedocs.org
    :Code: http://github.com/collective/icalendar
    :Mailing list: http://github.com/collective/icalendar/issues
    :Dependencies: `setuptools`_ and since version 3.0 we depend on `pytz`_.
    :Compatible with: Python 2.6, 2.7 and 3.3+
    :License: `BSD`_

----


Roadmap
=======

- 3.6: Python 3 support (current version)

- 4.0: API refactoring



Changes in version 3.0
======================

API Change
----------

Since version we unified to icalendar de/serialization API to use only to_ical
(for writing an ical string from the internal representation) and from_ical
(for parsing an ical string into the internal representation).

to_ical is now used instead of the methods ical, string, as_string and instead
of string casting via __str__ and str.

from_ical is now used instead of from_string.

This change is a requirement for future Python 3 compatibility. Please update
your code to reflect to the new API.

Timezone support
----------------

Timezones are now fully supported in icalendar for serialization and
deserialization. We use the pytz library for timezone components of datetime
instances. The timezone identifiers must be valid pytz respectively Olson
database timezone identifiers. This can be a problem for 'GMT' identifiers,
which are not defined in the Olson database.

Instead of the own UTC tzinfo implementation we use pytz UTC tzinfo object now.


About this fork which is not a fork anymore
===========================================

Aim of this fork (not fork anymore, read further) was to bring this package up
to date with latest icalendar `RFC`_ specification as part of
`plone.app.event`_ project which goal is to bring recurrent evens to `Plone`_.

After some thoughts we (Plone developers involved with `plone.app.event`_) send
a suggestion to icalendar-dev@codespeak.net to take over mainaining of
`icalendar`_. Nobody object and since version 2.2 we are back to development.

.. _`icalendar`: http://pypi.python.org/pypi/icalendar
.. _`plone.app.event`: http://github.com/plone/plone.app.event
.. _`Plone`: http://plone.org
.. _`pytz`: http://pypi.python.org/pypi/pytz
.. _`setuptools`: http://pypi.python.org/pypi/setuptools
.. _`RFC`: http://www.ietf.org/rfc/rfc5545.txt
.. _`BSD`: https://github.com/collective/icalendar/issues/2


Test Coverage Report
====================

Output from coverage test::

    Name                                                           Stmts   Miss  Cover
    ----------------------------------------------------------------------------------
    .tox/py27/lib/python2.7/site-packages/icalendar/__init__           5      0   100%
    .tox/py27/lib/python2.7/site-packages/icalendar/cal              234      7    97%
    .tox/py27/lib/python2.7/site-packages/icalendar/caselessdict      55      5    91%
    .tox/py27/lib/python2.7/site-packages/icalendar/compat             1      0   100%
    .tox/py27/lib/python2.7/site-packages/icalendar/parser           189      6    97%
    .tox/py27/lib/python2.7/site-packages/icalendar/parser_tools      20      0   100%
    .tox/py27/lib/python2.7/site-packages/icalendar/prop             533     62    88%
    .tox/py27/lib/python2.7/site-packages/icalendar/tools             16      0   100%
    ----------------------------------------------------------------------------------
    TOTAL                                                           1053     80    92%