-
Notifications
You must be signed in to change notification settings - Fork 0
/
README
52 lines (40 loc) · 1.99 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
Installation on Windows
1. download and install python:
- 64 bit version: https://www.python.org/ftp/python/2.7.13/python-2.7.13.amd64.msi
- 32 bit version: https://www.python.org/ftp/python/2.7.13/python-2.7.13.msi
2. Download https://bootstrap.pypa.io/get-pip.py, being careful to save it as a .py file rather than .txt.
Then, run it from the command prompt:
python get-pip.py
You possibly need an administrator command prompt to do this. Follow Start a Command Prompt as an Administrator (Microsoft TechNet).
3. open command prompt and execute this commands:
cd c:\Python27\Scripts
pip.exe install reportlab
pip.exe install xlsxwriter
----------------------------------------------------------------------------------------
Usage: ./handicap.py
handicap chess generator
author: Balogh Peter <bercob@gmail.com>
Options:
-h, --help show this help message and exit
-e EXPORTED_FILE_PATH, --exported-file-path=EXPORTED_FILE_PATH
swissmanager exported file path (default is
'sm_exported_files/Exp.TXT')
-o OUTPUT_PATH, --output-path=OUTPUT_PATH
default output file (default is
'output/handicap.xlsx')
-c HANDICAPS_CONFIG_PATH, --handicaps-config-path=HANDICAPS_CONFIG_PATH
default handicaps config file (default is
'conf/handicaps.csv')
-d DELIMITER, --delimiter=DELIMITER
params delimiter in <exported_file_from_swissmanager>
(default is ';')
-f FREQUENCY, --frequency=FREQUENCY
check frequency in sec (default is 5)
-n, --national-rating
calculate handicap based on national rating (else fide
rating)
-p, --classic-pairing
generate classic pairing table
-t, --with-timestamp generate output with timestamp
-a, --auto-open open generated file automatically
-v, --version get version