countryinfo
countryinfo copied to clipboard
A python module for returning data about countries, ISO info and states/provinces within them.
Added missing ISO:639-1 Language code "ms" for Malaysia
Got the latest population numbers for Canada from https://www150.statcan.gc.ca/n1/pub/71-607-x/71-607-x2018005-eng.htm
Currently, all files are loaded every time a CountryInfo object is created. That's inefficient and should be changed. Easiest would probably be to move the data loading part to a...
Added new province Ladakh to the list of the province.
My code [co2eq](https://github.com/mglt/co2eq) needs to instantiates country_info by name, iso and relay on capital and capital_latlng. In this PR, I tried that all country_info can be instantiated from a name,...
For getting data with different names
New version not published on pypi. Please publish the package with `.google()` feature.
The value of 'latlng' for Serbia is [44.1305021, 16.4284181], which is a point in Bosnia, close to the border to Croatia. From Google, the correct values should be 44.0165° N,...
Hi! Is it possible to add Myanmar and its info? Thanks
``` > CountryInfo().name() 'eritrea' ``` Question is, what is good behaviour here? I'd argue that since a CountryInfo object represents information about a specific country, a constructor argument should be...