countrystatecity-countries
Type-safe offline data for 250 countries, 5,328 states, and 152,152 cities, with Pydantic models and lazy loading.
countrystatecity-countries has been downloaded 259,497 times in total on PyPI, including 19,273 in the last 30 days. The latest version is 2.0.1, released Oct 12, 2026.
Version2.0.1
Downloads
259.50k
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
Downloads
Weekly, last 90d.
Includes CI traffic.
VersionsTotal2.*1.*
Range
View
Granularity
Group by
CI traffic
Stack: OffCI: Included3 / 8 series
Selected total213.95k
259.5kAll-time
19.3kLast 30 days
546Last 24 h
<0.01/sPer second
Sponsored
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 0165.5%
1.0.0
68.8k downloadsDownloads68.8k65.5% - 0216.4%
1.0.3
17.3k downloadsDownloads17.3k16.4% - 0312.3%
1.0.5
12.9k downloadsDownloads12.9k12.3% - 043.1%
1.0.2
3.3k downloadsDownloads3.3k3.1% - 051.6%
1.0.4
1.7k downloadsDownloads1.7k1.6% - 060.8%
2.0.1
869 downloadsDownloads8690.8% - 070.3%
2.0.0
283 downloadsDownloads2830.3%
Guess the next day
Thirteen recent days of countrystatecity-countries downloads. Drag the green handle on the right to guess where day fourteen lands.