You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

14 lines
343 B

from importlib import import_module
from .utils.loading import find_available_locales, find_available_providers
DEFAULT_LOCALE = "en_US"
META_PROVIDERS_MODULES = [
"faker.providers",
]
PROVIDERS = find_available_providers([import_module(path) for path in META_PROVIDERS_MODULES])
AVAILABLE_LOCALES = find_available_locales(PROVIDERS)