summaryrefslogtreecommitdiff
path: root/venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU
diff options
context:
space:
mode:
authorcyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
committercyfraeviolae <cyfraeviolae>2024-04-03 03:10:44 -0400
commit6d7ba58f880be618ade07f8ea080fe8c4bf8a896 (patch)
treeb1c931051ffcebd2bd9d61d98d6233ffa289bbce /venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU
parent4f884c9abc32990b4061a1bb6997b4b37e58ea0b (diff)
venv
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU')
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__init__.py100
-rw-r--r--venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__pycache__/__init__.cpython-311.pycbin0 -> 1928 bytes
2 files changed, 100 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__init__.py
new file mode 100644
index 0000000..0c00a93
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__init__.py
@@ -0,0 +1,100 @@
+from .. import Provider as InternetProvider
+
+
+class Provider(InternetProvider):
+ user_name_formats = (
+ "{{last_name_female}}.{{first_name_female}}",
+ "{{last_name_male}}.{{first_name_male}}",
+ "{{last_name_male}}.{{first_name_male}}",
+ "{{first_name_male}}.{{last_name_male}}",
+ "{{first_name}}##",
+ "{{first_name}}_##",
+ "?{{last_name}}",
+ "{{first_name}}{{year}}",
+ "{{first_name}}_{{year}}",
+ )
+
+ email_formats = (
+ "{{user_name}}@{{free_email_domain}}",
+ "{{user_name}}@{{domain_name}}",
+ )
+
+ free_email_domains = (
+ "gmail.com",
+ "yahoo.com",
+ "hotmail.com",
+ "mail.ru",
+ "yandex.ru",
+ "rambler.ru",
+ )
+
+ tlds = ("ru", "com", "biz", "info", "net", "org", "edu")
+
+ replacements = (
+ ("А", "a"),
+ ("Б", "b"),
+ ("В", "v"),
+ ("Г", "g"),
+ ("Д", "d"),
+ ("Е", "e"),
+ ("Ё", "e"),
+ ("Ж", "zh"),
+ ("З", "z"),
+ ("И", "i"),
+ ("Й", ""),
+ ("К", "k"),
+ ("Л", "l"),
+ ("М", "m"),
+ ("Н", "n"),
+ ("О", "o"),
+ ("П", "p"),
+ ("Р", "r"),
+ ("С", "s"),
+ ("Т", "t"),
+ ("У", "u"),
+ ("Ф", "f"),
+ ("Х", "h"),
+ ("Ц", "ts"),
+ ("Ч", "ch"),
+ ("Ш", "sh"),
+ ("Щ", "shch"),
+ ("Ъ", ""),
+ ("Ы", "i"),
+ ("Ь", ""),
+ ("Э", "e"),
+ ("Ю", "yu"),
+ ("Я", "ya"),
+ ("а", "a"),
+ ("б", "b"),
+ ("в", "v"),
+ ("г", "g"),
+ ("д", "d"),
+ ("е", "e"),
+ ("ё", "e"),
+ ("ж", "zh"),
+ ("з", "z"),
+ ("и", "i"),
+ ("й", ""),
+ ("к", "k"),
+ ("л", "l"),
+ ("м", "m"),
+ ("н", "n"),
+ ("о", "o"),
+ ("п", "p"),
+ ("р", "r"),
+ ("с", "s"),
+ ("т", "t"),
+ ("у", "u"),
+ ("ф", "f"),
+ ("х", "h"),
+ ("ц", "ts"),
+ ("ч", "ch"),
+ ("ш", "sh"),
+ ("щ", "shch"),
+ ("ъ", ""),
+ ("ы", "i"),
+ ("ь", ""),
+ ("э", "e"),
+ ("ю", "ju"),
+ ("я", "ja"),
+ )
diff --git a/venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__pycache__/__init__.cpython-311.pyc
new file mode 100644
index 0000000..162d480
--- /dev/null
+++ b/venv/lib/python3.11/site-packages/faker/providers/internet/ru_RU/__pycache__/__init__.cpython-311.pyc
Binary files differ