Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.11/site-packages/validators/__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

23 statements  

1"""Validate Anything!""" 

2 

3# local 

4from .between import between 

5from .card import amex, card_number, diners, discover, jcb, mastercard, mir, unionpay, visa 

6from .country import calling_code, country_code, currency 

7from .cron import cron 

8from .crypto_addresses import bsc_address, btc_address, eth_address, trx_address 

9from .domain import domain 

10from .email import email 

11from .encoding import base16, base32, base58, base64 

12from .finance import cusip, isin, sedol 

13from .hashes import md5, sha1, sha224, sha256, sha384, sha512 

14from .hostname import hostname 

15from .i18n import ( 

16 es_cif, 

17 es_doi, 

18 es_nie, 

19 es_nif, 

20 fi_business_id, 

21 fi_ssn, 

22 fr_department, 

23 fr_ssn, 

24 ind_aadhar, 

25 ind_pan, 

26 ru_inn, 

27) 

28from .iban import iban 

29from .ip_address import ipv4, ipv6 

30from .length import length 

31from .mac_address import mac_address 

32from .slug import slug 

33from .url import url 

34from .utils import ValidationError, validator 

35from .uuid import uuid 

36 

37__all__ = ( 

38 # ... 

39 "between", 

40 # crypto_addresses 

41 "bsc_address", 

42 "btc_address", 

43 "eth_address", 

44 "trx_address", 

45 # cards 

46 "amex", 

47 "card_number", 

48 "diners", 

49 "discover", 

50 "jcb", 

51 "mastercard", 

52 "unionpay", 

53 "visa", 

54 "mir", 

55 # country 

56 "calling_code", 

57 "country_code", 

58 "currency", 

59 # ... 

60 "cron", 

61 # ... 

62 "domain", 

63 # ... 

64 "email", 

65 # encodings 

66 "base16", 

67 "base32", 

68 "base58", 

69 "base64", 

70 # finance 

71 "cusip", 

72 "isin", 

73 "sedol", 

74 # hashes 

75 "md5", 

76 "sha1", 

77 "sha224", 

78 "sha256", 

79 "sha384", 

80 "sha512", 

81 # ... 

82 "hostname", 

83 # i18n 

84 "es_cif", 

85 "es_doi", 

86 "es_nie", 

87 "es_nif", 

88 "fi_business_id", 

89 "fi_ssn", 

90 "fr_department", 

91 "fr_ssn", 

92 "ind_aadhar", 

93 "ind_pan", 

94 "ru_inn", 

95 # ... 

96 "iban", 

97 # ip_addresses 

98 "ipv4", 

99 "ipv6", 

100 # ... 

101 "length", 

102 # ... 

103 "mac_address", 

104 # ... 

105 "slug", 

106 # ... 

107 "url", 

108 # ... 

109 "uuid", 

110 # utils 

111 "ValidationError", 

112 "validator", 

113) 

114 

115__version__ = "0.35.0"