Phone number validation library, Cambodia first
Project description
regex-number-phone
Phone number regex validator and formatter.
Cambodia validation supported.
Install
Usage
from regex_number_phone import is_valid_cambodia, format_to_international
print(is_valid_cambodia("012345678")) # True
print(format_to_international("012345678")) # +85512345678
print(format_to_international("+85570888888")) # +85570888888
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file regex_number_phone-0.2.0.tar.gz.
File metadata
- Download URL: regex_number_phone-0.2.0.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
9c0df8de51453a0e8f2f691ba6a577dede1267091424371ce246fd3de86e0610
|
|
| MD5 |
a6d9dcdda4a3cb0ddb24d716b4def510
|
|
| BLAKE2b-256 |
d79c797bea7d729bdeda6cf358e31a68ab897dcdc194b80ee8c0793bd4d2e4b1
|
File details
Details for the file regex_number_phone-0.2.0-py3-none-any.whl.
File metadata
- Download URL: regex_number_phone-0.2.0-py3-none-any.whl
- Upload date:
- Size: 2.8 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.13.3
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
0b50322a343fe121b4dbdb8b234b4d4b283419bbb4e1412d723c2d659bcd87dd
|
|
| MD5 |
c5894e36e80549419215ff953214daf4
|
|
| BLAKE2b-256 |
89119f71ebc49eaea2219e7e2bf64b5ff6186004d81a0119097d6e27e2ea6fa3
|