Skip to content
This repository has been archived by the owner on Jul 13, 2024. It is now read-only.

Latest commit

 

History

History
37 lines (29 loc) · 1.09 KB

README.md

File metadata and controls

37 lines (29 loc) · 1.09 KB

☎️ Phony

CAUTION: I am neither a telephony nor a Python pro (this is my first Python script, lmao).
This is probably not the most rigorous way to achieve the sake of this project.
Remember that it is just a side project made for the fun.

Features

  • Deterministic generation (Finite generator)
  • Data Persistence (MongoDB)
  • Stateless
  • Configuration:
    • i18n configuration template
    • Country code
    • Operator codes
    • Fine-tuning rules:
      • Phone number length
      • Same digit threshold
      • Consecutive same digit threshold
      • Max consecutive zeros
      • Max heading zeros (maximum of zeros at the beginning of the pseudo-randomly generated block)
      • Banned operator codes
    • Pseudo randomization:
      • Shuffle operator codes
      • Pick a new random operator code all the x database chunk creation.
      • Randomize database entries chunks' size

How to run

$ python3 run.py

Dependencies