uszipcode
USA zipcode programmable database, includes 2020 census data and geometry information.
Decision gist · record as of 2026-08-14
Yes, if your use case tolerates static Census 2010 data and you need offline zipcode lookups without external API calls. No, if you require current census data, frequent updates, or active maintenance—the package has been abandoned since 2022-01-06 and will not receive security or data updates. Suitable for reference applications, historical analysis, or prototyping; not for production systems requiring fresh demographic data.AI-flagged interpretation of the facts on this page — verify before relying
Before you install
- Low install friction with a pure-Python wheel.
- However, the package is abandoned—last release was 2022-01-06, over 1681 days ago.
- No recent maintenance or security updates; rely on it only if the data snapshot it contains meets your needs.
License · maintenance · safety
MIT (permissive) — MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
last release 2022-01-06 (1681 days)
0 known vulnerabilities (OSV.dev, 2026-08-14) · 996,200 downloads/mo, #4,547 on PyPI
Alternatives
Verify before relying
pip install uszipcode
from uszipcode import SearchEngine
se = SearchEngine()
result = se.by_zipcode('94103')
print(result.lat, result.lng, result.population)- Whether the Census 2010 static data and IRS population data through FY 2018 / 2020 are current enough for your use case
- Whether the 42,724 zipcodes in the database include all current US postal codes or represent a snapshot
- How frequently the underlying data source (data.census.gov) is updated and whether this package will track those updates
What it is and what it does
uszipcode is a Python library that bundles a snapshot of US zipcode data crawled from data.census.gov, exposing it through a queryable search interface. It includes 42,724 zipcodes (STANDARD, PO BOX, UNIQUE, and MILITARY types) with associated census demographics, geographic coordinates, housing statistics, employment data, and income information. The data is primarily static from Census 2010 for demographic fields, with some time-series data extending to 2020 for population trends.
You query the database by zipcode to retrieve address, postal, geography, demographic, housing, employment, and education fields. The package depends on SQLAlchemy for data storage and retrieval, plus utilities like fuzzywuzzy for fuzzy matching and haversine for distance calculations. It is designed as a self-contained, offline-queryable reference rather than a live API client.
Use it for
- Look up geographic coordinates and timezone for a US zipcode without calling an external API
- Retrieve Census 2010 demographic and income statistics for a zipcode to support business analytics or research
- Find housing and rental cost estimates by zipcode for real estate or relocation planning
- Query employment and educational attainment data for a region to support workforce analysis
- Perform fuzzy zipcode matching when user input is incomplete or misspelled
Worth the install?
AI-flagged interpretation of the facts on this page. Verify before relying on it.
Yes, if your use case tolerates static Census 2010 data and you need offline zipcode lookups without external API calls.
No, if you require current census data, frequent updates, or active maintenance—the package has been abandoned since 2022-01-06 and will not receive security or data updates. Suitable for reference applications, historical analysis, or prototyping; not for production systems requiring fresh demographic data.
Install
uszipcode on PyPI
Before you install
Low install friction with a pure-Python wheel. However, the package is abandoned—last release was 2022-01-06, over 1681 days ago. No recent maintenance or security updates; rely on it only if the data snapshot it contains meets your needs.
License in practice
MIT license permits commercial and private use with minimal restrictions, requiring only attribution and inclusion of the license notice.
Quickstart
pip install uszipcode
from uszipcode import SearchEngine
se = SearchEngine()
result = se.by_zipcode('94103')
print(result.lat, result.lng, result.population)
Verify before relying
- Whether the Census 2010 static data and IRS population data through FY 2018 / 2020 are current enough for your use case
- Whether the 42,724 zipcodes in the database include all current US postal codes or represent a snapshot
- How frequently the underlying data source (data.census.gov) is updated and whether this package will track those updates
Package facts
| License | MIT permissive |
| Python support | Not specified |
| Install friction | Low. Pure-Python wheel |
| Runtime dependencies | 8 packagesattrsrequestspathlib-mateatomicwritesfuzzywuzzyhaversineSQLAlchemysqlalchemy-mate |
| Maintenance | Abandoned 1,681 days since the last release |
| First released | |
| Downloads | 996,200 / month, #4,547 on PyPI 30-day window, as of 2026-08-14 |
| Known vulnerabilities | None known OSV.dev, checked 2026-08-14 |
| Classifiers | Development Status :: 5 - Production/StableIntended Audience :: DevelopersLicense :: OSI Approved :: MIT LicenseNatural Language :: EnglishOperating System :: MacOSOperating System :: Microsoft :: WindowsOperating System :: UnixProgramming Language :: Python :: 3 :: OnlyProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.6Programming Language :: Python :: 3.7Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9 |
Evidence: uszipcode-1.0.1-py2.py3-none-any.whl
Tags
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 › “us zipcode database lookup”
- uszipcodeProvides programmable access to a database of 42,724 US zipcodes with…
- zipcodesQuery and validate U.S. zipcodes with embedded data—no external…
- pyzipcodeProvides local lookup of US ZIP code information including city,…
Give your agent the search over MCP, or paste the wish link into any chat.
More Database packages
psycopg2-binary is a PostgreSQL database adapter for Python that implements the DB API 2.0 specification, enabling Python applications to connect to and query PostgreSQL databases with thread-safe concurrent operations.
Python client library for connecting to and executing commands against Redis key-value stores, supporting both synchronous and asynchronous operations.
Install it if your application needs to interact with Redis; the only prerequisite is a running Redis server instance.
YDB Python SDK is the official client library for connecting to and querying YDB databases from Python applications.
Install it if you need to connect Python applications to YDB databases.
Connects Python applications to Snowflake data warehouses using the DB API 2.0 specification, enabling SQL queries, data transfers, and warehouse operations.
sqlparse tokenizes SQL text into a tree of statements, clauses, and expressions, and provides functions to split scripts, format queries, and inspect parsed tokens without validating dialect or syntax.
Install it if you need to manipulate, format, or analyze SQL text programmatically.
Provides base adapter protocols and shared functionality that database adapters use to integrate with dbt-core, handling connections, dialect translation, relation caching, and core interface management.
See also pyzipcode · zipcodes · spm-calculator · censusgeocode · us · pypostalcode · segregation · census · reverse-geocode · python-ranges