-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.py.sample
28 lines (23 loc) · 1.15 KB
/
config.py.sample
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
# copy this file to a file called config.py and customize for your own purposes
# customize the list of domains that often contain email you want to keep (like bills, personal emails, etc)
# domains are what occur after the @ sign in an email address;
# these will be ranked lower (less spammy) than non-safe domains
SAFE_DOMAINS = ["gmail.com", "yahoo.com", "email.att-mail.com", "google.com"]
# customize the list of emails and gmail labels to exclude from your analysis because they are emails you want to keep
IGNORE_EMAILS = ["[email protected]",
# any of your gmail labels that contain mail you want to keep
IGNORE_LABELS = ["_bills"]
# =====
# years of email you want to analyze
# =====
EARLIEST_YEAR = 2004
# set to latest year of email to analyze, or None to include up to today
LATEST_YEAR = None
# set number of years to summarize at a time, or None to summarize once across all years
NUM_YEARS_PER_BATCH = None
# ====
# how many extra examples per frequent sender you want printed
NUM_EXAMPLES_PER_LINE = 3
# during analysis, show progress
NUM_EMAILS_PER_PROGRESS_UPDATE = 500