Skip to main content

Prepares Google Takeout exports for ingestion into other tools and fixes small issues

Project description

Takeout Prepper

Prepares Google Takeout exports for ingestion into other tools. These commands come without any form of warranty. Your mileage may vary depending on the source data and the tool that will be ingesting the cleaned data.

For Google Calendar exports

Note: it appears that exports generated by Google Takeout are sometimes more complete than the ones exported directly from Google Calendar. Google Takeout exports may include items you recently deleted and mark them as cancelled events.

The following modifications are applied:

  • Events with a creation date of 00010101T000000Z cannot be parsed by some tools. Therefore they are updated to 19700101T000000Z.
  • Events with a reminder that doesn't contain an action (ACTION:NONE) may not trigger a reminder in some tools. Therefore the action is updated to ACTION:DISPLAY.
  • For an unknown reason, events may be exported with a reminder time of the oddly specific 19760401T005545Z. The script's working assumption is that no one will travel back to 1976 to be reminded of future events, so those triggers are changed to 10 minutes before the start of the event.

To execute, run prep-google-calendar input.ics output.ics.

For Google Tasks exports

Tasks are output in JSON format. Most tools can only ingest in ICS format, a file format that supports to do items. You will need to provide the timezone you use your task list in to get the timestamps to show correctly in some tools.

To execute, run prep-google-tasks --tz=Europe/Madrid input.json output.ics.

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

takeout_prepper-0.0.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

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

takeout_prepper-0.0.1-py3-none-any.whl (3.7 kB view details)

Uploaded Python 3

File details

Details for the file takeout_prepper-0.0.1.tar.gz.

File metadata

  • Download URL: takeout_prepper-0.0.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.12.11-200.fc41.x86_64

File hashes

Hashes for takeout_prepper-0.0.1.tar.gz
Algorithm Hash digest
SHA256 6766048fa07ef96c9bfde5245dfd50bb78e980b4cf527d278f5600961a14a63f
MD5 e0296ad7041794c6b74818a5e1743b3e
BLAKE2b-256 cefd3beb0b974a830b759ccbeca6663de44ba87b22c22c1690f13aca89b1bc50

See more details on using hashes here.

File details

Details for the file takeout_prepper-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: takeout_prepper-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.0.1 CPython/3.13.1 Linux/6.12.11-200.fc41.x86_64

File hashes

Hashes for takeout_prepper-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 faa4f08d73bbc5f4c3b53f85873135a95717b9b51ce8626f8061487b9cb4484d
MD5 635883bada7295ae9855852eecd7c1e9
BLAKE2b-256 703cb906ae589e0f7cd4f8de4a0ebb1c3362af987a4f67f55c93a7bf4001b1a9

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