-
Notifications
You must be signed in to change notification settings - Fork 1
/
__init__.py
37 lines (31 loc) · 854 Bytes
/
__init__.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
34
35
36
37
"""All of bff' functions."""
import logging
from ._version import get_versions
from .fancy import (
cast_to_category_pd, concat_with_categories, get_peaks, idict,
mem_usage_pd, parse_date, plot_history, plot_predictions, plot_series,
plot_true_vs_pred, read_sql_by_chunks, sliding_window, value_2_list
)
from .config import FancyConfig
# Public object of the module.
__all__ = [
'cast_to_category_pd',
'concat_with_categories',
'get_peaks',
'idict',
'mem_usage_pd',
'parse_date',
'plot_history',
'plot_predictions',
'plot_series',
'plot_true_vs_pred',
'read_sql_by_chunks',
'sliding_window',
'value_2_list',
'FancyConfig',
]
# Logging configuration.
FORMAT = '%(asctime)-15s %(message)s'
logging.basicConfig(format=FORMAT)
__version__ = get_versions()['version']
del get_versions