Skip to content

Commit

Permalink
Updating patterns to libphonenumber v8.12.45 (#53)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon authored Mar 14, 2022
1 parent ce30d23 commit fe05a1f
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,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.12.44
python -m pip install flake8 pep8-naming pytest black pytest-cov phonenumbers==8.12.45
python -m pip install -e .
- name: Flake8
run: |
Expand Down
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.2.4** Updating patterns to libphonenumber v8.12.45
* **2.2.3** Updating patterns to libphonenumber v8.12.44
* **2.2.2** Updating patterns to libphonenumber v8.12.43
* **2.2.1** Updating patterns to libphonenumber v8.12.42
Expand Down
4 changes: 2 additions & 2 deletions Pipfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@ verify_ssl = true

[dev-packages]
requests = "==2.27.1"
pytest = "==7.0.1"
pytest = "==7.1.0"
pytest-cov = "==3.0.0"
phonenumbers = "==8.12.44"
phonenumbers = "==8.12.45"
black = "==22.1.0"
flake8 = "==4.0.1"
pep8-naming = "==0.12.1"
Expand Down
2 changes: 1 addition & 1 deletion phone_gen/__version__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
# coding: utf-8
version = "2.2.3"
version = "2.2.4"
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 2022-02-27 01:34:23 UTC
Resource: https://github.com/google/libphonenumber v8.12.44
Auto-generated file 2022-03-14 14:26:55 UTC
Resource: https://github.com/google/libphonenumber v8.12.45
"""


PATTERNS = {
"info": "libphonenumber v8.12.44",
"info": "libphonenumber v8.12.45",
"data": {
"AC": {
"code": "247",
Expand Down Expand Up @@ -110,8 +110,8 @@
},
"BF": {
"code": "226",
"pattern": "((2(0(49)|(5[23])|(6[56])|(9[016-9]))|(4(4[569])|(5[4-6])|(6[56])|(7[0179]))|(5([34][\\d])|(50)|(6[5-7]))[\\d]{4}))",
"mobile": "(((0[1267])|(5[1-8])|([67][\\d])[\\d]{6}))",
"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[125-7])|(5[1-8])|([67][\\d])[\\d]{6}))",
},
"BG": {
"code": "359",
Expand Down Expand Up @@ -321,7 +321,7 @@
"EE": {
"code": "372",
"pattern": "(((3[23589])|(4[3-8])|(6[\\d])|(7[1-9])|(88)[\\d]{5}))",
"mobile": "(((5[\\d]{5})|(8(1(0(000)|([3-9][\\d][\\d]))|((1(0[236])|(1[\\d]))|((23)|([3-79][\\d])[\\d])[\\d]))|(2(0(000)|((19)|([24-7][\\d])[\\d]))|((([124-6][\\d])|(3[5-9])[\\d])|(7([679][\\d])|(8[13-9]))|(8([2-6][\\d])|(7[01]))[\\d]))|([349][\\d]{4}))[\\d][\\d])|(5(([02][\\d])|(5[0-478])[\\d])|(1([0-8][\\d])|(95))|(6(4[0-4])|(5[1-589]))[\\d]{3}))",
"mobile": "(((5[\\d]{5})|(8(1(0(000)|([3-9][\\d][\\d]))|((1(0[236])|(1[\\d]))|((23)|([3-79][\\d])[\\d])[\\d]))|(2(0(000)|((19)|([2-7][\\d])[\\d]))|((([124-6][\\d])|(3[5-9])[\\d])|(7([679][\\d])|(8[13-9]))|(8([2-6][\\d])|(7[01]))[\\d]))|([349][\\d]{4}))[\\d][\\d])|(5(([02][\\d])|(5[0-478])[\\d])|(1([0-8][\\d])|(95))|(6(4[0-4])|(5[1-589]))[\\d]{3}))",
},
"EG": {
"code": "20",
Expand Down Expand Up @@ -546,7 +546,7 @@
},
"JM": {
"code": "1",
"pattern": "((8766060[\\d]{3})|((658(2([0-8][\\d])|(9[0-46-9]))|([3-9][\\d][\\d]))|(876(52[35])|(6(0[1-3579])|(1[0237-9])|([23][\\d])|(40)|(5[06])|(6[2-589])|(7[05])|(8[04])|(9[4-9]))|(7(0[2-689])|([1-6][\\d])|(8[056])|(9[45]))|(9(0[1-8])|(1[02378])|([2-8][\\d])|(9[2-468])))[\\d]{4}))",
"pattern": "((8766060[\\d]{3})|((658(2([0-8][\\d])|(9[0-46-9]))|([3-9][\\d][\\d]))|(876(52[35])|(6(0[1-3579])|(1[0237-9])|([23][\\d])|(40)|(5[06])|(6[2-589])|(7[0257])|(8[04])|(9[4-9]))|(7(0[2-689])|([1-6][\\d])|(8[056])|(9[45]))|(9(0[1-8])|(1[02378])|([2-8][\\d])|(9[2-468])))[\\d]{4}))",
"mobile": "(((658295)|(876(2(0[2-9])|([14-9][\\d])|(2[013-9])|(3[3-9]))|([348][\\d][\\d])|(5(0[1-9])|([1-9][\\d]))|(6(4[89])|(6[67]))|(7(0[07])|(7[\\d])|(8[1-47-9])|(9[0-36-9]))|(9([01]9)|(9[0579])))[\\d]{4}))",
},
"JO": {
Expand Down Expand Up @@ -914,7 +914,7 @@
"RE": {
"code": "262",
"pattern": "((26(2[\\d][\\d])|(30[0-5])[\\d]{4}))",
"mobile": "(((69(2[\\d][\\d])|(3([06][0-46])|(1[013])|(2[0-2])|(3[0-39])|(4[\\d])|(5[0-5])|(7[0-27])|(8[0-8])|(9[0-479])))|(9769[\\d])[\\d]{4}))",
"mobile": "(((69(2[\\d][\\d])|(3(0[0-46])|(1[013])|(2[0-2])|(3[0-39])|(4[\\d])|(5[0-5])|(6[0-6])|(7[0-27])|(8[0-8])|(9[0-479])))|(9769[\\d])[\\d]{4}))",
},
"RO": {
"code": "40",
Expand Down Expand Up @@ -1129,8 +1129,8 @@
},
"US": {
"code": "1",
"pattern": "((5(05([2-57-9][\\d][\\d])|(6([0-35-9][\\d])|(44)))|(82(2(0[0-3])|([268]2))|(3(0[02])|(22)|(33))|(4(00)|(4[24])|(65)|(82))|(5(00)|(29)|(58)|(83))|(6(00)|(66)|(82))|(7(58)|(77))|(8(00)|(42)|(88))|(9(00)|(9[89])))[\\d]{4})|((2(0[1-35-9])|(1[02-9])|(2[03-589])|(3[149])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-57-9])|(1[02-9])|(2[01356])|(3[0-24679])|(4[167])|(5[12])|(6[014])|(8[056]))|(4(0[124-9])|(1[02-579])|(2[3-5])|(3[0245])|(4[023578])|(58)|(6[39])|(7[0589])|(8[04]))|(5(0[1-47-9])|(1[0235-8])|(20)|(3[0149])|(4[01])|(5[19])|(6[1-47])|(7[0-5])|(8[056]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|([34][016])|(5[0179])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-7])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[08])|(3[0-289])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01579])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
"mobile": "((5(05([2-57-9][\\d][\\d])|(6([0-35-9][\\d])|(44)))|(82(2(0[0-3])|([268]2))|(3(0[02])|(22)|(33))|(4(00)|(4[24])|(65)|(82))|(5(00)|(29)|(58)|(83))|(6(00)|(66)|(82))|(7(58)|(77))|(8(00)|(42)|(88))|(9(00)|(9[89])))[\\d]{4})|((2(0[1-35-9])|(1[02-9])|(2[03-589])|(3[149])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-57-9])|(1[02-9])|(2[01356])|(3[0-24679])|(4[167])|(5[12])|(6[014])|(8[056]))|(4(0[124-9])|(1[02-579])|(2[3-5])|(3[0245])|(4[023578])|(58)|(6[39])|(7[0589])|(8[04]))|(5(0[1-47-9])|(1[0235-8])|(20)|(3[0149])|(4[01])|(5[19])|(6[1-47])|(7[0-5])|(8[056]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|([34][016])|(5[0179])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-7])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[08])|(3[0-289])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01579])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
"pattern": "((5(05([2-57-9][\\d][\\d])|(6([0-35-9][\\d])|(44)))|(82(2(0[0-3])|([268]2))|(3(0[02])|(22)|(33))|(4(00)|(4[24])|(65)|(82))|(5(00)|(29)|(58)|(83))|(6(00)|(66)|(82))|(7(58)|(77))|(8(00)|(42)|(88))|(9(00)|(9[89])))[\\d]{4})|((2(0[1-35-9])|(1[02-9])|(2[03-589])|(3[149])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-57-9])|(1[02-9])|(2[01356])|(3[0-24679])|(4[167])|(5[12])|(6[014])|(8[056]))|(4(0[124-9])|(1[02-579])|(2[3-5])|(3[0245])|(4[023578])|(58)|(6[349])|(7[0589])|(8[04]))|(5(0[1-47-9])|(1[0235-8])|(20)|(3[0149])|(4[01])|(5[19])|(6[1-47])|(7[0-5])|(8[056]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|([34][016])|(5[0179])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-7])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[08])|(3[0-289])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01579])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
"mobile": "((5(05([2-57-9][\\d][\\d])|(6([0-35-9][\\d])|(44)))|(82(2(0[0-3])|([268]2))|(3(0[02])|(22)|(33))|(4(00)|(4[24])|(65)|(82))|(5(00)|(29)|(58)|(83))|(6(00)|(66)|(82))|(7(58)|(77))|(8(00)|(42)|(88))|(9(00)|(9[89])))[\\d]{4})|((2(0[1-35-9])|(1[02-9])|(2[03-589])|(3[149])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-57-9])|(1[02-9])|(2[01356])|(3[0-24679])|(4[167])|(5[12])|(6[014])|(8[056]))|(4(0[124-9])|(1[02-579])|(2[3-5])|(3[0245])|(4[023578])|(58)|(6[349])|(7[0589])|(8[04]))|(5(0[1-47-9])|(1[0235-8])|(20)|(3[0149])|(4[01])|(5[19])|(6[1-47])|(7[0-5])|(8[056]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|([34][016])|(5[0179])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-7])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[08])|(3[0-289])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01579])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
},
"UY": {
"code": "598",
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.2.3',
version='2.2.4',
entry_points={
"console_scripts": ["phone-gen=phone_gen.cli:main"],
},
Expand Down

0 comments on commit fe05a1f

Please sign in to comment.