Skip to main content

A module to generate random phone numbers

Project description

RandomPhone

Build Status

Overview

RandomPhone is a package for generating random phone numbers. It currently supports UK phone numbers pulled from the Ofcom telephone numbers for use in TV and radio drama

Install

Easy way:

pip install RandomPhone

Usage

RandomPhone can create landlines, mobiles, freephone, premium, and local rate numbers.

from random_phone import RandomUkPhone

rukp = RandomUkPhone()

rukp.random_landline()
rukp.random_mobile()
rukp.random_freephone()
rukp.random_premium()
rukp.random_ukwide()

An optional parameter international can be passed to place the international dialing prefix on the front (+44)

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

RandomPhone-0.0.1.tar.gz (2.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

RandomPhone-0.0.1-py3-none-any.whl (3.6 kB view details)

Uploaded Python 3

File details

Details for the file RandomPhone-0.0.1.tar.gz.

File metadata

  • Download URL: RandomPhone-0.0.1.tar.gz
  • Upload date:
  • Size: 2.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for RandomPhone-0.0.1.tar.gz
Algorithm Hash digest
SHA256 00eab42039e7a069661a66ac4d22fce2d972c14b6869761362337954ecf97de2
MD5 c2ddf590a4948b8cc70f2d1ce1129561
BLAKE2b-256 ea1fcc6b264be0502b988f596f07b59b65053d33fbaf180887e14c3a6c0a03ef

See more details on using hashes here.

File details

Details for the file RandomPhone-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: RandomPhone-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 3.6 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/49.2.1 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.1

File hashes

Hashes for RandomPhone-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b435f40bcc4c15f45c9883de8f2b7c1f60ae326c00832c4690d12153aaf55926
MD5 ded01b1f47e0a044b291edf87a8310ae
BLAKE2b-256 f13c097c9a6716a9786cba4d1bb8c35726a03a9aedfd6e4c21c33abedeb54670

See more details on using hashes here.

Supported by

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