forked from daviddrysdale/python-phonenumbers
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path__init__.py
More file actions
45 lines (42 loc) · 1.76 KB
/
Copy path__init__.py
File metadata and controls
45 lines (42 loc) · 1.76 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
"""Geocoding data, mapping each prefix to a dict of locale:locationname.
Auto-generated file, do not edit by hand.
"""
# Copyright (C) 2011-2012 The Libphonenumber Authors
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
GEOCODE_DATA = {
'1201':{'de': u'New Jersey', 'en': u'NJ'},
'1212':{'en': u'NY'},
'1212812':{'en': u'New York, NY'},
'1617423':{'en': u'Boston, MA'},
'1650':{'de': u'Kalifornien', 'en': u'CA'},
'1650960':{'en': u'Mountain View, CA'},
'1989':{'en': u'MA'},
'822':{'en': u'Seoul', 'ko': u'\uc11c\uc6b8'},
'8231':{'en': u'Gyeonggi', 'ko': u'\uacbd\uae30'},
'8232':{'en': u'Incheon', 'ko': u'\uc778\ucc9c'},
'8233':{'en': u'Gangwon', 'ko': u'\uac15\uc6d0'},
'8241':{'en': u'Chungnam', 'ko': u'\ucda9\ub0a8'},
'8242':{'en': u'Daejeon', 'ko': u'\ub300\uc804'},
'8243':{'en': u'Chungbuk', 'ko': u'\ucda9\ubd81'},
'8251':{'en': u'Busan', 'ko': u'\ubd80\uc0b0'},
'8252':{'en': u'Ulsan', 'ko': u'\uc6b8\uc0b0'},
'8253':{'en': u'Daegu', 'ko': u'\ub300\uad6c'},
'8254':{'en': u'Gyeongbuk', 'ko': u'\uacbd\ubd81'},
'8255':{'en': u'Gyeongnam', 'ko': u'\uacbd\ub0a8'},
'8261':{'en': u'Jeonnam', 'ko': u'\uc804\ub0a8'},
'8262':{'en': u'Gwangju', 'ko': u'\uad11\uc8fc'},
'8263':{'en': u'Jeonbuk', 'ko': u'\uc804\ubd81'},
'8264':{'en': u'Jeju'},
}
GEOCODE_LONGEST_PREFIX = 7