This commandline tool converts birthday events of an CSV export of Google Contacts via Google Takeout into a iCal calendar file.
The iCal calendar file can then be imported into Google Calendar to create notifications for birthdays of your contacts.
- Build the Docker image.
$ make build-docker-image
- Run Docker container from built image to print help.
$ make run-docker-image
Usage: cli.py [OPTIONS] CSVFILE ICALFILE
Google Contacts birthday to iCal calendar converter
CSVFILE is the input .csv filepath.
ICALFILE is the output .ics filepath.
Options:
--verbose Enable verbose logging output.
--help Show this message and exit.
- Run Docker container from built image with custom arguments.
$ docker compose \
--file docker-compose.yml \
run \
--rm \
--volume=$(pwd):/data:rw \
google-contacts-birthday-ical-calendar \
example.csv \
example.ics \
--verbose
If you’re interested in similar or related projects, check out:
- Google Apps Script which sends emails for birthdays of Google contacts GoogleContactsEventsNotifier
We welcome contributions of all kinds 🎉.
Please read our Contributing guide to learn how to get started, submit changes, and follow our contribution standards.
This project follows a Code of Conduct to ensure a welcoming and respectful community.
By participating, you agree to uphold this standard.
Found a bug or want to request a feature?
Open an issue here: GitHub Issues
Development is possible via an interactive Docker container in VSCode.
-
Build and launch the DevContainer in VSCode.
-
Initiate the Python Virtual Environment via
poetry env activatein the terminal. -
Run test suite via
pytestin the terminal.
This project is licensed under the MIT License.
See the LICENSE file for details.