Coverage for /pythoncovmergedfiles/medio/medio/usr/local/lib/python3.8/site-packages/validators/__init__.py: 100%

18 statements  

« prev     ^ index     » next       coverage.py v7.2.7, created at 2023-06-07 06:08 +0000

1"""Validate Anything!""" 

2# -*- coding: utf-8 -*- 

3 

4# isort: skip_file 

5 

6# The following imports are sorted alphabetically, manually. 

7# Each line is grouped based first or type, then sorted alphabetically. 

8# This is for the reference documentation. 

9 

10# local 

11from .between import between 

12from .btc_address import btc_address 

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

14from .domain import domain 

15from .email import email 

16from .hashes import md5, sha1, sha224, sha256, sha512 

17from .hostname import hostname 

18from .iban import iban 

19from .ip_address import ipv4, ipv6 

20from .length import length 

21from .mac_address import mac_address 

22from .slug import slug 

23from .url import url 

24from .utils import validator, ValidationFailure 

25from .uuid import uuid 

26 

27from .i18n import es_cif, es_doi, es_nie, es_nif, fi_business_id, fi_ssn 

28 

29__all__ = ( 

30 "amex", 

31 "between", 

32 "btc_address", 

33 "card_number", 

34 "diners", 

35 "discover", 

36 "domain", 

37 "email", 

38 "hostname", 

39 "iban", 

40 "ipv4", 

41 "ipv6", 

42 "jcb", 

43 "length", 

44 "mac_address", 

45 "mastercard", 

46 "md5", 

47 "sha1", 

48 "sha224", 

49 "sha256", 

50 "sha512", 

51 "slug", 

52 "unionpay", 

53 "url", 

54 "uuid", 

55 "ValidationFailure", 

56 "validator", 

57 "visa", 

58 # i18n 

59 "es_cif", 

60 "es_doi", 

61 "es_nie", 

62 "es_nif", 

63 "fi_business_id", 

64 "fi_ssn", 

65) 

66 

67__version__ = "0.21.1"