Skip to content

Commit

Permalink
Generated files for metadata
Browse files Browse the repository at this point in the history
  • Loading branch information
daviddrysdale committed Oct 17, 2023
1 parent 95ba815 commit 6febd4e
Show file tree
Hide file tree
Showing 7 changed files with 47 additions and 48 deletions.
82 changes: 41 additions & 41 deletions python/phonenumbers/carrierdata/data0.py
Original file line number Diff line number Diff line change
Expand Up @@ -948,11 +948,11 @@
'22897':{'en': 'TOGOCEL'},
'22898':{'en': 'Moov'},
'22899':{'en': 'Moov'},
'22940':{'en': 'SBIN'},
'22941':{'en': 'SBIN'},
'22940':{'en': 'Celtiis'},
'22941':{'en': 'Celtiis'},
'22942':{'en': 'MTN'},
'22943':{'en': 'SBIN'},
'22945':{'en': 'SBIN'},
'22943':{'en': 'Celtiis'},
'22945':{'en': 'Celtiis'},
'22946':{'en': 'MTN'},
'2295':{'en': 'MTN'},
'22955':{'en': 'Moov'},
Expand Down Expand Up @@ -1347,19 +1347,19 @@
'26263900':{'en': 'Orange'},
'26263901':{'en': 'Orange'},
'26263902':{'en': 'Orange'},
'26263903':{'en': 'Only'},
'26263904':{'en': 'Only'},
'26263905':{'en': 'Only'},
'26263906':{'en': 'Only'},
'26263907':{'en': 'Only'},
'26263903':{'en': 'Telco OI'},
'26263904':{'en': 'Telco OI'},
'26263905':{'en': 'Telco OI'},
'26263906':{'en': 'Telco OI'},
'26263907':{'en': 'Telco OI'},
'26263909':{'en': 'SFR'},
'26263910':{'en': 'SFR'},
'26263911':{'en': 'SFR'},
'26263919':{'en': 'Only'},
'26263919':{'en': 'Telco OI'},
'2626392':{'en': 'SFR'},
'26263926':{'en': 'Only'},
'26263926':{'en': 'Telco OI'},
'26263930':{'en': 'BJT'},
'26263939':{'en': 'Only'},
'26263939':{'en': 'Telco OI'},
'2626394':{'en': 'SFR'},
'26263950':{'en': 'BJT'},
'26263955':{'en': 'Orange'},
Expand All @@ -1378,20 +1378,20 @@
'26263968':{'en': 'SFR'},
'26263969':{'en': 'SFR'},
'26263970':{'en': 'BJT'},
'26263971':{'en': 'Only'},
'26263972':{'en': 'Only'},
'26263973':{'en': 'Only'},
'26263974':{'en': 'Only'},
'26263975':{'en': 'Only'},
'26263971':{'en': 'Telco OI'},
'26263972':{'en': 'Telco OI'},
'26263973':{'en': 'Telco OI'},
'26263974':{'en': 'Telco OI'},
'26263975':{'en': 'Telco OI'},
'26263976':{'en': 'Orange'},
'26263977':{'en': 'Orange'},
'26263978':{'en': 'Orange'},
'26263979':{'en': 'Orange'},
'26263990':{'en': 'BJT'},
'26263994':{'en': 'Only'},
'26263995':{'en': 'Only'},
'26263996':{'en': 'Only'},
'26263997':{'en': 'Only'},
'26263994':{'en': 'Telco OI'},
'26263995':{'en': 'Telco OI'},
'26263996':{'en': 'Telco OI'},
'26263997':{'en': 'Telco OI'},
'26263999':{'en': 'Orange'},
'262692':{'en': 'SFR'},
'2626920':{'en': 'Orange'},
Expand All @@ -1402,9 +1402,9 @@
'26269242':{'en': 'Orange'},
'26269243':{'en': 'Orange'},
'26269244':{'en': 'Orange'},
'26269292':{'en': 'Only'},
'26269293':{'en': 'Only'},
'26269294':{'en': 'Only'},
'26269292':{'en': 'Telco OI'},
'26269293':{'en': 'Telco OI'},
'26269294':{'en': 'Telco OI'},
'26269300':{'en': 'Orange'},
'26269301':{'en': 'SFR'},
'26269302':{'en': 'SFR'},
Expand All @@ -1418,33 +1418,31 @@
'26269320':{'en': 'SFR'},
'26269321':{'en': 'Orange'},
'26269322':{'en': 'Orange'},
'26269330':{'en': 'Only'},
'26269331':{'en': 'Only'},
'26269332':{'en': 'Only'},
'26269330':{'en': 'Telco OI'},
'26269331':{'en': 'Telco OI'},
'26269332':{'en': 'Telco OI'},
'26269333':{'en': 'Orange'},
'26269339':{'en': 'Orange'},
'2626934':{'en': 'Only'},
'26269350':{'en': 'Only'},
'26269351':{'en': 'Only'},
'26269352':{'en': 'Only'},
'26269353':{'en': 'Only'},
'26269354':{'en': 'Only'},
'2626934':{'en': 'Telco OI'},
'26269350':{'en': 'Telco OI'},
'26269351':{'en': 'Telco OI'},
'26269352':{'en': 'Telco OI'},
'26269353':{'en': 'Telco OI'},
'26269354':{'en': 'Telco OI'},
'26269355':{'en': 'Orange'},
'26269360':{'en': 'Only'},
'26269360':{'en': 'Telco OI'},
'26269361':{'en': 'ZEOP Mobile'},
'26269362':{'en': 'ZEOP Mobile'},
'26269363':{'en': 'ZEOP Mobile'},
'26269364':{'en': 'ZEOP Mobile'},
'26269365':{'en': 'ZEOP Mobile'},
'26269366':{'en': 'Orange'},
'26269370':{'en': 'Only'},
'26269371':{'en': 'Only'},
'26269372':{'en': 'Only'},
'26269370':{'en': 'Telco OI'},
'26269371':{'en': 'Telco OI'},
'26269372':{'en': 'Telco OI'},
'26269373':{'en': 'Telco OI'},
'26269377':{'en': 'Orange'},
'26269380':{'en': 'Only'},
'26269381':{'en': 'Only'},
'26269382':{'en': 'Only'},
'26269383':{'en': 'Only'},
'2626938':{'en': 'Telco OI'},
'26269388':{'en': 'Orange'},
'26269390':{'en': 'Orange'},
'26269391':{'en': 'Orange'},
Expand Down Expand Up @@ -1710,6 +1708,7 @@
'30687500':{'en': 'BWS'},
'30688500':{'en': 'BWS'},
'30689900':{'en': 'OTEGlobe'},
'30689901':{'en': 'M-STAT'},
'306900':{'en': 'BWS'},
'30690100':{'en': 'MI Carrier Services'},
'30690199':{'en': 'BWS'},
Expand Down Expand Up @@ -10019,4 +10018,5 @@
'553199615':{'en': 'Telemig Celular'},
'553199616':{'en': 'Telemig Celular'},
'553199617':{'en': 'Telemig Celular'},
'553199618':{'en': 'Telemig Celular'},
}
2 changes: 1 addition & 1 deletion python/phonenumbers/carrierdata/data1.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# limitations under the License.

