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 Python 3

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

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page