No project description provided
Project description
Easy and Powerful International Phone Number Validation with Country Detectio
mobile-validate is a Python package designed to streamline the process of validating international phone numbers and identifying their corresponding countries. It leverages a comprehensive library of country-specific regular expressions to ensure accurate and reliable results.
Key Features
Extensive Country Coverage: Supports phone number validation for numerous countries, including popular regions and niche markets.
Simplified Country Identification: Effortlessly identifies the country of origin associated with any valid phone number.
Ease of Use: Integrates seamlessly with existing Python applications and features an intuitive API for convenient phone number validation and country detection.
Highly Accurate: Utilizes a rigorously tested set of country-specific regular expressions to guarantee reliable validation results.
Supported Countries
The module currently supports phone number validation for a wide range of countries, including:
Africa: Zimbabwe, South Africa, Mozambique, Botswana, Malawi, Zambia, Ghana, Nigeria, Egypt
Middle East: Israel
Europe: United Kingdom (London), Netherlands
Asia: China, Korea
North America: United States of America
South America: Argentina, Brazil
Oceania: Australia
Applications
This package offers a versatile solution for various applications, including:
Contact Management Systems: Ensure accurate and consistent contact information for international customers and partners.
User Registration Forms: Simplify user registration by providing seamless phone number validation and country detection.
SMS Marketing Campaigns: Target specific regions and ensure successful delivery of SMS messages.
Mobile Payment Systems: Implement secure and reliable mobile payment solutions with accurate phone number validation.
International Business Transactions: Streamline international business communication and transactions with efficient phone number validation.
Installation
The package can be easily installed using pip:
pip install mobile-validate
Usage
mobile-validate offers an intuitive API for phone number validation and country detection:
from mobile_validate.validator import valid_number # Example: Valid Zimbabwe Mobile Number phone_number = "+263771234567" country = "Zimbabwe" if valid_number(phone_number, country): print(f"Valid {country} mobile number") else: print(f"Not a valid {country} number")
Note
This package is under active development, and contributions are always welcome.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for mobile_validate-1.0.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 230bfaa7145a710789ac7774a437f162e6cc840641cfcf3a6854e55a742a4e0b |
|
MD5 | 5ac0db42e6c1ee11afbf4d7020a899e1 |
|
BLAKE2b-256 | 7b6f256dbeb2b3e73b703eb6bef16cf4e83ca85903ac0f8d4cb53efaf2b9ca17 |