Skip to content

Commit

Permalink
Updated patterns to libphonenumber v8.13.20 (#95)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon committed Sep 7, 2023
1 parent 453e0ed commit 4a6090a
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
- name: Install dependencies
run: |
python -m pip install --upgrade pip
python -m pip install flake8 pep8-naming pytest black pytest-cov phonenumbers==8.13.19
python -m pip install flake8 pep8-naming pytest black pytest-cov phonenumbers==8.13.20
python -m pip install -e .
- name: Flake8
run: |
Expand Down
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,8 @@ verify_ssl = true
black = "==23.7.0"
flake8 = "==6.1.0"
pep8-naming = "==0.13.3"
phonenumbers = "==8.13.19"
pytest = "==7.4.0"
phonenumbers = "==8.13.20"
pytest = "==7.4.1"
pytest-cov = "==4.1.0"
requests = "==2.31.0"
twine = "==4.0.2"
Expand Down
20 changes: 10 additions & 10 deletions phone_gen/patterns.py
Original file line number Diff line number Diff line change
@@ -1,12 +1,12 @@
# -*- coding: utf-8 -*-
"""
Auto-generated file 2023-08-22 09:15:34 UTC
Resource: https://github.com/google/libphonenumber v8.13.19
Auto-generated file 2023-09-07 09:17:41 UTC
Resource: https://github.com/google/libphonenumber v8.13.20
"""


PATTERNS = {
"info": "libphonenumber v8.13.19",
"info": "libphonenumber v8.13.20",
"data": {
"AC": {
"code": "247",
Expand Down Expand Up @@ -55,8 +55,8 @@
},
"AR": {
"code": "54",
"pattern": "((3888[013-9][\\d]{5})|(3(7(1[15])|(81))|(8(21)|(4[16])|(69)|(9[12]))[46][\\d]{5})|((29(54)|(66))|(3(7(55)|(77))|(865))[2-8][\\d]{5})|((2(2(2[59])|(44)|(52))|(3(26)|(44))|(473)|(9([07]2)|(2[26])|(34)|(46)))|(3327)[45][\\d]{5})|((2(284)|(3(02)|(23))|(657)|(920))|(3(4(8[27])|(92))|(541)|(878))[2-7][\\d]{5})|((2((26)|(62)2)|(320)|(477)|(9(42)|(83)))|(3(329)|(4([47]6)|(62)|(89))|(564))[2-6][\\d]{5})|(((11[1-8])|(670)[\\d])|(2(2(0[45])|(1[2-6])|(3[3-6]))|(3([06]4)|(7[45]))|(494)|(6(04)|(1[2-8])|([36][45])|(4[3-6]))|(80[45])|(9([17][4-6])|([48][45])|(9[3-6])))|(3(364)|(4(1[2-7])|([235][4-6])|(84))|(5(1[2-9])|([38][4-6]))|(6(2[45])|(44))|(7[069][45])|(8(0[45])|([17][2-6])|(3[4-6])|([58][3-6])))[\\d]{6})|(2(2(21)|(4[23])|(6[145])|(7[1-4])|(8[356])|(9[267]))|(3(16)|(3[13-8])|(43)|(5[346-8])|(9[3-5]))|(475)|(6(2[46])|(4[78])|(5[1568]))|(9(03)|(2[1457-9])|(3[1356])|(4[08])|([56][23])|(82))4[\\d]{5})|((2(2(57)|(81))|(3(24)|(46)|(92))|(9(01)|(23)|(64)))|(3(4(42)|(71))|(5(25)|(37)|(4[347])|(71))|(7(18)|(5[17])))[3-6][\\d]{5})|((2(2(02)|(2[3467])|(4[156])|(5[45])|(6[6-8])|(91))|(3(1[47])|(25)|([45][25])|(96))|(47[48])|(625)|(932))|(3(38[2578])|(4(0[0-24-9])|(3[78])|(4[457])|(58)|(6[03-9])|(72)|(83)|(9[136-8]))|(5(2[124])|([368][23])|(4[2689])|(7[2-6]))|(7(16)|(2[15])|(3[145])|(4[13])|(5[468])|(7[2-5])|(8[26]))|(8(2[5-7])|(3[278])|(4[3-5])|(5[78])|(6[1-378])|([78]7)|(94)))[4-6][\\d]{5}))",
"mobile": "((93(7(1[15])|(81)[46])|(8((21)|(4[16])|(69)|(9[12])[46])|(88[013-9]))[\\d]{5})|(9(29(54)|(66))|(3(7(55)|(77))|(865))[2-8][\\d]{5})|(9(2(2(2[59])|(44)|(52))|(3(26)|(44))|(473)|(9([07]2)|(2[26])|(34)|(46)))|(3327)[45][\\d]{5})|(9(2(284)|(3(02)|(23))|(657)|(920))|(3(4(8[27])|(92))|(541)|(878))[2-7][\\d]{5})|(9(2((26)|(62)2)|(320)|(477)|(9(42)|(83)))|(3(329)|(4([47]6)|(62)|(89))|(564))[2-6][\\d]{5})|((675[\\d])|(9(11[1-8][\\d])|(2(2(0[45])|(1[2-6])|(3[3-6]))|(3([06]4)|(7[45]))|(494)|(6(04)|(1[2-8])|([36][45])|(4[3-6]))|(80[45])|(9([17][4-6])|([48][45])|(9[3-6])))|(3(364)|(4(1[2-7])|([235][4-6])|(84))|(5(1[2-9])|([38][4-6]))|(6(2[45])|(44))|(7[069][45])|(8(0[45])|([17][2-6])|(3[4-6])|([58][3-6]))))[\\d]{6})|(92(2(21)|(4[23])|(6[145])|(7[1-4])|(8[356])|(9[267]))|(3(16)|(3[13-8])|(43)|(5[346-8])|(9[3-5]))|(475)|(6(2[46])|(4[78])|(5[1568]))|(9(03)|(2[1457-9])|(3[1356])|(4[08])|([56][23])|(82))4[\\d]{5})|(9(2(2(57)|(81))|(3(24)|(46)|(92))|(9(01)|(23)|(64)))|(3(4(42)|(71))|(5(25)|(37)|(4[347])|(71))|(7(18)|(5[17])))[3-6][\\d]{5})|(9(2(2(02)|(2[3467])|(4[156])|(5[45])|(6[6-8])|(91))|(3(1[47])|(25)|([45][25])|(96))|(47[48])|(625)|(932))|(3(38[2578])|(4(0[0-24-9])|(3[78])|(4[457])|(58)|(6[03-9])|(72)|(83)|(9[136-8]))|(5(2[124])|([368][23])|(4[2689])|(7[2-6]))|(7(16)|(2[15])|(3[145])|(4[13])|(5[468])|(7[2-5])|(8[26]))|(8(2[5-7])|(3[278])|(4[3-5])|(5[78])|(6[1-378])|([78]7)|(94)))[4-6][\\d]{5}))",
"pattern": "((3888[013-9][\\d]{5})|(3(7(1[15])|(81))|(8(21)|(4[16])|(69)|(9[12]))[46][\\d]{5})|((29(54)|(66))|(3(7(55)|(77))|(865))[2-8][\\d]{5})|((2(2(2[59])|(44)|(52))|(3(26)|(44))|(473)|(9([07]2)|(2[26])|(34)|(46)))|(3327)[45][\\d]{5})|((2(284)|(3(02)|(23))|(657)|(920))|(3(4(8[27])|(92))|(541)|(878))[2-7][\\d]{5})|((2((26)|(62)2)|(320)|(477)|(9(42)|(83)))|(3(329)|(4([47]6)|(62)|(89))|(564))[2-6][\\d]{5})|(((11[1-8])|(670)[\\d])|(2(2(0[45])|(1[2-6])|(3[3-6]))|(3([06]4)|(7[45]))|(494)|(6(04)|(1[2-8])|([36][45])|(4[3-6]))|(80[45])|(9([17][4-6])|([48][45])|(9[3-6])))|(3(364)|(4(1[2-8])|([235][4-6])|(84))|(5(1[2-9])|([38][4-6]))|(6(2[45])|(44))|(7[069][45])|(8(0[45])|([17][2-6])|(3[4-6])|([58][3-6])))[\\d]{6})|(2(2(21)|(4[23])|(6[145])|(7[1-4])|(8[356])|(9[267]))|(3(16)|(3[13-8])|(43)|(5[346-8])|(9[3-5]))|(475)|(6(2[46])|(4[78])|(5[1568]))|(9(03)|(2[1457-9])|(3[1356])|(4[08])|([56][23])|(82))4[\\d]{5})|((2(2(57)|(81))|(3(24)|(46)|(92))|(9(01)|(23)|(64)))|(3(4(42)|(71))|(5(25)|(37)|(4[347])|(71))|(7(18)|(5[17])))[3-6][\\d]{5})|((2(2(02)|(2[3467])|(4[156])|(5[45])|(6[6-8])|(91))|(3(1[47])|(25)|([45][25])|(96))|(47[48])|(625)|(932))|(3(38[2578])|(4(0[0-24-9])|(3[78])|(4[457])|(58)|(6[03-9])|(72)|(83)|(9[136-8]))|(5(2[124])|([368][23])|(4[2689])|(7[2-6]))|(7(16)|(2[15])|(3[145])|(4[13])|(5[468])|(7[2-5])|(8[26]))|(8(2[5-7])|(3[278])|(4[3-5])|(5[78])|(6[1-378])|([78]7)|(94)))[4-6][\\d]{5}))",
"mobile": "((93(7(1[15])|(81)[46])|(8((21)|(4[16])|(69)|(9[12])[46])|(88[013-9]))[\\d]{5})|(9(29(54)|(66))|(3(7(55)|(77))|(865))[2-8][\\d]{5})|(9(2(2(2[59])|(44)|(52))|(3(26)|(44))|(473)|(9([07]2)|(2[26])|(34)|(46)))|(3327)[45][\\d]{5})|(9(2(284)|(3(02)|(23))|(657)|(920))|(3(4(8[27])|(92))|(541)|(878))[2-7][\\d]{5})|(9(2((26)|(62)2)|(320)|(477)|(9(42)|(83)))|(3(329)|(4([47]6)|(62)|(89))|(564))[2-6][\\d]{5})|((675[\\d])|(9(11[1-8][\\d])|(2(2(0[45])|(1[2-6])|(3[3-6]))|(3([06]4)|(7[45]))|(494)|(6(04)|(1[2-8])|([36][45])|(4[3-6]))|(80[45])|(9([17][4-6])|([48][45])|(9[3-6])))|(3(364)|(4(1[2-8])|([235][4-6])|(84))|(5(1[2-9])|([38][4-6]))|(6(2[45])|(44))|(7[069][45])|(8(0[45])|([17][2-6])|(3[4-6])|([58][3-6]))))[\\d]{6})|(92(2(21)|(4[23])|(6[145])|(7[1-4])|(8[356])|(9[267]))|(3(16)|(3[13-8])|(43)|(5[346-8])|(9[3-5]))|(475)|(6(2[46])|(4[78])|(5[1568]))|(9(03)|(2[1457-9])|(3[1356])|(4[08])|([56][23])|(82))4[\\d]{5})|(9(2(2(57)|(81))|(3(24)|(46)|(92))|(9(01)|(23)|(64)))|(3(4(42)|(71))|(5(25)|(37)|(4[347])|(71))|(7(18)|(5[17])))[3-6][\\d]{5})|(9(2(2(02)|(2[3467])|(4[156])|(5[45])|(6[6-8])|(91))|(3(1[47])|(25)|([45][25])|(96))|(47[48])|(625)|(932))|(3(38[2578])|(4(0[0-24-9])|(3[78])|(4[457])|(58)|(6[03-9])|(72)|(83)|(9[136-8]))|(5(2[124])|([368][23])|(4[2689])|(7[2-6]))|(7(16)|(2[15])|(3[145])|(4[13])|(5[468])|(7[2-5])|(8[26]))|(8(2[5-7])|(3[278])|(4[3-5])|(5[78])|(6[1-378])|([78]7)|(94)))[4-6][\\d]{5}))",
},
"AS": {
"code": "1",
Expand Down Expand Up @@ -466,7 +466,7 @@
"GY": {
"code": "592",
"pattern": "(((2(1[6-9])|(2[0-35-9])|(3[1-4])|(5[3-9])|(6[\\d])|(7[0-24-79]))|(3(2[25-9])|(3[\\d]))|(4(4[0-24])|(5[56]))|(77[1-57])[\\d]{4}))",
"mobile": "(((6[\\d][\\d])|(70[0-35-7])[\\d]{4}))",
"mobile": "(((510)|(6[\\d][\\d])|(7(0[\\d])|(1[0-8])|(25)|(49))[\\d]{4}))",
},
"HK": {
"code": "852",
Expand Down Expand Up @@ -506,7 +506,7 @@
"IL": {
"code": "972",
"pattern": "((153[\\d]{8:9})|(29[1-9][\\d]{5})|((2[0-8])|([3489][\\d])[\\d]{6}))",
"mobile": "((55410[\\d]{4})|(5(([0-249][2-9])|([36][\\d])|(8[3-7])[\\d])|(5(01)|(2[2-9])|(3[0-3])|(4[34])|(5[0-25689])|(6[6-8])|(7[0-267])|(8[7-9])|(9[1-9]))[\\d]{5}))",
"mobile": "((55410[\\d]{4})|(5(([02][02-9])|([149][2-9])|([36][\\d])|(8[3-7])[\\d])|(5(01)|(2[2-9])|(3[0-3])|(4[34])|(5[0-25689])|(6[6-8])|(7[0-267])|(8[7-9])|(9[1-9]))[\\d]{5}))",
},
"IM": {
"code": "44",
Expand Down Expand Up @@ -843,7 +843,7 @@
"OM": {
"code": "968",
"pattern": "((2[1-6][\\d]{6}))",
"mobile": "((1505[\\d]{4})|((7([1289][\\d])|(69)|(7[0-5]))|(9(0[1-9])|([1-9][\\d]))[\\d]{5}))",
"mobile": "((1505[\\d]{4})|((7([1289][\\d])|(6[89])|(7[0-5]))|(9(0[1-9])|([1-9][\\d]))[\\d]{5}))",
},
"PA": {
"code": "507",
Expand Down Expand Up @@ -938,7 +938,7 @@
"RW": {
"code": "250",
"pattern": "(((06)|(2[23568][\\d])[\\d]{6}))",
"mobile": "((7[2389][\\d]{7}))",
"mobile": "((7[237-9][\\d]{7}))",
},
"SA": {
"code": "966",
Expand Down Expand Up @@ -1089,7 +1089,7 @@
"TN": {
"code": "216",
"pattern": "((81200[\\d]{3})|((3[0-2])|(7[\\d])[\\d]{6}))",
"mobile": "((3(001)|([12]40)[\\d]{4})|((([259][\\d])|(4[0-7])[\\d])|(3(1[1-35])|(6[0-4])|(91))[\\d]{5}))",
"mobile": "((3(001)|([12]40)[\\d]{4})|((([259][\\d])|(4[0-8])[\\d])|(3(1[1-35])|(6[0-4])|(91))[\\d]{5}))",
},
"TO": {
"code": "676",
Expand Down

0 comments on commit 4a6090a

Please sign in to comment.