Skip to main content

A Tool for Exporting TimeTree Calendar and Convert to iCal format(.ics)

Project description

TimeTree Exporter

PyPI Python 3.x License Downloads Buy Me A Coffee

A Tool for Exporting TimeTree Calendar and Convert to iCal format(.ics)
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 -e option.

    timetree-exporter -e email@example.com
    
  • Specify the calendar code using the -c or --calendar_code option.

    timetree-exporter -c calendar_code
    

    Note: Find the calendar code in the URL of the calendar page or when running the script without the -c option.

  • 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-label
    

    This creates individual ICS files for each label (e.g., timetree_work.ics, timetree_personal.ics).

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.

Support

If you think it's helpful, kindly support me!

"Buy Me A Coffee"

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

timetree_exporter-0.7.2.tar.gz (16.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

timetree_exporter-0.7.2-py3-none-any.whl (18.4 kB view details)

Uploaded Python 3

File details

Details for the file timetree_exporter-0.7.2.tar.gz.

File metadata

  • Download URL: timetree_exporter-0.7.2.tar.gz
  • Upload date:
  • Size: 16.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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

Hashes for timetree_exporter-0.7.2.tar.gz
Algorithm Hash digest
SHA256 a9a2e4b678de33499aa4cf1205939e6cb97411f95b37f7dca8def2f1e87a09f9
MD5 25b5c29684c1b86c47f8fdc3ccfa3061
BLAKE2b-256 fba4b61ffe9d337531564e9ff95996da08181796f1ffc5b03486817d00edc426

See more details on using hashes here.

File details

Details for the file timetree_exporter-0.7.2-py3-none-any.whl.

File metadata

  • Download URL: timetree_exporter-0.7.2-py3-none-any.whl
  • Upload date:
  • Size: 18.4 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: uv/0.11.11 {"installer":{"name":"uv","version":"0.11.11","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

Hashes for timetree_exporter-0.7.2-py3-none-any.whl
Algorithm Hash digest
SHA256 6d5ede89a39471bd0288441fec12b41580e451bae726e9f4f448de43ada857b9
MD5 a3226bd8ffebff5658cabe7e609a2aab
BLAKE2b-256 6da9a4be364fe8560b196b3dafcc774526d255812d8f040d4ed173a701ab32e8

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page