$npx skillfedfor your agent

pyzipcode

query zip codes and location data

SkipPyPI UtilitiesReleased Mar 2021289.8K downloads / moMITSource build

Decision gist · record as of 2026-08-14

sdist only — pyzipcode-3.0.1.tar.gz · builds from source
v3.0.1 · released 2021-03-03 · Python >=3.6

No. The package is abandoned (last update 2021-03-03), has high install friction (source-only distribution), and relies on a ZIP code database from 2004 that is now significantly outdated. For current applications, use a maintained alternative or a live API service that reflects current postal code assignments.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Requires Python 3.6+; source distribution may require a C compiler or build tools to install.
  • High install friction: the package ships as a source distribution only and requires compilation or build steps.
  • Maintenance is abandoned—last release was 2021-03-03, over 1990 days ago, with no recent commits.

License · maintenance · safety

MIT (permissive) — MIT license is permissive and imposes no significant restrictions on use, modification, or redistribution.

last release 2021-03-03 (1990 days) · last repo commit 2021-03-19 · 15 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 289,818 downloads/mo, #7,997 on PyPI

Verify before relying

from pyzipcode import ZipCodeDatabase
zcdb = ZipCodeDatabase()
result = zcdb[54115]
print(result.city, result.state, result.latitude, result.longitude)
  • Whether the embedded ZIP code database (from 2004) remains accurate for current US postal codes
  • Whether the package builds cleanly on modern Python versions despite abandonment
  • Performance characteristics when searching or filtering large result sets
Same gist for agents: .md · .json

What it is and what it does

pyzipcode wraps a local SQLite database of US ZIP codes to provide fast, offline lookups of postal code metadata. It loads city, state, latitude, longitude, timezone, and daylight savings time information for any ZIP code, and supports search by city name and radius-based filtering around a given ZIP code.

The package exposes a dictionary-like ZipCodeDatabase interface: you can look up a ZIP code by integer or string, search for all codes in a city using SQL wildcards, or find codes within a specified radius. It requires no external API calls or network access, making it suitable for applications that need reliable ZIP code data without external dependencies.

Use it for

  • Validate and enrich user-submitted ZIP codes with city/state information in web forms or data pipelines
  • Find nearby ZIP codes for location-based features like store locators or delivery radius calculations
  • Populate timezone and daylight savings time data for scheduling or time-aware applications
  • Offline geocoding: convert ZIP codes to approximate latitude/longitude for mapping or distance calculations
  • Bulk lookup of ZIP code metadata in batch processing without rate limits or API costs

Worth the install?

AI-flagged interpretation of the facts on this page. Verify before relying on it.

Skip

No.

The package is abandoned (last update 2021-03-03), has high install friction (source-only distribution), and relies on a ZIP code database from 2004 that is now significantly outdated. For current applications, use a maintained alternative or a live API service that reflects current postal code assignments.

Install

pyzipcode on PyPI

Before you install

High install friction: the package ships as a source distribution only and requires compilation or build steps. Maintenance is abandoned—last release was 2021-03-03, over 1990 days ago, with no recent commits.

Requires Python 3.6+; source distribution may require a C compiler or build tools to install.

License in practice

MIT license is permissive and imposes no significant restrictions on use, modification, or redistribution.

Quickstart

from pyzipcode import ZipCodeDatabase
zcdb = ZipCodeDatabase()
result = zcdb[54115]
print(result.city, result.state, result.latitude, result.longitude)

Verify before relying

  • Whether the embedded ZIP code database (from 2004) remains accurate for current US postal codes
  • Whether the package builds cleanly on modern Python versions despite abandonment
  • Performance characteristics when searching or filtering large result sets

Package facts

LicenseMIT permissive
Python supportSupports the current Python release >=3.6
Install frictionHigh. Source build required
Runtime dependenciesNone
MaintenanceAbandoned 1,990 days since the last release
Last repo commit
First released
Downloads289,818 / month, #7,997 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
License :: OSI Approved :: MIT LicenseOperating System :: OS IndependentProgramming Language :: Python :: 3

Evidence: pyzipcode-3.0.1.tar.gz

Tags

Capabilities
zip code lookupUS postal code databasecity state from zipcoordinates from zip codezip code search by citynearby zip codes radiustimezone from zip code
Topics
geocodingoffline-dataabandoned
PyPI keywords
zipcodedistance

Let your AI agent find packages like this

Example. Real query, live index.

You found this page by searching. An agent finds it by wishing: SkillFed indexes 14,416 PyPI packages by what they can do, searchable in plain language.

wish › “zip code lookup”

  • pyzipcodeProvides local lookup of US ZIP code information including city,…
  • zipcodesQuery and validate U.S. zipcodes with embedded data—no external…
  • pyairnowA thin async Python client for the EPA AirNow Air Quality Index API,…

Give your agent the search over MCP, or paste the wish link into any chat.

More Utilities packages

idna Worth it
PyPI · Python Modules · released Jun 2026

Converts domain names between Unicode and ASCII-compatible encoding (Punycode) according to IDNA 2008 and Unicode Technical Standard 46, with security validation and broader script coverage than the standard library.

Install it if you work with internationalized domain names, need to validate domains, or use HTTP clients that depend on it transitively.

BSD-3-Clausepure Python · 3.9+
1.8Bdownloads / mo
charset-normalizer Worth it
PyPI · Utilities · released Aug 2026

Detects and normalizes text encoding from unknown or ambiguous sources, supporting all IANA character sets that Python's core library provides codecs for, with the ability to register custom codecs.

permissive licensepure Python · 3.7+
1.7Bdownloads / mo
setuptools Worth it
PyPI · Python Modules · released Aug 2026

Setuptools is a Python build backend and package management tool that handles building, distributing, and installing Python packages, including support for C/C++ extension modules.

MITpure Python · 3.10+
1.6Bdownloads / mo
pluggy Worth it
PyPI · Libraries · released May 2025

Pluggy provides a plugin system that lets you define hook specifications and register implementations to be called in sequence, enabling extensible Python applications without tight coupling.

Install it if you're building an extensible application or framework.

MITpure Python · 3.9+aging
1.3Bdownloads / mo
Pygments Worth it
PyPI · Utilities · released Mar 2026

Pygments is a syntax highlighter that colorizes source code and text in over 500 languages and formats, outputting to HTML, LaTeX, RTF, SVG, images, or ANSI terminal sequences.

Install it if you need to display or transform source code.

BSD-2-Clausepure Python · 3.9+
1.3Bdownloads / mo
six With conditions
PyPI · Libraries · released Dec 2024

Six provides utility functions to write Python code that runs on both Python 2.7 and Python 3.3+, smoothing over language differences between the two versions.

MITpure Python
1.2Bdownloads / mo

See also uszipcode · zipcodes · pypostalcode · reverse-geocode · IP2Location · pgeocode · us · airportsdata · tzfpy · tzwhere