A Tool for Exporting TimeTree Calendar and Convert to iCal format(.ics)
Project description
TimeTree Exporter
A Tool for Exporting TimeTree Calendar and Converting to iCalendar Format (.ics) (RFC 5545 compatible, with selected RFC 7986 properties)
This script works by scraping the TimeTree web app and converting the data to iCal format.
(The .ics file can then be imported into other calendar apps such as Google Calendar, Apple Calendar, Outlook Calendar, etc.)
[!Warning] This is an independent, community-built project and is not affiliated with or endorsed by TimeTree, Inc. It uses unofficial, reverse-engineered TimeTree web APIs, which may change or stop working at any time without notice. As a result, the tool could break unexpectedly. Please use it responsibly—sending too many requests in a short period may lead to rate limiting, temporary blocks, or other restrictions from TimeTree.
Installation
[!Note] Timetree Exporter requires Python 3.10 or later.
If you are on mac, you can install it using brew:
brew install eoleedi/tap/timetree-exporter
You can also install it using uvx, pip, or pipx:
pip install timetree-exporter
Usage
timetree-exporter -o path/to/output.ics
This will prompt you to enter your TimeTree email and password and select the calendar you want to export.
Then, you can import the ics file to your calendar app.
[!Note] 💡 You are advised to import the ICS file into a separate calendar (e.g., Google Calendar) so that if anything goes wrong, you can simply delete the calendar and reimport it.
Advanced Usage
-
Specify your email address using the
-eoption.timetree-exporter -e email@example.com
-
Specify the calendar code using the
-cor--calendar_codeoption.timetree-exporter -c calendar_code
Note: Find the calendar code in the URL of the calendar page or when running the script without the
-coption. -
Export a public calendar by id without signing in.
timetree-exporter --public-calendar -c public_calendar_id
Note: Public calendar events use TimeTree's public API and may not include labels, alerts, recurrences, or UUIDs. Public calendar metadata such as source links, images, and colors is exported with RFC 7986 properties like
SOURCE,IMAGE, andCOLORwhen available. Calendar apps that only implement RFC 5545 may ignore these optional fields. -
You can pass your email address and password with environment variables. (usually for automation purposes)
export TIMETREE_EMAIL=email@example.com export TIMETREE_PASSWORD=password
-
Create separate ICS files for each label with a custom output directory.
timetree-exporter --split-by-labelThis creates individual ICS files for each label (e.g.,
timetree_work.ics,timetree_personal.ics). -
Include private event comments.
timetree-exporter --include-commentsComments are fetched from TimeTree's event activities endpoint and exported as iCalendar
COMMENTproperties, prefixed with the author name when available.To change the number of concurrent requests used while fetching comments, pass
--num-workers.timetree-exporter --include-comments --num-workers 5
The default is
10.[!Caution] This option is disabled by default because it makes one or more extra TimeTree requests per event. It can be slow for large calendars and may trigger TimeTree rate limits.
Limitations
- TimeTree labels include both a category name and a color. When using
--split-by-label, each category is saved as a separate ICS file. - Label color information is preserved in the ICS output, but Google Calendar does not apply those event colors when importing ICS files. If you rely on colors to organize events, you may need to check historical color information in TimeTree.
- TimeTree event notes are exported as the iCalendar
DESCRIPTION. Private event comments are only exported when--include-commentsis used.
Development
For development setup and contribution details, see DEVELOPMENT.md.
Support
If you think it's helpful, kindly support me!
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.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file timetree_exporter-0.8.0.tar.gz.
File metadata
- Download URL: timetree_exporter-0.8.0.tar.gz
- Upload date:
- Size: 22.9 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
159143011542e7ee2a03778ba17cf8437af433b090b6aaa4327e5eb3e5ba4fed
|
|
| MD5 |
b56635bfea355ee005052a6d12f9606e
|
|
| BLAKE2b-256 |
5a69cb752f2ee610fbbf68c3496d6c16c07dd4ed379b88257cf098b0957c32ba
|
File details
Details for the file timetree_exporter-0.8.0-py3-none-any.whl.
File metadata
- Download URL: timetree_exporter-0.8.0-py3-none-any.whl
- Upload date:
- Size: 22.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: uv/0.11.26 {"installer":{"name":"uv","version":"0.11.26","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Ubuntu","version":"24.04","id":"noble","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":true}
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
92f2361c5a46af64f6ba72019a8a8500fd8bd2f24bb70c6ded8888f044b2f187
|
|
| MD5 |
9dcd67a60c1606268365b5c2860bd591
|
|
| BLAKE2b-256 |
21fa8c45e491d8cc65e57ec42198d0351b14768160cf7b424e10c77fcddb4eb2
|