diff options
Diffstat (limited to 'venv/lib/python3.11/site-packages/faker/config.py')
-rw-r--r-- | venv/lib/python3.11/site-packages/faker/config.py | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/venv/lib/python3.11/site-packages/faker/config.py b/venv/lib/python3.11/site-packages/faker/config.py new file mode 100644 index 0000000..e668c37 --- /dev/null +++ b/venv/lib/python3.11/site-packages/faker/config.py @@ -0,0 +1,13 @@ +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) |