countrystatecity-postal-codes

Type-safe Python package with 728,556 postal-code records across 117 countries and validation regexes for 184 countries.

countrystatecity-postal-codes has been downloaded 15,554 times in total on PyPI, including 5,067 in the last 30 days. The latest version is 3.1.0, released Nov 4, 2026.

Version3.1.0
Downloads
15.55k
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 / 8 series
Selected total17.65k
15.6kAll-time
5.1kLast 30 days
19Last 24 h
<0.01/sPer second

Version distribution

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

  • 01

    1.0.2

    10.8k downloads
    74.7%
  • 02

    2.0.1

    1.2k downloads
    8.4%
  • 03

    3.0.0

    1.1k downloads
    7.8%
  • 04

    3.1.0

    470 downloads
    3.3%
  • 05

    3.0.1

    379 downloads
    2.6%
  • 06

    1.0.1

    247 downloads
    1.7%
  • 07

    1.0.0

    210 downloads
    1.5%

Guess the next day

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

TRUTH1956MONTUEWEDTHUFRISATSUNMONTUEWEDTHUFRISAT