forked from ankitgadling/postal-regex
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
52 lines (49 loc) · 973 Bytes
/
Copy path__init__.py
File metadata and controls
52 lines (49 loc) · 973 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
43
44
45
46
47
48
49
50
51
52
# Core validation and lookup functions
from .core import (
validate,
normalize,
get_entry,
get_country_regex,
get_supported_countries,
)
# Bulk processing utilities for DataFrames and iterables
from .bulk import (
bulk_validate,
bulk_normalize,
validate_dataframe,
validate_spark_dataframe,
load_json,
load_pandas,
load_spark,
export_csv,
export_parquet,
)
# Local analytics and statistics functions
from .analytics import (
record_validation,
show_stats,
reset_stats,
)
__all__ = [
# Core
"validate",
"normalize",
"get_entry",
"get_country_regex",
"get_supported_countries",
# Bulk
"bulk_validate",
"bulk_normalize",
"validate_dataframe",
"validate_spark_dataframe",
"load_json",
"load_pandas",
"load_spark",
"export_csv",
"export_parquet",
# Analytics
"record_validation",
"show_stats",
"reset_stats",
"get_stats"
]