-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathconfig.example.py
33 lines (28 loc) · 1.13 KB
/
config.example.py
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
# fmt: off
# People involved in Secret Santa
people = {
"Person1": {"email": "[email protected]", "exclude": ("Person2", "Person4")},
"Person2": {"email": "[email protected]", "exclude": ("Person1")},
"Person3": {"email": "[email protected]", "exclude": ()},
"Person4": {"email": "[email protected]", },
"Person5": {"email": "[email protected]", },
"Person6": {"email": "[email protected]", },
}
# Credentials for email sending service
email = {
"address": "[email protected]",
"password": "password",
"port": 465, # this can normally be left at 465
}
# You should enable this depending on your CPU
# A dense (i.e. very few excludes) 8 person graph will take several minutes
# If is recommened that you set this to True for a graph of that size or larger
FAST_SOLVE = True
# Minimum grouping size (FAST_SOLVE==False only)
# The minimum cycle size that is allowed
min_grouping = 2
# Allow groups of 2 (when FAST_SOLVE==True)
# Similar to the min_grouping value above: True -> min_grouping=2, False -> min_grouping=3
allow_pairs = True
# Don't send emails, but print results to terminal if True
DRY_RUN = True