Skip to content

Commit

Permalink
Updating patterns to libphonenumber v8.12.26 (#32)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon committed Jun 26, 2021
1 parent 75e8392 commit 95d5f4b
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 14 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

## Version 2:

* **2.0.9** Updating patterns to libphonenumber v8.12.26
* **2.0.8** Updating patterns to libphonenumber v8.12.25
* **2.0.7** Updating patterns to libphonenumber v8.12.24
* **2.0.6** Updating patterns to libphonenumber v8.12.23
Expand Down
2 changes: 1 addition & 1 deletion Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ verify_ssl = true
requests = "==2.25.1"
pytest = "==6.1.2"
pytest-cov = "==2.10.1"
phonenumbers = "==8.12.25"
phonenumbers = "==8.12.26"
black = "==21.6b0"
flake8 = "==3.9.2"
pep8-naming = "==0.11.1"
Expand Down
4 changes: 2 additions & 2 deletions phone_gen/__version__.py
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
# coding: utf-8
version = "2.0.8"
version_tuple = (2, 0, 8)
version = "2.0.9"
version_tuple = (2, 0, 9)
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 2021-06-17 21:27:01 UTC
Resource: https://github.com/google/libphonenumber v8.12.25
Auto-generated file 2021-06-26 09:40:10 UTC
Resource: https://github.com/google/libphonenumber v8.12.26
"""


PATTERNS = {
"info": "libphonenumber v8.12.25",
"info": "libphonenumber v8.12.26",
"data": {
"AC": {
"code": "247",
Expand Down Expand Up @@ -311,7 +311,7 @@
"DZ": {
"code": "213",
"pattern": "((9619[\\d]{5})|((1[\\d])|(2[013-79])|(3[0-8])|(4[0135689])[\\d]{6}))",
"mobile": "(((5(4[0-29])|(5[\\d])|(6[01]))|(6([569][\\d])|(7[0-6]))|(7[7-9][\\d])[\\d]{6}))",
"mobile": "(((5(4[0-29])|(5[\\d])|(6[0-2]))|(6([569][\\d])|(7[0-6]))|(7[7-9][\\d])[\\d]{6}))",
},
"EC": {
"code": "593",
Expand All @@ -331,7 +331,7 @@
"EH": {
"code": "212",
"pattern": "((528[89][\\d]{5}))",
"mobile": "(((6([0-79][\\d])|(8[0-247-9]))|(7(0[\\d])|(10)|(6[1267])|(7[0-57]))[\\d]{6}))",
"mobile": "(((6([0-79][\\d])|(8[0-247-9]))|(7(0[\\d])|(1[0-2])|(6[1267])|(7[0-57]))[\\d]{6}))",
},
"ER": {
"code": "291",
Expand Down Expand Up @@ -385,7 +385,7 @@
},
"GB": {
"code": "44",
"pattern": "(((1(1(3([0-58][\\d][\\d])|(73[03]))|(4([0-5][\\d][\\d])|(69[7-9])|(70[059]))|((5[0-26-9])|(6[0-4])|([78][0-49])[\\d][\\d]))|(2((0[024-9])|(2[3-9])|(3[3-79])|(4[1-689])|([58][02-9])|(6[0-47-9])|(7[013-9])|(9[\\d])[\\d][\\d])|(1([0-7][\\d][\\d])|(8([02][\\d])|(1[278]))))|((3(0[\\d])|(1[0-8])|([25][02-9])|(3[02-579])|([468][0-46-9])|(7[1-35-79])|(9[2-578]))|(4(0[03-9])|([137][\\d])|([28][02-57-9])|(4[02-69])|(5[0-8])|([69][0-79]))|(5(0[1-35-9])|([16][\\d])|(2[024-9])|(3[015689])|(4[02-9])|(5[03-9])|(7[0-35-9])|(8[0-468])|(9[0-57-9]))|(6(0[034689])|(1[\\d])|(2[0-35689])|([38][013-9])|(4[1-467])|(5[0-69])|(6[13-9])|(7[0-8])|(9[0-24578]))|(7(0[0246-9])|(2[\\d])|(3[0236-8])|(4[03-9])|(5[0-46-9])|(6[013-9])|(7[0-35-9])|(8[024-9])|(9[02-9]))|(8(0[35-9])|(2[1-57-9])|(3[02-578])|(4[0-578])|(5[124-9])|(6[2-69])|(7[\\d])|(8[02-9])|(9[02569]))|(9(0[02-589])|([18][\\d])|(2[02-689])|(3[1-57-9])|(4[2-9])|(5[0-579])|(6[2-47-9])|(7[0-24578])|(9[2-57]))[\\d][\\d]))|(2(0[013478])|(3[0189])|(4[017])|(8[0-46-9])|(9[0-2])[\\d]{3})[\\d]{4})|(1(2(0(46[1-4])|(87[2-9]))|(545[1-79])|(76(2[\\d])|(3[1-8])|(6[1-6]))|(9(7(2[0-4])|(3[2-5]))|(8(2[2-8])|(7[0-47-9])|(8[3-5]))))|(3(6(38[2-5])|(47[23]))|(8(47[04-9])|(64[0157-9])))|(4(044[1-7])|(20(2[23])|(8[\\d]))|(6(0(30)|(5[2-57])|(6[1-8])|(7[2-8]))|(140))|(8(052)|(87[1-3])))|(5(2(4(3[2-79])|(6[\\d]))|(76[\\d]))|(6(26[06-9])|(686)))|(6(06(4[\\d])|(7[4-79]))|(295[5-7])|(35[34][\\d])|(47(24)|(61))|(59(5[08])|(6[67])|(74))|(9(55[0-4])|(77[23])))|(7(26(6[13-9])|(7[0-7]))|((442)|(688)[\\d])|(50(2[0-3])|([3-68]2)|(76)))|(8(27[56][\\d])|(37(5[2-5])|(8[239]))|(843[2-58]))|(9(0(0(6[1-8])|(85))|(52[\\d]))|(3583)|(4(66[1-8])|(9(2[01])|(81)))|(63(23)|(3[1-4]))|(9561))[\\d]{3}))",
"pattern": "(((1(1(3([0-58][\\d][\\d])|(73[023]))|(4([0-5][\\d][\\d])|(69[7-9])|(70[059]))|((5[0-26-9])|([78][0-49])[\\d][\\d])|(6([0-4][\\d][\\d])|(50[259])))|(2((0[024-9])|(2[3-9])|(3[3-79])|(4[1-689])|([58][02-9])|(6[0-47-9])|(7[013-9])|(9[\\d])[\\d][\\d])|(1([0-7][\\d][\\d])|(8([02][\\d])|(1[278]))))|((3(0[\\d])|(1[0-8])|([25][02-9])|(3[02-579])|([468][0-46-9])|(7[1-35-79])|(9[2-578]))|(4(0[03-9])|([137][\\d])|([28][02-57-9])|(4[02-69])|(5[0-8])|([69][0-79]))|(5(0[1-35-9])|([16][\\d])|(2[024-9])|(3[015689])|(4[02-9])|(5[03-9])|(7[0-35-9])|(8[0-468])|(9[0-57-9]))|(6(0[034689])|(1[\\d])|(2[0-35689])|([38][013-9])|(4[1-467])|(5[0-69])|(6[13-9])|(7[0-8])|(9[0-24578]))|(7(0[0246-9])|(2[\\d])|(3[0236-8])|(4[03-9])|(5[0-46-9])|(6[013-9])|(7[0-35-9])|(8[024-9])|(9[02-9]))|(8(0[35-9])|(2[1-57-9])|(3[02-578])|(4[0-578])|(5[124-9])|(6[2-69])|(7[\\d])|(8[02-9])|(9[02569]))|(9(0[02-589])|([18][\\d])|(2[02-689])|(3[1-57-9])|(4[2-9])|(5[0-579])|(6[2-47-9])|(7[0-24578])|(9[2-57]))[\\d][\\d]))|(2(0[013478])|(3[0189])|(4[017])|(8[0-46-9])|(9[0-2])[\\d]{3})[\\d]{4})|(1(2(0(46[1-4])|(87[2-9]))|(545[1-79])|(76(2[\\d])|(3[1-8])|(6[1-6]))|(9(7(2[0-4])|(3[2-5]))|(8(2[2-8])|(7[0-47-9])|(8[3-5]))))|(3(6(38[2-5])|(47[23]))|(8(47[04-9])|(64[0157-9])))|(4(044[1-7])|(20(2[23])|(8[\\d]))|(6(0(30)|(5[2-57])|(6[1-8])|(7[2-8]))|(140))|(8(052)|(87[1-3])))|(5(2(4(3[2-79])|(6[\\d]))|(76[\\d]))|(6(26[06-9])|(686)))|(6(06(4[\\d])|(7[4-79]))|(295[5-7])|(35[34][\\d])|(47(24)|(61))|(59(5[08])|(6[67])|(74))|(9(55[0-4])|(77[23])))|(7(26(6[13-9])|(7[0-7]))|((442)|(688)[\\d])|(50(2[0-3])|([3-68]2)|(76)))|(8(27[56][\\d])|(37(5[2-5])|(8[239]))|(843[2-58]))|(9(0(0(6[1-8])|(85))|(52[\\d]))|(3583)|(4(66[1-8])|(9(2[01])|(81)))|(63(23)|(3[1-4]))|(9561))[\\d]{3}))",
"mobile": "((7(457[0-57-9])|(700[01])|(911[028])[\\d]{5})|(7([1-3][\\d][\\d])|(4([0-46-9][\\d])|(5[0-689]))|(5(0[0-8])|([13-9][\\d])|(2[0-35-9]))|(7(0[1-9])|([1-7][\\d])|(8[02-9])|(9[0-689]))|(8([014-9][\\d])|([23][0-8]))|(9([024-9][\\d])|(1[02-9])|(3[0-689]))[\\d]{6}))",
},
"GD": {
Expand Down Expand Up @@ -663,8 +663,8 @@
},
"MA": {
"code": "212",
"pattern": "((5(29([189][05])|(2[29])|(3[01]))|(38[89][05])[\\d]{4})|(5(2([015-7][\\d])|(2[02-9])|(3[0-578])|(4[02-46-8])|(8[0235-7])|(90))|(3([0-47][\\d])|(5[02-9])|(6[02-8])|(80)|(9[3-9]))|((4[067])|(5[03])[\\d])[\\d]{5}))",
"mobile": "(((6([0-79][\\d])|(8[0-247-9]))|(7(0[\\d])|(10)|(6[1267])|(7[0-57]))[\\d]{6}))",
"pattern": "((5(29([189][05])|(2[29])|(3[01]))|(38[89][05])[\\d]{4})|(5(2([0-25-7][\\d])|(3[1-578])|(4[02-46-8])|(8[0235-7])|(90))|(3([0-47][\\d])|(5[02-9])|(6[02-8])|(80)|(9[3-9]))|((4[067])|(5[03])[\\d])[\\d]{5}))",
"mobile": "(((6([0-79][\\d])|(8[0-247-9]))|(7(0[\\d])|(1[0-2])|(6[1267])|(7[0-57]))[\\d]{6}))",
},
"MC": {
"code": "377",
Expand Down Expand Up @@ -863,7 +863,7 @@
},
"PH": {
"code": "63",
"pattern": "((((2[3-8])|(3[2-68])|(4[2-9])|(5[2-6])|(6[2-58])|(7[24578])[\\d]{3})|(88(22[\\d][\\d])|(42))[\\d]{4})|(2[\\d]{5}([\\d]{2})?)|(8[2-8][\\d]{7}))",
"pattern": "((((2[3-8])|(3[2-68])|(4[2-9])|(5[2-6])|(6[2-58])|(7[24578])[\\d]{3})|(88(22[\\d][\\d])|(42))[\\d]{4})|((2)|(8[2-8][\\d][\\d])[\\d]{5}))",
"mobile": "(((8(1[37])|(9[5-8]))|(9(0[5-9])|(1[0-24-9])|([2357][\\d])|(4[2-9])|(6[0-35-9])|(8[189])|(9[1-9]))[\\d]{7}))",
},
"PK": {
Expand Down Expand Up @@ -908,7 +908,7 @@
},
"QA": {
"code": "974",
"pattern": "(((23)|(4[04])[\\d]{6}))",
"pattern": "((4141[\\d]{4})|((23)|(4[04])[\\d]{6}))",
"mobile": "(((28)|([35-7][\\d])[\\d]{6}))",
},
"RE": {
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
description="International phone number generation",
long_description=long_description,
long_description_content_type="text/markdown",
version='2.0.8',
version='2.0.9',
entry_points={
"console_scripts": ["phone-gen=phone_gen.cli:main"],
},
Expand Down

0 comments on commit 95d5f4b

Please sign in to comment.