{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/6"},{"label":"Utilities","url":"https://skillfed.io/packages/category/utilities/3"}],"enrichment":{"capability":"Converts ICS calendar files that use the non-standard X-WR-TIMEZONE parameter to strict RFC 5545-compliant calendars, and provides both a Python API and command-line tool for this conversion.","skillfed_tags":["calendar-processing","rfc-compliance"],"use_cases":["Convert Google Calendar exports to RFC 5545 compliance before importing into strict calendar applications","Standardize calendar files in a build pipeline to ensure consistent timezone handling across different calendar clients","Process calendar feeds from third-party sources that use X-WR-TIMEZONE via curl or wget piping","Repair timezone display issues when importing calendars into applications that don't recognize X-WR-TIMEZONE","Batch-convert a directory of calendar files to ensure they work correctly with standards-compliant tools"],"what_it_does":"X-WR-TIMEZONE is a Python module that solves a compatibility problem in calendar files. Some calendar creators, notably Google Calendar, add a non-standard X-WR-TIMEZONE parameter to ICS files to specify the timezone for events. However, strict RFC 5545 parsers ignore this parameter, causing events to display at incorrect times when imported into standards-compliant calendar applications. This module bridges that gap by converting calendars using X-WR-TIMEZONE into proper RFC 5545-compliant calendars where timezone information is correctly embedded.\n\nThe package works both as a Python library and as a command-line tool. As a library, you pass an icalendar.Calendar object to the to_standard() function, which returns a converted calendar without modifying the original. The function is idempotent\u2014passing a calendar through it twice produces no further changes. The command-line interface accepts calendar files via stdin or as arguments, making it easy to pipe output from wget or curl directly into the converter.","worth_installing":"Yes. The package solves a real, specific problem with minimal dependencies and no security vulnerabilities. It is actively maintained, has a stable API, and works as both a library and CLI tool. The copyleft license is standard for calendar software and poses no barrier for most use cases. Install it if you need to work with calendar files that use X-WR-TIMEZONE."},"id":"x-wr-timezone","links":{"html":"https://skillfed.io/packages/x-wr-timezone","md":"https://skillfed.io/packages/x-wr-timezone.md","pypi":"https://pypi.org/project/x-wr-timezone/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-02-06","license_spdx":null,"license_treatment":"copyleft","name":"x-wr-timezone","python_support":"unspecified","summary":"Repair Google Calendar - This Python module and program makes ICS/iCalendar files using X-WR-TIMEZONE compatible with the RFC 5545 standard."},"popularity":{"monthly_downloads":2070212,"position":3324,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"2.0.1"}