data = {
'553199618':{'en': 'Telemig Celular'},
'553199619':{'en': 'Telemig Celular'},
'553199621':{'en': 'Telemig Celular'},
'553199622':{'en': 'Telemig Celular'},
Expand Down Expand Up @@ -10019,4 +10018,5 @@
'5699976':{'en': 'Claro'},
'5699977':{'en': 'Claro'},
'5699978':{'en': 'Claro'},
'5699979':{'en': 'Claro'},
}
1 change: 0 additions & 1 deletion python/phonenumbers/carrierdata/data2.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@
# limitations under the License.

data = {
'5699979':{'en': 'Claro'},
'569998':{'en': 'Claro'},
'569999':{'en': 'Entel'},
'5699990':{'en': 'Tesacom'},
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_BW.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_BW = PhoneMetadata(id='BW', country_code=267, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='(?:0800|(?:[37]|800)\\d)\\d{6}|(?:[2-6]\\d|90)\\d{5}', possible_length=(7, 8, 10)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:2(?:4[0-48]|6[0-24]|9[0578])|3(?:1[0-35-9]|55|[69]\\d|7[013]|81)|4(?:6[03]|7[1267]|9[0-5])|5(?:3[03489]|4[0489]|7[1-47]|88|9[0-49])|6(?:2[1-35]|5[149]|8[067]))\\d{4}', example_number='2401234', possible_length=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:321|7(?:[1-7]\\d|8[0-4]))\\d{5}', example_number='71123456', possible_length=(8,)),
mobile=PhoneNumberDesc(national_number_pattern='(?:321|7[1-8]\\d)\\d{5}', example_number='71123456', possible_length=(8,)),
toll_free=PhoneNumberDesc(national_number_pattern='(?:0800|800\\d)\\d{6}', example_number='0800012345', possible_length=(10,)),
premium_rate=PhoneNumberDesc(national_number_pattern='90\\d{5}', example_number='9012345', possible_length=(7,)),
voip=PhoneNumberDesc(national_number_pattern='79(?:1(?:[01]\\d|2[0-7])|2[0-7]\\d)\\d{3}', example_number='79101234', possible_length=(8,)),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_GE.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
PHONE_METADATA_GE = PhoneMetadata(id='GE', country_code=995, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[3-57]\\d\\d|800)\\d{6}', possible_length=(9,), possible_length_local_only=(6, 7)),
fixed_line=PhoneNumberDesc(national_number_pattern='(?:3(?:[256]\\d|4[124-9]|7[0-4])|4(?:1\\d|2[2-7]|3[1-79]|4[2-8]|7[239]|9[1-7]))\\d{6}', example_number='322123456', possible_length=(9,), possible_length_local_only=(6, 7)),
mobile=PhoneNumberDesc(national_number_pattern='5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[01]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}', example_number='555123456', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='5(?:(?:(?:0555|1(?:[17]77|555))[5-9]|757(?:7[7-9]|8[01]))\\d|22252[0-4])\\d\\d|(?:5(?:00(?:0\\d|11|22|33|44|5[05]|77|88|99)|1(?:1(?:00|[124]\\d|3[01])|4\\d\\d)|(?:44|68)\\d\\d|5(?:[0157-9]\\d\\d|200)|7(?:[0147-9]\\d\\d|5(?:00|[57]5))|8(?:0(?:[018]\\d|2[0-4])|58[89]|8(?:55|88))|9(?:090|[1-35-9]\\d\\d))|790\\d\\d)\\d{4}|5(?:0(?:070|505)|1(?:0[01]0|1(?:07|33|51))|2(?:0[02]0|2[25]2)|3(?:0[03]0|3[35]3)|(?:40[04]|900)0|5222)[0-4]\\d{3}', example_number='555123456', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='800\\d{6}', example_number='800123456', possible_length=(9,)),
voip=PhoneNumberDesc(national_number_pattern='70[67]\\d{6}', example_number='706123456', possible_length=(9,)),
no_international_dialling=PhoneNumberDesc(national_number_pattern='70[67]\\d{6}', possible_length=(9,)),
Expand Down
2 changes: 1 addition & 1 deletion python/phonenumbers/data/region_NU.py
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@
PHONE_METADATA_NU = PhoneMetadata(id='NU', country_code=683, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='(?:[47]|888\\d)\\d{3}', possible_length=(4, 7)),
fixed_line=PhoneNumberDesc(national_number_pattern='[47]\\d{3}', example_number='7012', possible_length=(4,)),
mobile=PhoneNumberDesc(national_number_pattern='888[4-9]\\d{3}', example_number='8884012', possible_length=(7,)),
mobile=PhoneNumberDesc(national_number_pattern='888[1-9]\\d{3}', example_number='8884012', possible_length=(7,)),
number_format=[NumberFormat(pattern='(\\d{3})(\\d{4})', format='\\1 \\2', leading_digits_pattern=['8'])])
4 changes: 2 additions & 2 deletions python/phonenumbers/data/region_RE.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@

