From 4abc43ac1c5eff399aad8366ef95785703d340f4 Mon Sep 17 00:00:00 2001 From: Hazel Noack Date: Thu, 12 Jun 2025 16:09:19 +0200 Subject: [PATCH] feat: added config to readme --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 38b16fc..9b833b0 100644 --- a/README.md +++ b/README.md @@ -74,3 +74,14 @@ country.official_name ``` If you have an `EmptyCountry` these attributes will all be `None`. + +### Configuring behavior + +If you want to set a fallback country or disable fuzzy search you can do that with the config module. + +```python +from pycountry_wrapper import config + +config.fallback_country = "US" +config.allow_fuzzy_search = False +```