https://github.com/catvec/gcal-custom-recurring-events-generator
Generates an .ics calendar file with a custom reoccurring event type.
https://github.com/catvec/gcal-custom-recurring-events-generator
Last synced: 8 months ago
JSON representation
Generates an .ics calendar file with a custom reoccurring event type.
- Host: GitHub
- URL: https://github.com/catvec/gcal-custom-recurring-events-generator
- Owner: catvec
- License: mit
- Created: 2022-05-11T23:50:29.000Z (almost 4 years ago)
- Default Branch: main
- Last Pushed: 2022-05-18T03:49:47.000Z (almost 4 years ago)
- Last Synced: 2025-06-07T14:02:44.218Z (10 months ago)
- Language: Python
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# GCal Custom Recurring Events Generator
Generates an `.ics` calendar file with a custom reoccurring event type.
# Table Of Contents
- [Overview](#overview)
- [Usage](#usage)
# Overview
A utility with the ability to generate a `.ics` calendar file which contains reoccurring events which match both criteria
- Occur on a certain day
- Occur only if the date is even or odd
# Usage
[Pipenv](https://pipenv.pypa.io) is required.
1. Install dependencies:
```bash
pipenv install
```
2. Activate the virtual environment:
```bash
pipenv shell
```
Run all following commands in this shell.
3. Run the script:
```bash
./generate.py \
--out-ics trash.ics \
--start-date 2022-1-1 \
--end-date 2023-1-1 \
--occurs-on-day tuesday \
--occurs-odd-or-even even \
--event-time-start "7:30 pm" \
--event-time-end "7:45 pm" \
--event-attendee "email@email.com" \
--event-attendee "another@email.com" \
--event-name "Take Out Trash"
```