Skip to content

Generates a list of valid phone numbers based on partial digits you provide

Notifications You must be signed in to change notification settings

motoko-ayanami/Canada-Phone-Number-Generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 

Repository files navigation

Canada-Phone-Number-Generator

Generates a list of valid phone numbers based on partial digits you provide

Uses the (Canadian Numbering Administrator / Administrateur de la numérotation canadienne) to cut down on unused NXX numbers for the 514 and 438 area code.

Run the script, enter a partial phone number and replace any unknown digits with lowercase x. The script will generate a CSV with all the possible combinations of phone numbers.

python ./phone_number_generator.py

Enter a partial phone number with unknown digits represented by 'x': 438xxx2208

Wrote 680 phone numbers to 'phone_numbers.csv'.

Inspired by the work of Martin Vigo and his phonerator tool https://www.martinvigo.com/tools/phonerator/

About

Generates a list of valid phone numbers based on partial digits you provide

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages