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 details)
Built Distributions
File details
Details for the file bj_phone_number-0.0.1.tar.gz
.
File metadata
- Download URL: bj_phone_number-0.0.1.tar.gz
- Upload date:
- Size: 4.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3144c987c989687ed6589b50fcd568ed72adf68b6d919e44d287559de80689a8 |
|
MD5 | 7e3489eac116756892f93ab8ec95be0d |
|
BLAKE2b-256 | 52f55d42c50c02606c537c0bd5c2c9d666f6a72d9454630e4c04a18a4e8f349d |
File details
Details for the file bj_phone_number-0.0.1-py3-none-any.whl
.
File metadata
- Download URL: bj_phone_number-0.0.1-py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6dee6e6be43be93f6d48637e363d9375659db903a4a58b6edc5f6c47795cd530 |
|
MD5 | 5448bc54e8a70793c54abcff5daea7dc |
|
BLAKE2b-256 | 5412529ae1a81f3c133a85bcfaae59f56e0f764a33b6707e38e708f0a0bbdd54 |
File details
Details for the file bj_phone_number-0.0.1-py2.py3-none-any.whl
.
File metadata
- Download URL: bj_phone_number-0.0.1-py2.py3-none-any.whl
- Upload date:
- Size: 3.6 kB
- Tags: Python 2, Python 3
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e005bc81b223ac49bae465653edee49afb7f7010efaf7dea523783dc4af6484a |
|
MD5 | 05ed7db056b57ef02286bb1eb2192e3b |
|
BLAKE2b-256 | c9ba35996173975f67dc2aa63a7038c90f3552a9d82d9243335d872baad795f5 |