Skip to content

A Python script that adds events from a ics feed to Google Calendar written with Tripit in mind.

License

Notifications You must be signed in to change notification settings

roofcat/ics2gCal

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ics2gCal - a ics feed adder for Google Calendar

Copyright 2010 - Pål Levold

CONTACT
=======

You can find the source code, wiki, and issue tracker at 
http://github.com/levold/ics2gCal/

Your feedback is also welcome at paal.levold@gmail.com


CONTRIBUTIONS
=============

You are most welcome to contribute code to this project. Use contact
information mentioned above

LICENCE
=======

GNU GPL v3

ics2gCal is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

ics2gCal is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU General Public License for more details.

You should have received a copy of the GNU General Public License
along with ics2gCal.  If not, see <http://www.gnu.org/licenses/>.


DOWNLOAD
========

Latest version can be found at http://github.com/levold/ics2gCal


DEPENDENCIES
============

- GData Python API, by Google Inc. 
		http://code.google.com/p/gdata-python-client/downloads/list

- iCalendar package for Python, by Max M 
		http://codespeak.net/icalendar/
		
- pytz, by Stuart Bishop
		http://pytz.sourceforge.net/ or your distro's repository
		
		
USAGE
=====

1) Create a configuration file named 'config' in the same directory as ics2gCal.
	 Tip: Use the layout provided below.

2) Create an empty file where UIDs of added events will be stored (named in the config file).

3) Run the script (./ics2gCal.py) either manually or by creating a cron job


USAGE WITHOUT ROOT ACCESS
=========================

If you don't have root access to the computer and need to install some of the dependencies you can
download the dependencies as usual, but instead of running

# ./setup.py install

you can run

$ ./setup.py install --home=~

This will install the Python module in ~, i.e. your home directory. Follow the USAGE section above as
usual, but when running the script you should make sure that your PYTHONPATH environment variable is set
to ~/lib/python/. The easiest way is to run the script with this command:

$ export PYTHONPATH=~/lib/python/ && ./ics2gCal.py


CONFIG FILE LAYOUT
==================

[calendar1]
url = <FILL IN>
sha1 = <FILL IN> #whatever as long as it isn't the actual sha1 of the ics file (will be updated)
addto = <FILL IN> #Calendar in gCal to add events to. If unsure, use /calendar/feeds/default/private/full>

[calendar2]
url = <FILL IN>
sha1 = <FILL IN>
addto = <FILL IN>

#etc...

[settings]
username = <FILL IN>@gmail.com
password = <FILL IN>
eventfile = addedEvents.txt

About

A Python script that adds events from a ics feed to Google Calendar written with Tripit in mind.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published