Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/nameparser/__init__.py: 100%
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
Shortcuts on this page
r m x toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
1from nameparser._version import VERSION as VERSION
2from nameparser._version import __version__ as __version__
3from nameparser.parser import HumanName as HumanName
4__author__ = "Derek Gulbranson"
5__author_email__ = 'derek73@gmail.com'
6__license__ = "LGPL"
7__url__ = "https://github.com/derek73/python-nameparser"
9from nameparser._lexicon import Lexicon
10from nameparser._locale import Locale
11from nameparser._parser import Parser, parse, parser_for
12from nameparser._policy import (
13 DEFAULT_NICKNAME_DELIMITERS,
14 DEFAULT_SCRIPT_ORDERS,
15 FAMILY_FIRST,
16 FAMILY_FIRST_GIVEN_LAST,
17 GIVEN_FIRST,
18 UNSET,
19 PatronymicRule,
20 Policy,
21 PolicyPatch,
22 Script,
23)
24from nameparser._types import (
25 STABLE_TAGS,
26 Ambiguity,
27 AmbiguityKind,
28 ParsedName,
29 Role,
30 Segmentation,
31 Segmenter,
32 Span,
33 Token,
34)
36__all__ = [
37 # v1 (compatibility layer)
38 "HumanName",
39 # v2 core
40 "Span", "Role", "Token", "Ambiguity", "AmbiguityKind", "ParsedName",
41 "STABLE_TAGS", "Segmentation", "Segmenter",
42 "Lexicon", "Policy", "PolicyPatch", "PatronymicRule", "Script", "UNSET",
43 "GIVEN_FIRST", "FAMILY_FIRST", "FAMILY_FIRST_GIVEN_LAST",
44 "DEFAULT_NICKNAME_DELIMITERS", "DEFAULT_SCRIPT_ORDERS", "Locale",
45 "Parser", "parse", "parser_for",
46]