Skip to content

A python application that allows to export the game schedule of a club belonging to swiss unihockey to a word document

License

Notifications You must be signed in to change notification settings

rufer7/swissunihockey-club-game-schedule-exporter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

swissunihockey-club-game-schedule-exporter

License GitHub release (latest by date) Python tests CodeQL

Twitter

A python application that allows to export the home game schedule of a club belonging to swiss unihockey to a Word document.

Setup

  1. create virtual environment

    ~/python39/python.exe -m venv venv

  2. activate virtual environment by executing the following command in PyCharms Terminal

    venv/Scripts/activate

  3. install dependencies

    pip install -r requirements.txt

Run

  1. change to directory src

  2. execute python app

    python export_club_game_schedule.py

Execute tests

In PyCharm IDE:

  1. set default test runner to pytest

    • Open settings in PyCharm: File > Settings...
    • Navigate to Tools > Python Integrated Tools
    • Under Testing select pytest as default test runner
  2. open file tests/test_export_club_game_schedule.py

  3. right click on tab in editor and execute Run 'pytest in test_expor...'

In Terminal of Pycharm IDE:

  1. activate venv if not yet active

  2. change to tests directory

    cd src\tests

  3. execute pytest

    pytest

About

A python application that allows to export the game schedule of a club belonging to swiss unihockey to a word document

Topics

Resources

License

Stars

Watchers

Forks

Languages