https://github.com/taqsblaze/zimphonevalidate
A module for easily validating Zimbabwean mobile numbers in your python applications
https://github.com/taqsblaze/zimphonevalidate
Last synced: 6 months ago
JSON representation
A module for easily validating Zimbabwean mobile numbers in your python applications
- Host: GitHub
- URL: https://github.com/taqsblaze/zimphonevalidate
- Owner: TaqsBlaze
- License: mit
- Created: 2023-12-05T07:52:37.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-07T18:40:18.000Z (over 1 year ago)
- Last Synced: 2024-10-10T13:46:34.655Z (7 months ago)
- Language: Python
- Size: 18.6 KB
- Stars: 5
- Watchers: 1
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
===================================================
package name: ZimPhoneValidate
version: 1.0
Developer: Tanaka Chinengundu
Github: https://github.com/taqsblaze
Whatsapp: +263778040497ZimPhoneValidate is a module for easily validating
Zimbabwean phone numbers within your python software##How to install
open your terminal in root directory and run the setup.py file
python setup.py install##How to use
```
from ZimPhoneValidate.validate import number_is_validnumber=str(input("Enter a valid Zim number with country code\n:"))
if number_is_valid(number):
print(f"{number} is a valid phone number")
else:
print(f"{number} is not a valid phone number")
```##Supported formats
- 26377804049
- 263 778 040 49
- 263 7780 040 49
- 263 778 04049```Currently + is not supported``` and your number wont validate