Phone number generator for libphonenumber
Project description
Phone Gen
Phone number generator for Google's libphonenumber library
Install
pip install phone-gen
Example
from phone_gen import PhoneNumber
phone_number = PhoneNumber('GB')
# Get full phone number
number = phone_number.get_number()
print(number) # +442908124840
# Get country code
country_code = phone_number.get_code()
print(country_code) # 44
# Phone number without country code
number = phone_number.get_number(full=False)
print(number) # 183782623
Contributing
Contributions are very welcome.
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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for phone_gen-1.0.0b2-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8c89106551f814717b63ff1f7f5b66ff65aa481fe4e32c7b1e7553de70aa9be5 |
|
MD5 | e75851ec7be9fdf8a50fc8ad73ef9bd0 |
|
BLAKE2b-256 | d5eb5b613610b2b472252d6e115c2d9220768b5b249bcc337b2a30e1fd63dfb4 |