Skip to content

c0rv4x/logins-generator

Repository files navigation

Generate logins like a sir

For now Python3 is supported for sure. Other versions are not guaranteed.

Note that for now we support only name, surname and patronymic parameters. Transliteration is always on by default, however, symbols which are not defined in transliteration.json will be used as-is.

Simple inline generator

python3 launcher.py --name евгений --surname иванов петров smith --formating 'prefix.{name}.{surname}'
prefix.evgeniy.smith
prefix.evgeney.smith
prefix.evgeniy.petrov
prefix.evgeney.ivanov
prefix.evgeniy.ivanov
prefix.evgeney.evanov
prefix.evgeniy.evanov
prefix.evgeney.petrov

Names in file

python3 launcher.py --name-file names.txt --surname иванов петров smith --formating 'prefix.{name}.{surname}' 

Inline generator with indexation

python3 launcher.py --name евгений --surname иванов петров smith --formating 'prefix.{name[0]}.{surname}'
prefix.e.ivanov
prefix.e.smith
prefix.e.evanov
prefix.e.petrov

Supply already formatted file with names, surnames and patronymics

> cat /tmp/1
< Иван::Петров@Николаевич
< Серьго::Бумеров@Павлович
python3 launcher.py --fullname-file /tmp/1 --fullname-format 'name::surname@patronymic' --formating '{name[0]}{surname}'
ebumerov
spetrov
sbumerov
ipetrov
sboumerov
epetrov
eboumerov
ibumerov
iboumerov

Specify a list of formats

python3 launcher.py --fullname-file /tmp/1 --fullname-format 'name::surname@patronymic' --formating-file formats.txt

Change transliteration rules

Edit transliteration.json file to change the way the letters are transliterated

Author

Anatoly Ivanov of Positive Technologies

About

Generate users list using certain format

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages