def __init__(self, **args):
for k, v in six.iteritems(args):<EOL><INDENT>if k == '<STR_LIT>':<EOL><INDENT>v = v.upper()<EOL><DEDENT>setattr(self, k, v)<EOL><DEDENT>try:<EOL><INDENT>package = '<STR_LIT>' + '<STR_LIT>' + self.country +'<STR_LIT>'<EOL>data = importlib.import_module(package)<EOL>self.rules = data.full_address<EOL><DEDENT>except AttributeError:<EOL><INDENT>raise e.NoCountrySelected(<EOL>'<STR_LIT>',<EOL>'<STR_LIT>')<EOL><DEDENT>except ImportError:<EOL><INDENT>raise e.CountryDetectionMissing(<EOL>'<STR_LIT>'.<EOL>format(country=self.country), '<STR_LIT>'<EOL>)<EOL><DEDENT>
Initialize with custom arguments