-
Notifications
You must be signed in to change notification settings - Fork 77
Expand file tree
/
Copy path__init__.py
More file actions
42 lines (27 loc) · 902 Bytes
/
__init__.py
File metadata and controls
42 lines (27 loc) · 902 Bytes
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
"""Imports a function from the correct library. This structure allows the
function name to be passed without initializing its module and without breaking
if the module's requirements are not met. """
def csv_stdlib():
from ..libs.stdlib_tools import csv_stdlib
return csv_stdlib
def tsv_stdlib():
from ..libs.stdlib_tools import tsv_stdlib
return tsv_stdlib
def csv_pandas():
from ..libs.panda_tools import csv_pandas
return csv_pandas
def tsv_pandas():
from ..libs.panda_tools import tsv_pandas
return tsv_pandas
def dta_pandas():
from ..libs.panda_tools import dta_pandas
return dta_pandas
def sav_stdlib():
from ..libs.stdlib_tools import sav_stdlib
return sav_stdlib
def sav_pandas():
from ..libs.panda_tools import sav_pandas
return sav_pandas
def xlsx_xlrd():
from ..libs.xlrd_tools import xlsx_xlrd
return xlsx_xlrd