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

14 statements  

1from nameparser._version import VERSION as VERSION 

2from nameparser._version import __version__ as __version__ 

3__author__ = "Derek Gulbranson" 

4__author_email__ = 'derek73@gmail.com' 

5__license__ = "LGPL" 

6__url__ = "https://github.com/derek73/python-nameparser" 

7 

8from nameparser._lexicon import Lexicon, LexiconReading 

9from nameparser._locale import Locale 

10from nameparser._match import ( 

11 CrossRoleMatch, 

12 MatchResult, 

13 Matching, 

14 Outcome, 

15 RoleMatch, 

16 Side, 

17) 

18from nameparser._parser import Parser, parse, parser_for 

19from nameparser._policy import ( 

20 DEFAULT_NICKNAME_DELIMITERS, 

21 DEFAULT_SCRIPT_ORDERS, 

22 FAMILY_FIRST, 

23 FAMILY_FIRST_GIVEN_LAST, 

24 GIVEN_FIRST, 

25 UNSET, 

26 CapsSuffixes, 

27 PatronymicRule, 

28 Policy, 

29 PolicyPatch, 

30 Script, 

31) 

32from nameparser._suggest import ( 

33 NameEvidence, 

34 SettingEvidence, 

35 Signal, 

36 Suggestion, 

37) 

38from nameparser._types import ( 

39 STABLE_TAGS, 

40 Ambiguity, 

41 AmbiguityKind, 

42 ParsedName, 

43 Reading, 

44 ReadingKind, 

45 ReadingSource, 

46 Role, 

47 Segmentation, 

48 Segmenter, 

49 Span, 

50 Token, 

51) 

52 

53__all__ = [ 

54 "Span", "Role", "Token", "Ambiguity", "AmbiguityKind", "Reading", 

55 "ReadingKind", "ReadingSource", "ParsedName", 

56 "STABLE_TAGS", "Segmentation", "Segmenter", 

57 "Lexicon", "LexiconReading", "Policy", "PolicyPatch", "PatronymicRule", "Script", "UNSET", 

58 "CapsSuffixes", 

59 "GIVEN_FIRST", "FAMILY_FIRST", "FAMILY_FIRST_GIVEN_LAST", 

60 "DEFAULT_NICKNAME_DELIMITERS", "DEFAULT_SCRIPT_ORDERS", "Locale", 

61 "Parser", "parse", "parser_for", 

62 "Matching", "MatchResult", "RoleMatch", "CrossRoleMatch", "Outcome", 

63 "Side", 

64 "Suggestion", "NameEvidence", "SettingEvidence", "Signal", 

65]