Releases: dr5hn/countrystatecity-pypi
Releases · dr5hn/countrystatecity-pypi
Release v1.0.2
countrystatecity-countries v1.0.2
Published to PyPI: https://pypi.org/project/countrystatecity-countries/
Installation
pip install countrystatecity-countriesUsage
from countrystatecity_countries import get_countries, get_country_by_code
countries = get_countries()
usa = get_country_by_code("US")
print(f"{usa.emoji} {usa.name}")See the README for full documentation.
v1.0.1
countrystatecity-countries v1.0.1
Data Update
- Updated countries/states/cities data from upstream database
- Improved CI/CD: auto-bump patch version on data updates
PyPI: https://pypi.org/project/countrystatecity-countries/
pip install countrystatecity-countriesRelease v1.0.0
countrystatecity-countries v1.0.0
Published to PyPI: https://pypi.org/project/countrystatecity-countries/
Installation
pip install countrystatecity-countriesUsage
from countrystatecity_countries import get_countries, get_country_by_code
countries = get_countries()
usa = get_country_by_code("US")
print(f"{usa.emoji} {usa.name}")See the README for full documentation.