EventCal 0.44
HTML Calendars with Events (for Python)
Create HTML calendars with events like "Meeting with John Tomorrow" or "Lunch at 3"
Use
French, Spanish, Portuguese or other languages for your
calendars (now using GNU gettext for translation!)
Easily create calendars that
use AJAX
EventCal creates HTML calendars for use with Python web applications. What's special about these calendars is that they can include events such as "Meeting with Alice" or "Finish writing letter to Bob".
Here is a sample calendar. I've added the meeting with Alice and the letter writing event to it. If you move your mouse over them, you'll see the event name in the tooltip that shows up after a few seconds.
This is the very simple code that created that calendar:
import datetime, eventcal
cal = eventcal.Calendar ()
cal.add (eventcal.Event (u'Meeting with Alice',
datetime.datetime (2007, 6, 16),
datetime.timedelta (hours=2)))
cal.add (eventcal.Event (u'Finish writing letter to Bob',
datetime.datetime (2007, 6, 17),
datetime.timedelta (hours=5)))
cal.busyDayFormat = u'<a href="#" title="$s">Busy</a>'
print cal.monthview (6, 2007, True)
Of course there is a bit of HTML and CSS
added.
EventCal is licensed under the MIT License. This means it can be used in both open-source and commercial software.