praekeltfoundation / python-whatsapp-business-client

BSD 3-Clause "New" or "Revised" License
29 stars 14 forks source link

Use phonenumberslite package #4

Open rudigiesler opened 5 years ago

rudigiesler commented 5 years ago

The phonenumbers library is quite big, and has a large memory footprint, due to the large amount of metadata.

The author of the library also publishes a phonenumberslite package, which is the same package but without the geocoding, carrier, and timezone data. Since we are not using any of that metadata here, we can switch to the phonenumberslite package.

https://github.com/daviddrysdale/python-phonenumbers#memory-usage