A fast minimal module to validate Beninese mobile phone numbers
Project description
## bjphonenumber
A fast minimal module to validate Beninese mobile phone numbers.
### Installation
```
$ pip install bj_phone_number
```
### Usage
This module assumes that you already know that Benines numbers are prefixed by `+229` and you should not expect your users to type that. Instead your UI should look something like this.
```
|**********************|
+229 | phone number here |
|**********************|
```
```
from bj_phone_number import validate_number
number = "66526416"
print(validate_number(number)) # validate
```
A fast minimal module to validate Beninese mobile phone numbers.
### Installation
```
$ pip install bj_phone_number
```
### Usage
This module assumes that you already know that Benines numbers are prefixed by `+229` and you should not expect your users to type that. Instead your UI should look something like this.
```
|**********************|
+229 | phone number here |
|**********************|
```
```
from bj_phone_number import validate_number
number = "66526416"
print(validate_number(number)) # validate
```
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
bj_phone_number-0.0.1.tar.gz
(4.1 kB
view hashes)
Built Distributions
Close
Hashes for bj_phone_number-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dee6e6be43be93f6d48637e363d9375659db903a4a58b6edc5f6c47795cd530 |
|
MD5 | 5448bc54e8a70793c54abcff5daea7dc |
|
BLAKE2b-256 | 5412529ae1a81f3c133a85bcfaae59f56e0f764a33b6707e38e708f0a0bbdd54 |
Close
Hashes for bj_phone_number-0.0.1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | e005bc81b223ac49bae465653edee49afb7f7010efaf7dea523783dc4af6484a |
|
MD5 | 05ed7db056b57ef02286bb1eb2192e3b |
|
BLAKE2b-256 | c9ba35996173975f67dc2aa63a7038c90f3552a9d82d9243335d872baad795f5 |