Automated calendar generator
Go to file
2023-08-28 20:44:23 -04:00
.gitignore implement things 2023-08-28 20:35:40 -04:00
config.example.yml implement things 2023-08-28 20:35:40 -04:00
LICENSE Initial commit 2021-01-31 18:42:58 -05:00
main.py implement things 2023-08-28 20:35:40 -04:00
README.md README.md: add usage instructions 2023-08-28 20:44:23 -04:00
requirements.txt implement things 2023-08-28 20:35:40 -04:00

calendar-tool

Tool to manage 6-day cyclic schedules for school. The schedule shifts every week since there are only 5 weekdays, and it also shifts every time there is a long weekend or other break. calendar-tool takes all these disruptions into account over the course of the year.

Takes a YAML configuration file, and saves the calendar as ICS, to be imported in Google Calendar or other calendars that can support it.

usage

  • Clone repo:

    git clone https://github.com/dogeystamp/calendar-tool
    cd calendar-tool
    
  • Copy config.example.yml to config.yml:

    cp config.example.yml config.yml
    
  • Edit the configuration (the comments and examples should explain everything):

    vim config.yml
    
  • Run the script:

    python -m venv venv
    source venv/bin/activate
    pip install -r requirements.txt
    python3 main.py
    
  • Your calendar should now be in cal.ics.