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.
- 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
$ python3 run.py