PHONE_METADATA_RE = PhoneMetadata(id='RE', country_code=262, international_prefix='00',
general_desc=PhoneNumberDesc(national_number_pattern='(?:26|[689]\\d)\\d{7}', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='26(?:2\\d\\d|3(?:0\\d|1[0-5]))\\d{4}', example_number='262161234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-27]|8[0-8]|9[0-479]))\\d{4}', example_number='692123456', possible_length=(9,)),
fixed_line=PhoneNumberDesc(national_number_pattern='26(?:2\\d\\d|3(?:0\\d|1[0-6]))\\d{4}', example_number='262161234', possible_length=(9,)),
mobile=PhoneNumberDesc(national_number_pattern='69(?:2\\d\\d|3(?:[06][0-6]|1[013]|2[0-2]|3[0-39]|4\\d|5[0-5]|7[0-37]|8[0-8]|9[0-479]))\\d{4}', example_number='692123456', possible_length=(9,)),
toll_free=PhoneNumberDesc(national_number_pattern='80\\d{7}', example_number='801234567', possible_length=(9,)),
premium_rate=PhoneNumberDesc(national_number_pattern='89[1-37-9]\\d{6}', example_number='891123456', possible_length=(9,)),
shared_cost=PhoneNumberDesc(national_number_pattern='8(?:1[019]|2[0156]|84|90)\\d{6}', example_number='810123456', possible_length=(9,)),
Expand Down

0 comments on commit 6febd4e

Please sign in to comment.