Restcountries cli is a python client to encapsulate the calls to restcountries API.
The main difference with other restcountries clients is that the calls are cached.
Also all the countries are returned as pydantic models, so the data navigation is easier.
Yo can check the code in GitHub or follow the official documentation.