$npx skillfedfor your agent

us

US state meta information and other fun stuff

Worth itPyPI UtilitiesReleased Jul 20242.4M downloads / moPure Python

Decision gist · record as of 2026-08-14

pure-Python wheel — us-3.2.0-py3-none-any.whl
v3.2.0 · released 2024-07-22 · Python >=3.8 · 1 runtime deps: jellyfish

Yes. The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a common reference-data problem with a clean API. The unclear license treatment is a minor concern—review the BSD text if you have strict compliance requirements—but poses no practical barrier for most projects. Install it if you need reliable US state metadata or geographic lookups.AI-flagged interpretation of the facts on this page — verify before relying

Before you install

  • Low friction installation with a single pure-Python runtime dependency (jellyfish).
  • Actively maintained with recent commits and support for current Python versions (3.8–3.12).

License · maintenance · safety

(unclear) — License treatment is unclear; the package carries a BSD-style license from Sunlight Labs but lacks an SPDX identifier. Review the full license text before use in proprietary or copyleft projects.

last release 2024-07-22 (753 days) · last repo commit 2026-05-21 · 518 stars

0 known vulnerabilities (OSV.dev, 2026-08-14) · 2,357,635 downloads/mo, #3,106 on PyPI

Verify before relying

pip install us

import us
state = us.states.lookup('maryland')
print(state.fips, state.abbr, state.name)
  • Whether the unclear license treatment poses a practical barrier for your project's license compliance requirements.
  • Whether phonetic matching accuracy via jellyfish meets your tolerance for fuzzy state name lookups.
  • Total number of US states and territories covered by the package.
Same gist for agents: .md · .json

What it is and what it does

The us package is a reference library for US state and territory data. It provides programmatic access to states and territories with their postal abbreviations, FIPS codes, capitals, statehood years, time zones, and geographic classifications (contiguous, continental). It includes a phonetic name lookup powered by jellyfish for fuzzy matching and generates URLs to 2010 Census Bureau shapefiles for various geographic regions (state, county, congressional district, census tract, block, etc.). The package also offers a command-line tool for quick lookups and a mapping function to generate dictionaries between any two state attributes.

It is designed for developers building applications that need authoritative US geographic metadata—data validation, address parsing, geographic analysis, or administrative dashboards. The library is pure Python with minimal dependencies, installs quickly, and has been maintained since its early releases with active support for modern Python versions. DC can optionally be included in state lists via an environment variable.

Use it for

  • Validate and normalize US state abbreviations or FIPS codes in address or form-processing pipelines.
  • Build geographic dashboards or reports that need state capitals, time zones, or contiguity information.
  • Download Census Bureau shapefiles for mapping or GIS analysis by state or region.
  • Implement fuzzy state name matching in user-facing search or autocomplete features.
  • Generate lookup tables mapping between FIPS codes, postal abbreviations, and state names for data integration.
  • Query state metadata (statehood year, time zone, AP abbreviation) for reference or display purposes.

Worth the install?

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

Worth it

Yes.

The package is actively maintained, has low install friction, carries no known vulnerabilities, and solves a common reference-data problem with a clean API. The unclear license treatment is a minor concern—review the BSD text if you have strict compliance requirements—but poses no practical barrier for most projects. Install it if you need reliable US state metadata or geographic lookups.

Install

us on PyPI

Before you install

Low friction installation with a single pure-Python runtime dependency (jellyfish). Actively maintained with recent commits and support for current Python versions (3.8–3.12).

License in practice

License treatment is unclear; the package carries a BSD-style license from Sunlight Labs but lacks an SPDX identifier. Review the full license text before use in proprietary or copyleft projects.

Quickstart

pip install us

import us
state = us.states.lookup('maryland')
print(state.fips, state.abbr, state.name)

Verify before relying

  • Whether the unclear license treatment poses a practical barrier for your project's license compliance requirements.
  • Whether phonetic matching accuracy via jellyfish meets your tolerance for fuzzy state name lookups.
  • Total number of US states and territories covered by the package.

Package facts

LicenseNot declared unclear
Python supportSupports the current Python release >=3.8
Install frictionLow. Pure-Python wheel
Runtime dependencies
1 package
jellyfish
MaintenanceActively maintained 753 days since the last release
Last repo commit
First released
Downloads2,357,635 / month, #3,106 on PyPI 30-day window, as of 2026-08-14
Known vulnerabilitiesNone known OSV.dev, checked 2026-08-14
Classifiers
Programming Language :: PythonProgramming Language :: Python :: 3.10Programming Language :: Python :: 3.11Programming Language :: Python :: 3.12Programming Language :: Python :: 3.8Programming Language :: Python :: 3.9

Evidence: us-3.2.0-py3-none-any.whl

Tags

Capabilities
us state metadata lookupfips code state abbreviationstate information libraryus territories postal codesstate shapefile urlsphonetic state name matchingstate time zonesus geographic data
Topics
reference-dataus-geographymetadata

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 state metadata lookup”

  • usProvides structured access to US state and territory metadata…
  • pyzipcodeProvides local lookup of US ZIP code information including city,…
  • geonamescacheProvides Python dictionaries of geographic data including continents,…

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 geonamescache · google-i18n-address · census · pyzipcode · uszipcode · zipcodes · spm-calculator · nicknames · censusgeocode · phonetics