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

Standalone ISO 3166-1 country definitions

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

It would be nice add the phone country code ```python countries.get('US') Country(name='United States of America', alpha2='US', alpha3='USA', numeric='840', phone_code='+1', apolitical_name='United States of America') ``` ```python countries.get('CO') Country(name='Colombia', alpha2='CO', alpha3='COL', numeric='170',...

This pull request would add a new attribute, `flag`, that returns the emoji associated with each country. ```python >>> iso3166.countries.get("US").flag 'πŸ‡ΊπŸ‡Έ' >>> iso3166.countries.get("AFG").flag 'πŸ‡¦πŸ‡«' >>> list(iso3166.countries_by_flag.items())[:5] [('πŸ‡¦πŸ‡«', Country(name='Afghanistan', alpha2='AF', alpha3='AFG',...

For example, Kosovo is no longer in https://en.wikipedia.org/wiki/ISO_3166-1 I could open a PR. I think even better is create a job that will check the list with scraping wiki on...

From [Your Documentation](https://pypi.org/project/iso3166/): ``` >>> from iso3166 import countries >>> >>> countries.get('us') Country(name='United States', alpha2='US', alpha3='USA', numeric='840') >>> countries.get('ala') ``` How it is actually is: ``` ❯ python3 Python 3.11.6...