diff options
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/providers/internet/ja_JP')
2 files changed, 17 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/providers/internet/ja_JP/__init__.py b/venv/lib/python3.11/site-packages/faker/providers/internet/ja_JP/__init__.py new file mode 100644 index 0000000..04a552d --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/internet/ja_JP/__init__.py @@ -0,0 +1,17 @@ +from faker.utils.decorators import slugify + +from .. import Provider as InternetProvider + + +class Provider(InternetProvider): + user_name_formats = ( + "{{last_romanized_name}}.{{first_romanized_name}}", + "{{first_romanized_name}}.{{last_romanized_name}}", + "{{first_romanized_name}}##", + "?{{last_romanized_name}}", + ) + tlds = ("com", "com", "com", "net", "org", "jp", "jp", "jp") + + @slugify + def domain_word(self) -> str: + return self.generator.format("last_romanized_name") diff --git a/venv/lib/python3.11/site-packages/faker/providers/internet/ja_JP/__pycache__/__init__.cpython-311.pyc b/venv/lib/python3.11/site-packages/faker/providers/internet/ja_JP/__pycache__/__init__.cpython-311.pyc Binary files differnew file mode 100644 index 0000000..ef47d4e --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/providers/internet/ja_JP/__pycache__/__init__.cpython-311.pyc |