countrystatecity-countries

Type-safe offline data for 250 countries, 5,327 states, and 156,169 cities, plus 14,058 county equivalents, with Pydantic models and lazy loading.

countrystatecity-countries has been downloaded 277,803 times in total on PyPI, including 11,761 in the last 30 days. The latest version is 3.1.0, released Nov 4, 2026.

Version3.1.0
Downloads
277.80k
LicenseOpen Database License (ODbL) v1.0 This package uses data from the countries-states-cities-database project, which is licensed under the Open Database License (ODbL) v1.0. For the full text of the ODbL license, please visit: https://opendatacommons.org/licenses/odbl/1-0/ Summary: You are free to: - Share: Copy and redistribute the database - Create: Produce works from the database - Adapt: Modify, transform and build upon the database Under the following conditions: - Attribute: You must attribute any public use of the database - Share-Alike: If you publicly use any adapted version, you must also offer that adapted database under the ODbL - Keep open: If you redistribute the database, you must keep it open
Authordr5hn
UpdatedNov 4, 2026

Downloads

Weekly, last 90d.
Includes CI traffic.

VersionsTotal3.*2.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 11 series
Selected total52.47k
277.8kAll-time
11.8kLast 30 days
684Last 24 h
<0.01/sPer second

Version distribution

Share of downloads by released version. Computed over the last quarter.

  • 01

    1.0.0

    18.8k downloads
    43.0%
  • 02

    1.0.5

    8.1k downloads
    18.5%
  • 03

    1.0.3

    4.3k downloads
    9.9%
  • 04

    3.1.0

    3.5k downloads
    8.1%
  • 05

    1.0.2

    3.4k downloads
    7.8%
  • 06

    2.0.1

    2.9k downloads
    6.6%
  • 07

    3.0.0

    1.5k downloads
    3.3%
  • 08

    3.0.1

    466 downloads
    1.1%
  • 09

    Other

    767 downloads
    1.8%

Guess the next day

Thirteen recent days of countrystatecity-countries downloads. Drag the green handle on the right to guess where day fourteen lands.

TRUTH684528THUFRISATSUNMONTUEWEDTHUFRISATSUNMONTUE