Deprecated: preg_replace(): The /e modifier is deprecated, use preg_replace_callback instead in /home/public/wp-includes/functions-formatting.php on line 76
Have you ever missed 3 important birthdays in a period of 3 weeks? Well I just did and this experience inspired me to create a program to read birthdays out of my Gmail contact’s notes and add them into Google calendar 10 years going forward. I’ll never forget a birthday again!
Here’s how it works:
First, you load your contacts in Gmail contacts. Next you type their birthdays in the notes field. (Gmail offers no pre-defined field for birthdays.)
As an example, here is my abuela :
Next you download my program (birthdays.py but also get cal.py), follow the instructions at the top of the script (Entering Gmail account info and other settings, and installing a few Python libraries), And run it. 
Now you’ll have entries in your calendar like this one for all of your friends and family complete with reminders:
I scheduled this program to run once a week for me. That way if I add new birthdays it will pick them up. No, it does not yet delete birthdays if I remove someone from my contacts or change their birthday. But it is open source, so please add lots of features.
In creating this program I had to expand my mind a bit to learn about the Google Calendar API. I was lucky to have found Matt Poepping’s previous Python work with the Google Calendar API, where he had done much of the heavy lifting. I ended up expanding his code a bit, and after apologizing to him for the ugliness of my new code, we agreed to launch a full fledged project on Google Code so that everyone can benefit from this young Python library for Google Calendar.
1. Sorry that running my program is a bit technical right now. If you’re interested in running this and find the directions too intense, just leave a comment and I’ll see what I can do simplify things.
2. Sorry I missed your birthday, Abuela!