Skip to content

Commit

Permalink
Updating patterns to libphonenumber v8.12.44 (#52)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon authored Feb 27, 2022
1 parent 36547bf commit ce30d23
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 15 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/python-package.yml
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ jobs:
strategy:
fail-fast: false
matrix:
python-version: [ 3.6, 3.7, 3.8, 3.9, 3.10.1 ]
python-version: [ 3.6, 3.7, 3.8, 3.9, 3.10.2 ]

steps:
- uses: actions/checkout@v2
Expand All @@ -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.43
python -m pip install flake8 pep8-naming pytest black pytest-cov phonenumbers==8.12.44
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.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
* **2.2.0**
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.0"
pytest = "==7.0.1"
pytest-cov = "==3.0.0"
phonenumbers = "==8.12.43"
phonenumbers = "==8.12.44"
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.2"
version = "2.2.3"
18 changes: 9 additions & 9 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-10 13:57:48 UTC
Resource: https://github.com/google/libphonenumber v8.12.43
Auto-generated file 2022-02-27 01:34:23 UTC
Resource: https://github.com/google/libphonenumber v8.12.44
"""


PATTERNS = {
"info": "libphonenumber v8.12.43",
"info": "libphonenumber v8.12.44",
"data": {
"AC": {
"code": "247",
Expand Down Expand Up @@ -261,7 +261,7 @@
"CV": {
"code": "238",
"pattern": "((2(2[1-7])|(3[0-8])|(4[12])|(5[1256])|(6[\\d])|(7[1-3])|(8[1-5])[\\d]{4}))",
"mobile": "((([34][36])|(5[1-389])|(9[\\d])[\\d]{5}))",
"mobile": "(((36)|(5[1-389])|(9[\\d])[\\d]{5}))",
},
"CW": {
"code": "599",
Expand Down Expand Up @@ -606,8 +606,8 @@
},
"KY": {
"code": "1",
"pattern": "((345(2(22)|(3[23])|(44)|(66))|(333)|(444)|(6(23)|(38)|(40))|(7(30)|(4[35-79])|(6[6-9])|(77))|(8(00)|(1[45])|(25)|([48]8))|(9(14)|(4[035-9]))[\\d]{4}))",
"mobile": "((345(32[1-9])|(42[0-4])|(5(1[67])|(2[5-79])|(4[6-9])|(50)|(76))|(649)|(9(1[679])|(2[2-9])|(3[06-9])|(90))[\\d]{4}))",
"pattern": "((345(2(22)|(3[23])|(44)|(66))|(333)|(444)|(6(23)|(38)|(40))|(7(30)|(4[35-79])|(6[6-9])|(77))|(8(00)|(1[45])|([48]8))|(9(14)|(4[035-9]))[\\d]{4}))",
"mobile": "((345(32[1-9])|(42[0-4])|(5(1[67])|(2[5-79])|(4[6-9])|(50)|(76))|(649)|(82[56])|(9(1[679])|(2[2-9])|(3[06-9])|(90))[\\d]{4}))",
},
"KZ": {
"code": "7",
Expand Down Expand Up @@ -949,7 +949,7 @@
"SC": {
"code": "248",
"pattern": "((4[2-46][\\d]{5}))",
"mobile": "((2[5-8][\\d]{5}))",
"mobile": "((2[125-8][\\d]{5}))",
},
"SD": {
"code": "249",
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])|(33))|(4(00)|(4[24])|(65)|(82))|(5(00)|(29)|(83))|(6(00)|(66)|(82))|(777)|(8(00)|(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])|(33))|(4(00)|(4[24])|(65)|(82))|(5(00)|(29)|(83))|(6(00)|(66)|(82))|(777)|(8(00)|(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[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}))",
},
"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.2',
version='2.2.3',
entry_points={
"console_scripts": ["phone-gen=phone_gen.cli:main"],
},
Expand Down

0 comments on commit ce30d23

Please sign in to comment.