-
Notifications
You must be signed in to change notification settings - Fork 112
Expand file tree
/
Copy path__init__.py
More file actions
38 lines (36 loc) · 1.02 KB
/
Copy path__init__.py
File metadata and controls
38 lines (36 loc) · 1.02 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
from nameparser._version import VERSION as VERSION
from nameparser._version import __version__ as __version__
from nameparser.parser import HumanName as HumanName
__author__ = "Derek Gulbranson"
__author_email__ = 'derek73@gmail.com'
__license__ = "LGPL"
__url__ = "https://github.com/derek73/python-nameparser"
from nameparser._lexicon import Lexicon
from nameparser._locale import Locale
from nameparser._parser import Parser, parse, parser_for
from nameparser._policy import (
FAMILY_FIRST,
FAMILY_FIRST_GIVEN_LAST,
GIVEN_FIRST,
UNSET,
PatronymicRule,
Policy,
PolicyPatch,
)
from nameparser._types import (
Ambiguity,
AmbiguityKind,
ParsedName,
Role,
Span,
Token,
)
__all__ = [
# v1 (compatibility layer)
"HumanName",
# v2 core
"Span", "Role", "Token", "Ambiguity", "AmbiguityKind", "ParsedName",
"Lexicon", "Policy", "PolicyPatch", "PatronymicRule", "UNSET",
"GIVEN_FIRST", "FAMILY_FIRST", "FAMILY_FIRST_GIVEN_LAST", "Locale",
"Parser", "parse", "parser_for",
]