config.py 343 B

12345678910111213
  1. from importlib import import_module
  2. from .utils.loading import find_available_locales, find_available_providers
  3. DEFAULT_LOCALE = "en_US"
  4. META_PROVIDERS_MODULES = [
  5. "faker.providers",
  6. ]
  7. PROVIDERS = find_available_providers([import_module(path) for path in META_PROVIDERS_MODULES])
  8. AVAILABLE_LOCALES = find_available_locales(PROVIDERS)