This is the demonstration os using phonenumbers and opencage library. In this simple script I have covered almost everything related to phone numbers library.
MIT License
Copyright (c) 2022 Abdul Moez
pip install phonenumbers
pip install opencage
OR
pip install -r requirements.txt
And the Api key for open cage from CageApi.
Place the api key and the target phone number in phone_data.py file and execute phone_num.py file. To get details of target phone number.
python3 phone_num.py