Skip to main content

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
```


Project details


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)

Uploaded source

Built Distributions

bj_phone_number-0.0.1-py3-none-any.whl (3.6 kB view hashes)

Uploaded py3

bj_phone_number-0.0.1-py2.py3-none-any.whl (3.6 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor NVIDIA NVIDIA PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page