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
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
Sponsored
Sponsorships keep pepy free to read
Version distribution
Share of downloads by released version. Computed over the last quarter.
- 0143.0%
1.0.0
18.8k downloadsDownloads18.8k43.0% - 0218.5%
1.0.5
8.1k downloadsDownloads8.1k18.5% - 039.9%
1.0.3
4.3k downloadsDownloads4.3k9.9% - 048.1%
3.1.0
3.5k downloadsDownloads3.5k8.1% - 057.8%
1.0.2
3.4k downloadsDownloads3.4k7.8% - 066.6%
2.0.1
2.9k downloadsDownloads2.9k6.6% - 073.3%
3.0.0
1.5k downloadsDownloads1.5k3.3% - 081.1%
3.0.1
466 downloadsDownloads4661.1% - 091.8%
Other
767 downloadsDownloads7671.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.