Skip to content

Releases: dr5hn/countrystatecity-pypi

Release v1.0.2

28 Mar 13:57

Choose a tag to compare

countrystatecity-countries v1.0.2

Published to PyPI: https://pypi.org/project/countrystatecity-countries/

Installation

pip install countrystatecity-countries

Usage

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

28 Mar 13:41

Choose a tag to compare

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-countries

Release v1.0.0

22 Oct 06:54
9f44e30

Choose a tag to compare

countrystatecity-countries v1.0.0

Published to PyPI: https://pypi.org/project/countrystatecity-countries/

Installation

pip install countrystatecity-countries

Usage

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.