-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.toml
More file actions
49 lines (43 loc) · 1.84 KB
/
config.toml
File metadata and controls
49 lines (43 loc) · 1.84 KB
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
# Utils.py Config File
# Top-down Configuration Order:
# 1. Global Var
# 2. Env Var
# 3. default from cconfig function
#
# https://docs.python.org/3/library/datetime.html#datetime.timezone
# LOG_DT_FMT Examples:
# TZ LOG_DT_FMT Datetime Value
# -------------------------------------------------------------------------
# local %d-%b-%Y %H:%M:%S 29-Oct-2023 11:07:02
# utc %d-%b-%Y %H:%M:%S 29-Oct-2023 18:07:02
# local %Y-%m-%d %H:%M:%S.%f 2023-10-29 11:07:02.739422
# utc %Y-%m-%d %H:%M:%S.%f 2023-10-29 18:07:02.739459
# local %a %d %b %Y, %I:%M%p Sun 29 Oct 2023, 11:07AM
# utc %a %d %b %Y, %I:%M%p Sun 29 Oct 2023, 06:07PM
# local %d-%b-%Y %H:%M:%S %Z 29-Oct-2023 11:07:02 PDT
# utc %d-%b-%Y %H:%M:%S %Z 29-Oct-2023 18:07:02 UTC
# local %d-%b-%Y %H:%M:%S.%f 29-Oct-2023 11:07:02.739422
# utc %d-%b-%Y %H:%M:%S.%f 29-Oct-2023 18:07:02.739459
# local %a %d %b %Y, %I:%M:%S %p Sun 29 Oct 2023, 11:07:02 AM
# utc %a %d %b %Y, %I:%M:%S %p Sun 29 Oct 2023, 06:07:02 PM
# local %a %d %b %Y, %I:%M:%S %p %Z Sun 29 Oct 2023, 11:07:02 AM PDT
# utc %a %d %b %Y, %I:%M:%S %p %Z Sun 29 Oct 2023, 06:07:02 PM UTC
# local %Y-%m-%d %H:%M:%S.%f%z 2023-10-29 11:07:02.739422-0700
# utc %Y-%m-%d %H:%M:%S.%f%z 2023-10-29 18:07:02.739459+0000
title = "TOML Config for utils"
# Cache config
CACHE_PATH = '__cache__'
# Log config
LOGLEVEL = 'WARNING'
# LOG_CALLER = true
# LOG_DT = true
LOG_DT_FMT = '%d-%b-%Y %H:%M:%S %Z'
LOG_META_COLOR = 'iGray'
COLORED = true
# UTC = true
# Print config
INDENT = 2
IND_SPC = ' '
REP = '='
LEAD = 3
WIDTH = 90