Skip to content

comawill/stratum0-calendar

Repository files navigation

stratum0-calendar

stratum0-calendar generates multiple calendar/events representations for stratum0.org

Installation

  1. Be sure to use Python 3. If in doubt, set up a virtualenv with $ virtualenv -p python3 venv; . venv/bin/activate
  2. $ pip install -r requirements.txt
  3. setup config.py (see config.py.example for an example)
  4. run $ ./bot.py

Tests

To run the tests, do a pip install -r requirements-tests.txt, followed by a python -m nose.

Supported Date-Formats

  • Event
    • over the whole day DD.MM.YYYY
    • at a given time of a day DD.MM.YYYY hh.mm
    • at a given time of a day with specific end DD.MM.YYYY hh.mm-hh.mm
  • Multiple day event
    • DD.MM.YYYY - DD.MM.YYYY
    • with start and end time DD.MM.YYYY hh.mm - DD.MM.YYYY hh.mm
  • Repeating event
    • every week wd, hh.mm plus DD.MM.YYYY - DD.MM.YYYY
    • every week with end time wd, hh.mm - hh.mm plus DD.MM.YYYY - DD.MM.YYYY
    • instead of wd it is possible to use wd/n to generate an event every n-th week

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •