Skip to content

Commit

Permalink
Updated patterns to libphonenumber v8.13.15 (#90)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon authored Jun 23, 2023
1 parent cd2052f commit 8f6332a
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 14 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.14
python -m pip install flake8 pep8-naming pytest black pytest-cov phonenumbers==8.13.15
python -m pip install -e .
- name: Flake8
run: |
Expand Down
6 changes: 3 additions & 3 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ verify_ssl = true
black = "==23.3.0"
flake8 = "==6.0.0"
pep8-naming = "==0.13.3"
phonenumbers = "==8.13.14"
pytest = "==7.3.1"
pytest-cov = "==4.0.0"
phonenumbers = "==8.13.15"
pytest = "==7.3.2"
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-06-14 08:01:41 UTC
Resource: https://github.com/google/libphonenumber v8.13.14
Auto-generated file 2023-06-23 09:05:07 UTC
Resource: https://github.com/google/libphonenumber v8.13.15
"""


PATTERNS = {
"info": "libphonenumber v8.13.14",
"info": "libphonenumber v8.13.15",
"data": {
"AC": {
"code": "247",
Expand Down Expand Up @@ -111,7 +111,7 @@
"BF": {
"code": "226",
"pattern": "((2(0(49)|(5[23])|(6[5-7])|(9[016-9]))|(4(4[569])|(5[4-6])|(6[5-7])|(7[0179]))|(5([34][\\d])|(50)|(6[5-7]))[\\d]{4}))",
"mobile": "(((0[1-35-7])|(5[1-8])|([67][\\d])[\\d]{6}))",
"mobile": "(((0[1-35-7])|(5[0-8])|([67][\\d])[\\d]{6}))",
},
"BG": {
"code": "359",
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": "((5(([02368][\\d])|([19][2-9])|(4[1-9])[\\d])|(5(01)|(1[79])|(2[2-9])|(3[0-3])|(4[34])|(5[015689])|(6[6-8])|(7[0-267])|(8[7-9])|(9[1-9]))[\\d]{5}))",
"mobile": "((55410[\\d]{4})|(5(([02368][\\d])|([19][2-9])|(4[1-9])[\\d])|(5(01)|(1[79])|(2[2-9])|(3[0-3])|(4[34])|(5[015689])|(6[6-8])|(7[0-267])|(8[7-9])|(9[1-9]))[\\d]{5}))",
},
"IM": {
"code": "44",
Expand Down Expand Up @@ -717,7 +717,7 @@
},
"MN": {
"code": "976",
"pattern": "(([12]2[1-3][\\d]{5:6})|(7(0[0-5][\\d])|(128)[\\d]{4})|(([12](1)|(27))|(5[368])[\\d]{6})|([12](3[2-8])|(4[2-68])|(5[1-4689])[\\d]{6:7}))",
"pattern": "(([12]2[1-3][\\d]{5:6})|((([12](1)|(27))|(5[368])[\\d][\\d])|(7(0([0-5][\\d])|(7[078])|(80))|(128))[\\d]{4})|([12](3[2-8])|(4[2-68])|(5[1-4689])[\\d]{6:7}))",
"mobile": "(((83[01])|(92[039])[\\d]{5})|((5[05])|(6[069])|(8[015689])|(9[013-9])[\\d]{6}))",
},
"MO": {
Expand Down Expand Up @@ -793,7 +793,7 @@
"NE": {
"code": "227",
"pattern": "((2(0(20)|(3[1-8])|(4[13-5])|(5[14])|(6[14578])|(7[1-578]))|(1(4[145])|(5[14])|(6[14-68])|(7[169])|(88))[\\d]{4}))",
"mobile": "(((23)|(7[04])|([89][\\d])[\\d]{6}))",
"mobile": "(((23)|(7[047])|([89][\\d])[\\d]{6}))",
},
"NF": {
"code": "672",
Expand Down Expand Up @@ -843,7 +843,7 @@
"OM": {
"code": "968",
"pattern": "((2[1-6][\\d]{6}))",
"mobile": "((1505[\\d]{4})|((7([1289][\\d])|(7[0-5]))|(9(0[1-9])|([1-9][\\d]))[\\d]{5}))",
"mobile": "((1505[\\d]{4})|((7([1289][\\d])|(69)|(7[0-5]))|(9(0[1-9])|([1-9][\\d]))[\\d]{5}))",
},
"PA": {
"code": "507",
Expand Down Expand Up @@ -1008,7 +1008,7 @@
"SO": {
"code": "252",
"pattern": "(((1[\\d])|(2[0-79])|(3[0-46-8])|(4[0-7])|(5[57-9])[\\d]{5})|(([134][\\d])|(8[125])[\\d]{4}))",
"mobile": "((((15)|((3[59])|(4[89])|(79)|(8[08])[\\d])|(6(0[5-7])|([1-9][\\d]))|(9(0[\\d])|([2-9]))[\\d])|(2(4[\\d])|(8))[\\d]{5})|(([67][\\d][\\d])|(904)[\\d]{5}))",
"mobile": "((((15)|((3[59])|(4[89])|(6[\\d])|(79)|(8[08])[\\d])|(9(0[\\d])|([2-9]))[\\d])|(2(4[\\d])|(8))[\\d]{5})|(([67][\\d][\\d])|(904)[\\d]{5}))",
},
"SR": {
"code": "597",
Expand All @@ -1027,7 +1027,7 @@
},
"SV": {
"code": "503",
"pattern": "((2([1-6][\\d]{3})|([79]90[034])|(890[0245])[\\d]{3}))",
"pattern": "((2(([1-6][\\d][\\d])|(990)[\\d])|(790[034])|(890[0245])[\\d]{3}))",
"mobile": "((66([02-9][\\d][\\d])|(1([02-9][\\d])|(16))[\\d]{3})|((6[0-57-9])|(7[\\d])[\\d]{6}))",
},
"SX": {
Expand Down

0 comments on commit 8f6332a

Please sign in to comment.