|
1 #!/usr/bin/python2.5 |
|
2 # |
|
3 # Copyright 2008 the Melange authors. |
|
4 # |
|
5 # Licensed under the Apache License, Version 2.0 (the "License"); |
|
6 # you may not use this file except in compliance with the License. |
|
7 # You may obtain a copy of the License at |
|
8 # |
|
9 # http://www.apache.org/licenses/LICENSE-2.0 |
|
10 # |
|
11 # Unless required by applicable law or agreed to in writing, software |
|
12 # distributed under the License is distributed on an "AS IS" BASIS, |
|
13 # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
|
14 # See the License for the specific language governing permissions and |
|
15 # limitations under the License. |
|
16 |
|
17 """Set of known *current* country and territory names. |
|
18 |
|
19 Legacy (duplicate) names for some countries have been removed from the |
|
20 original list. Also missing are the following U.S. OFAC embargoed and |
|
21 Commerce Department export-controlled countries: |
|
22 |
|
23 Cuba, Iran, Myanmar (formerly Burma), North Korea, Sudan, Syria |
|
24 """ |
|
25 |
|
26 __authors__ = [ |
|
27 '"Todd Larsen" <tlarsen@google.com>', |
|
28 ] |
|
29 |
|
30 |
|
31 COUNTRIES_AND_TERRITORIES = ( |
|
32 'Afghanistan, Islamic State of', |
|
33 'Albania', |
|
34 'Algeria', |
|
35 'American Samoa', |
|
36 'Andorra, Principality of', |
|
37 'Angola', |
|
38 'Anguilla', |
|
39 'Antarctica', |
|
40 'Antigua and Barbuda', |
|
41 'Argentina', |
|
42 'Armenia', |
|
43 'Aruba', |
|
44 'Australia', |
|
45 'Austria', |
|
46 'Azerbaidjan', |
|
47 'Bahamas', |
|
48 'Bahrain', |
|
49 'Bangladesh', |
|
50 'Barbados', |
|
51 'Belarus', |
|
52 'Belgium', |
|
53 'Belize', |
|
54 'Benin', |
|
55 'Bermuda', |
|
56 'Bhutan', |
|
57 'Bolivia', |
|
58 'Bosnia-Herzegovina', |
|
59 'Botswana', |
|
60 'Bouvet Island', |
|
61 'Brazil', |
|
62 'British Indian Ocean Territory', |
|
63 'Brunei Darussalam', |
|
64 'Bulgaria', |
|
65 'Burkina Faso', |
|
66 'Burundi', |
|
67 'Cambodia, Kingdom of', |
|
68 'Cameroon', |
|
69 'Canada', |
|
70 'Cape Verde', |
|
71 'Cayman Islands', |
|
72 'Central African Republic', |
|
73 'Chad', |
|
74 'Chile', |
|
75 'China', |
|
76 'Christmas Island', |
|
77 'Cocos (Keeling) Islands', |
|
78 'Colombia', |
|
79 'Comoros', |
|
80 'Congo', |
|
81 'Congo, Democratic Republic of the', |
|
82 'Cook Islands', |
|
83 'Costa Rica', |
|
84 'Croatia', |
|
85 'Cyprus', |
|
86 'Czech Republic', |
|
87 'Denmark', |
|
88 'Djibouti', |
|
89 'Dominica', |
|
90 'Dominican Republic', |
|
91 'East Timor', |
|
92 'Ecuador', |
|
93 'Egypt', |
|
94 'El Salvador', |
|
95 'Equatorial Guinea', |
|
96 'Eritrea', |
|
97 'Estonia', |
|
98 'Ethiopia', |
|
99 'Falkland Islands', |
|
100 'Faroe Islands', |
|
101 'Fiji', |
|
102 'Finland', |
|
103 'France', |
|
104 'French Guyana', |
|
105 'French Southern Territories', |
|
106 'Gabon', |
|
107 'Gambia', |
|
108 'Georgia', |
|
109 'Germany', |
|
110 'Ghana', |
|
111 'Gibraltar', |
|
112 'Great Britain', |
|
113 'Greece', |
|
114 'Greenland', |
|
115 'Grenada', |
|
116 'Guadeloupe (French)', |
|
117 'Guam (USA)', |
|
118 'Guatemala', |
|
119 'Guinea', |
|
120 'Guinea Bissau', |
|
121 'Guyana', |
|
122 'Haiti', |
|
123 'Heard and McDonald Islands', |
|
124 'Holy See (Vatican City State)', |
|
125 'Honduras', |
|
126 'Hong Kong', |
|
127 'Hungary', |
|
128 'Iceland', |
|
129 'India', |
|
130 'Indonesia', |
|
131 'Iraq', |
|
132 'Ireland', |
|
133 'Israel', |
|
134 'Italy', |
|
135 "Ivory Coast (Cote D'Ivoire)", |
|
136 'Jamaica', |
|
137 'Japan', |
|
138 'Jordan', |
|
139 'Kazakhstan', |
|
140 'Kenya', |
|
141 'Kiribati', |
|
142 'Kuwait', |
|
143 'Kyrgyz Republic (Kyrgyzstan)', |
|
144 'Laos', |
|
145 'Latvia', |
|
146 'Lebanon', |
|
147 'Lesotho', |
|
148 'Liberia', |
|
149 'Libya', |
|
150 'Liechtenstein', |
|
151 'Lithuania', |
|
152 'Luxembourg', |
|
153 'Macau', |
|
154 'Macedonia', |
|
155 'Madagascar', |
|
156 'Malawi', |
|
157 'Malaysia', |
|
158 'Maldives', |
|
159 'Mali', |
|
160 'Malta', |
|
161 'Marshall Islands', |
|
162 'Martinique (French)', |
|
163 'Mauritania', |
|
164 'Mauritius', |
|
165 'Mayotte', |
|
166 'Mexico', |
|
167 'Micronesia', |
|
168 'Moldavia', |
|
169 'Monaco', |
|
170 'Mongolia', |
|
171 'Montenegro', |
|
172 'Montserrat', |
|
173 'Morocco', |
|
174 'Mozambique', |
|
175 'Namibia', |
|
176 'Nauru', |
|
177 'Nepal', |
|
178 'Netherlands', |
|
179 'Netherlands Antilles', |
|
180 'New Caledonia (French)', |
|
181 'New Zealand', |
|
182 'Nicaragua', |
|
183 'Niger', |
|
184 'Nigeria', |
|
185 'Niue', |
|
186 'Northern Mariana Islands', |
|
187 'Norway', |
|
188 'Oman', |
|
189 'Pakistan', |
|
190 'Palau', |
|
191 'Palestinian Territories', |
|
192 'Panama', |
|
193 'Papua New Guinea', |
|
194 'Paraguay', |
|
195 'Peru', |
|
196 'Philippines', |
|
197 'Pitcairn Island', |
|
198 'Poland', |
|
199 'Polynesia (French)', |
|
200 'Portugal', |
|
201 'Puerto Rico', |
|
202 'Qatar', |
|
203 'Reunion (French)', |
|
204 'Romania', |
|
205 'Russian Federation', |
|
206 'Rwanda', |
|
207 'South Georgia & South Sandwich Islands', |
|
208 'Saint Helena', |
|
209 'Saint Kitts & Nevis Anguilla', |
|
210 'Saint Lucia', |
|
211 'Saint Pierre and Miquelon', |
|
212 'Saint Tome (Sao Tome) and Principe', |
|
213 'Saint Vincent & Grenadines', |
|
214 'Samoa', |
|
215 'San Marino', |
|
216 'Saudi Arabia', |
|
217 'Senegal', |
|
218 'Serbia', |
|
219 'Seychelles', |
|
220 'Sierra Leone', |
|
221 'Singapore', |
|
222 'Slovak Republic', |
|
223 'Slovenia', |
|
224 'Solomon Islands', |
|
225 'Somalia', |
|
226 'South Africa', |
|
227 'South Korea', |
|
228 'Spain', |
|
229 'Sri Lanka', |
|
230 'Suriname', |
|
231 'Svalbard and Jan Mayen Islands', |
|
232 'Swaziland', |
|
233 'Sweden', |
|
234 'Switzerland', |
|
235 'Tadjikistan', |
|
236 'Taiwan', |
|
237 'Tanzania', |
|
238 'Thailand', |
|
239 'Togo', |
|
240 'Tokelau', |
|
241 'Tonga', |
|
242 'Trinidad and Tobago', |
|
243 'Tunisia', |
|
244 'Turkey', |
|
245 'Turkmenistan', |
|
246 'Turks and Caicos Islands', |
|
247 'Tuvalu', |
|
248 'USA Minor Outlying Islands', |
|
249 'Uganda', |
|
250 'Ukraine', |
|
251 'United Arab Emirates', |
|
252 'United Kingdom', |
|
253 'United States', |
|
254 'Uruguay', |
|
255 'Uzbekistan', |
|
256 'Vanuatu', |
|
257 'Venezuela', |
|
258 'Vietnam', |
|
259 'Virgin Islands (British)', |
|
260 'Virgin Islands (USA)', |
|
261 'Wallis and Futuna Islands', |
|
262 'Western Sahara', |
|
263 'Yemen', |
|
264 'Zambia', |
|
265 'Zimbabwe', |
|
266 ) |