python-phonenumbers icon indicating copy to clipboard operation
python-phonenumbers copied to clipboard

Python port of Google's libphonenumber

Results 14 python-phonenumbers issues
Sort by recently updated
recently updated
newest added

Python 3.12+ has a major performance regression when debugging, which affects this library (latest version, 8.13.34) particularly badly: https://github.com/python/cpython/issues/107674 Repro of issue: ```python3 # Run with python -m pdb repro.py...

I'm packaging your module as an rpm package so I'm using the typical PEP517 based build, install and test cycle used on building packages from non-root account. - `python3 -sBm...

packaging

Why is country_name_for_number so slow compared to region_code_for_number? I'd expect the a lookup for the region_code to country_name to be quite quick. It appears to check validity of the number....

performance

First of all, thank you for creating this Python port. In my use, I'm checking a large number of short strings to see if they are likely to be a...

performance

Just a heads up that https://github.com/google/libphonenumber/releases/tag/v8.13.17 is out. Do you think it would make sense to contribute a PR to automatically make PRs when new upstream releases come out? Thanks...

process
unresponsive

This project has a sole maintainer (@daviddrysdale), and has had since the project inception in 2011. This means that new releases are entirely gated on the availability of the maintainer....

process

Recently, Cython released the 3.0 version with a [Pure Python mode](https://cython.readthedocs.io/en/latest/src/tutorial/pure.html), and I think it would be a game changer in this library, as most of the code is just...

unresponsive

Suggested in response to https://github.com/daviddrysdale/python-phonenumbers/issues/273#issuecomment-1666792808. Another alternative would be to automatically make a release, but I don't know if you'd want that. A

From https://github.com/daviddrysdale/python-phonenumbers/issues/200#issuecomment-910799543: > it is possible for `None` to be returned, but a lot of implementation code expects a value and doesn't check for `None` > applies to `phonenumberutil.(example_number |...

feature

Python 3.8.12 phonenumbers 8.12.33 Currently enum like classes like `PhoneNumberFormat` are using plain classes. For type checking it would be much more convenient if you changed these to Enums or...

feature