Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updating patterns to libphonenumber v8.12.27 #33

Merged
merged 1 commit into from
Jul 9, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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.10** Updating patterns to libphonenumber v8.12.27
* **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
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.26"
phonenumbers = "==8.12.27"
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.9"
version_tuple = (2, 0, 9)
version = "2.0.10"
version_tuple = (2, 0, 10)
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-26 09:40:10 UTC
Resource: https://github.com/google/libphonenumber v8.12.26
Auto-generated file 2021-07-09 09:02:00 UTC
Resource: https://github.com/google/libphonenumber v8.12.27
"""


PATTERNS = {
"info": "libphonenumber v8.12.26",
"info": "libphonenumber v8.12.27",
"data": {
"AC": {
"code": "247",
Expand Down Expand Up @@ -176,7 +176,7 @@
"BW": {
"code": "267",
"pattern": "(((2(4[0-48])|(6[0-24])|(9[0578]))|(3(1[0-35-9])|(55)|([69][\\d])|(7[013]))|(4(6[03])|(7[1267])|(9[0-5]))|(5(3[03489])|(4[0489])|(7[1-47])|(88)|(9[0-49]))|(6(2[1-35])|(5[149])|(8[067]))[\\d]{4}))",
"mobile": "((77200[\\d]{3})|((321)|(7([1-6][\\d])|(7[013-9])|(8[01]))[\\d]{5}))",
"mobile": "(((321)|(7([1-7][\\d])|(8[01]))[\\d]{5}))",
},
"BY": {
"code": "375",
Expand Down Expand Up @@ -689,7 +689,7 @@
"MG": {
"code": "261",
"pattern": "((2072[29][\\d]{4})|(20(2[\\d])|(4[47])|(5[3467])|(6[279])|(7[35])|(8[268])|(9[245])[\\d]{5}))",
"mobile": "((3[2-49][\\d]{7}))",
"mobile": "((3[2-489][\\d]{7}))",
},
"MH": {
"code": "692",
Expand Down Expand Up @@ -759,7 +759,7 @@
"MW": {
"code": "265",
"pattern": "(((1[2-9])|(21[\\d][\\d])[\\d]{5}))",
"mobile": "((111[\\d]{6})|((31)|(77)|(88)|(99)[\\d]{7}))",
"mobile": "((111[\\d]{6})|((31)|(77)|(88)|(9[89])[\\d]{7}))",
},
"MX": {
"code": "52",
Expand Down Expand Up @@ -874,7 +874,7 @@
"PL": {
"code": "48",
"pattern": "((47[\\d]{7})|((1[2-8])|(2[2-69])|(3[2-4])|(4[1-468])|(5[24-689])|(6[1-3578])|(7[14-7])|(8[1-79])|(9[145])([02-9][\\d]{6})|(1([0-8][\\d]{5})|(9[\\d]{3}([\\d]{2})?))))",
"mobile": "(((45)|(5[0137])|(6[069])|(7[2389])|(88)[\\d]{7}))",
"mobile": "((211(1[\\d])|(3[1-5])[\\d]{4})|((45)|(5[0137])|(6[069])|(7[2389])|(88)[\\d]{7}))",
},
"PM": {
"code": "508",
Expand Down Expand Up @@ -919,7 +919,7 @@
"RO": {
"code": "40",
"pattern": "(([23][13-6][\\d]{7})|((2(19[\\d])|([3-6][\\d]9))|(31[\\d][\\d])[\\d][\\d]))",
"mobile": "((7[01]20[\\d]{5})|(7(0[013-9])|(1[01])|([2-7][\\d])|(8[03-8])|(9[09])[\\d]{6}))",
"mobile": "((7[01]20[\\d]{5})|(7(0[013-9])|(1[01])|([2-7][\\d])|(8[03-8])|(9[019])[\\d]{6}))",
},
"RS": {
"code": "381",
Expand Down Expand Up @@ -1090,7 +1090,7 @@
"TO": {
"code": "676",
"pattern": "(((2[\\d])|(3[0-8])|(4[0-4])|(50)|(6[09])|(7[0-24-69])|(8[05])[\\d]{3}))",
"mobile": "(((6([09][\\d])|(3[02])|(8[15-9]))|((7[\\d])|(8[46-9])[\\d])|(999)[\\d]{4}))",
"mobile": "(((55[56])|(6([09][\\d])|(3[02])|(8[15-9]))|((7[\\d])|(8[46-9])[\\d])|(999)[\\d]{4}))",
},
"TR": {
"code": "90",
Expand Down Expand Up @@ -1215,7 +1215,7 @@
"ZW": {
"code": "263",
"pattern": "(((1((3[\\d])|(9)[\\d])|([4-8]))|(2(((0(2[014])|(5))|((2[0157])|(31)|(84)|(9)[\\d][\\d])|([56]([14][\\d][\\d])|(20))|(7([089])|(2[03])|([35][\\d][\\d]))[\\d])|(4(2[\\d][\\d])|(8))[\\d])|(1(2)|([39][\\d]{4})))|(3((123)|((29[\\d])|(92)[\\d])[\\d][\\d])|(7([19])|([56][\\d])))|(5(0)|(1[2-478])|(26)|([37]2)|(4(2[\\d]{3})|(83))|(5(25[\\d][\\d])|([78]))|([689][\\d]))|(6(([16-8]21)|(28)|(52[013])[\\d][\\d])|([39]))|(8([1349]28)|(523)[\\d][\\d])[\\d]{3})|((4[\\d][\\d])|(9[2-9])[\\d]{4:5})|(((2(((0)|(8[146])[\\d])|(7[1-7])[\\d])|(2([278][\\d])|(92))|(58(2[\\d])|(3)))|(3([26])|(9[\\d]{3}))|(5(4[\\d])|(5)[\\d][\\d])[\\d])|(6((([0-246])|([78][\\d])[\\d])|(37)[\\d])|(5[2-8]))[\\d][\\d])|((2([569][\\d])|(8[2-57-9]))|(3([013-59][\\d])|(8[37]))|(6[89]8)[\\d]{3}))",
"mobile": "((7([17][\\d])|([38][1-9])[\\d]{6}))",
"mobile": "((7([178][\\d])|(3[1-9])[\\d]{6}))",
},
},
}
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.9',
version='2.0.10',
entry_points={
"console_scripts": ["phone-gen=phone_gen.cli:main"],
},
Expand Down