Check
Utility class for email address validation, mobile number checks, string content evaluation, and network connection testing.
Methods
@staticmethod def is_a_valid_philippine_mobile_number(string: str) -> bool
Checks if a string is a valid Philippine mobile number starting with 09, +639, or 639.
@staticmethod def is_all_numbers / has_numbers / has_symbols / has_spaces(string: str) -> bool
Evaluates whether string contains digits, symbols, or whitespace characters.
@staticmethod def is_connected() -> bool
Attempts socket connection to Google DNS (8.8.8.8) to verify internet connectivity.
Check.Email
Validates emails against domain lists using partial split matching or full domain matching.
PYTHON
from inpsPyPI import Check
Check.Email.add_valid_domain_name("gmail")
Check.Email.add_valid_domain_extension("com")
is_valid = Check.Email.is_valid("[email protected]") # True