Skip to content

Commit

Permalink
Updated patterns to libphonenumber v8.13.39 (#114)
Browse files Browse the repository at this point in the history
  • Loading branch information
tolstislon committed Jun 15, 2024
1 parent 4424a99 commit 0733a3b
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 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.38
python -m pip install flake8 pep8-naming pytest black pytest-cov phonenumbers==8.13.39
python -m pip install -e .
- name: Flake8
run: |
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
black = "==24.4.2"
flake8 = "==7.0.0"
pep8-naming = "==0.14.1"
phonenumbers = "==8.13.38"
phonenumbers = "==8.13.39"
pytest = "==8.2.2"
pytest-cov = "==5.0.0"
requests = "==2.32.3"
Expand Down
12 changes: 6 additions & 6 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 2024-06-05 12:23:32 UTC
Resource: https://github.com/google/libphonenumber v8.13.38
Auto-generated file 2024-06-15 18:11:24 UTC
Resource: https://github.com/google/libphonenumber v8.13.39
"""


PATTERNS = {
"info": "libphonenumber v8.13.38",
"info": "libphonenumber v8.13.39",
"data": {
"AC": {
"code": "247",
Expand Down Expand Up @@ -562,7 +562,7 @@
"KE": {
"code": "254",
"pattern": "(((4[245])|(5[1-79])|(6[01457-9])[\\d]{5:7})|((4[136])|(5[08])|(62)[\\d]{7})|(([24]0)|(66)[\\d]{6:7}))",
"mobile": "(((1(0[0-8])|(1[0-5])|(2[014])|(30))|(7[\\d][\\d])[\\d]{6}))",
"mobile": "(((1(0[0-8])|(1[0-7])|(2[014])|(30))|(7[\\d][\\d])[\\d]{6}))",
},
"KG": {
"code": "996",
Expand Down Expand Up @@ -1133,8 +1133,8 @@
},
"US": {
"code": "1",
"pattern": "(((5056([0-35-9][\\d])|(4[468]))|(7302[0-4][\\d])[\\d]{4})|((472[24])|(505[2-57-9])|(7306)|(983[2-47-9])[\\d]{6})|((2(0[1-35-9])|(1[02-9])|(2[03-57-9])|(3[1459])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-57-9])|(1[02-9])|(2[013569])|(3[0-24679])|(4[167])|(5[0-2])|(6[01349])|(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[179])|(6[1-47])|(7[0-5])|(8[0256]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|(3[016])|(4[0156])|(5[01679])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-8])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[068])|(3[0-2589])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01357-9])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
"mobile": "(((5056([0-35-9][\\d])|(4[468]))|(7302[0-4][\\d])[\\d]{4})|((472[24])|(505[2-57-9])|(7306)|(983[2-47-9])[\\d]{6})|((2(0[1-35-9])|(1[02-9])|(2[03-57-9])|(3[1459])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-57-9])|(1[02-9])|(2[013569])|(3[0-24679])|(4[167])|(5[0-2])|(6[01349])|(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[179])|(6[1-47])|(7[0-5])|(8[0256]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|(3[016])|(4[0156])|(5[01679])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-8])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[068])|(3[0-2589])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01357-9])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
"pattern": "(((3052(0[0-8])|([1-9][\\d]))|(5056([0-35-9][\\d])|(4[468]))|(7302[0-4][\\d])[\\d]{4})|((305[3-9])|(472[24])|(505[2-57-9])|(7306)|(983[2-47-9])[\\d]{6})|((2(0[1-35-9])|(1[02-9])|(2[03-57-9])|(3[1459])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-47-9])|(1[02-9])|(2[013569])|(3[0-24679])|(4[167])|(5[0-2])|(6[01349])|(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[179])|(6[1-47])|(7[0-5])|(8[0256]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|(3[016])|(4[0156])|(5[01679])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-8])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[068])|(3[0-2589])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01357-9])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
"mobile": "(((3052(0[0-8])|([1-9][\\d]))|(5056([0-35-9][\\d])|(4[468]))|(7302[0-4][\\d])[\\d]{4})|((305[3-9])|(472[24])|(505[2-57-9])|(7306)|(983[2-47-9])[\\d]{6})|((2(0[1-35-9])|(1[02-9])|(2[03-57-9])|(3[1459])|(4[08])|(5[1-46])|(6[0279])|(7[0269])|(8[13]))|(3(0[1-47-9])|(1[02-9])|(2[013569])|(3[0-24679])|(4[167])|(5[0-2])|(6[01349])|(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[179])|(6[1-47])|(7[0-5])|(8[0256]))|(6(0[1-35-9])|(1[024-9])|(2[03689])|(3[016])|(4[0156])|(5[01679])|(6[0-279])|(78)|(8[0-29]))|(7(0[1-46-8])|(1[2-9])|(2[04-8])|(3[1247])|(4[037])|(5[47])|(6[02359])|(7[0-59])|(8[156]))|(8(0[1-68])|(1[02-8])|(2[068])|(3[0-2589])|(4[03578])|(5[046-9])|(6[02-5])|(7[028]))|(9(0[1346-9])|(1[02-9])|(2[0589])|(3[0146-8])|(4[01357-9])|(5[12469])|(7[0-389])|(8[04-69]))[2-9][\\d]{6}))",
},
"UY": {
"code": "598",
Expand Down

0 comments on commit 0733a3b

Please sign in to comment.