{"categories":[{"label":"Python Modules","url":"https://skillfed.io/packages/category/software-development-libraries-python-modules/8"}],"enrichment":{"capability":"Provides Python dictionaries of geographic data including continents, countries, US states, counties, and cities with names, ISO and FIPS codes, population, and coordinates sourced from GeoNames.","skillfed_tags":["geodata","reference-data","lookup-tables"],"use_cases":["Validate and normalize country or state codes in user input or data imports.","Build dropdown menus or autocomplete for location selection in web forms.","Map city names to population and geographic coordinates for analytics or filtering.","Create reference lookups for codes in data pipelines.","Search for cities by partial name match across the dataset."],"what_it_does":"GeonamesCache wraps geographic reference data from GeoNames into a Python library, letting you query continents, countries, US states, counties, and cities as dictionaries. It includes country codes, state and county codes, population figures, and geographic coordinates. The library loads data into memory on initialization, then provides lookup and search methods to retrieve records by code, name, or partial match.\n\nYou'd use it when you need reliable geographic identifiers and metadata in your application\u2014mapping user input to country codes, validating state abbreviations, finding cities by name, or building reference data for location-based features. It's a reference library rather than a mapping or geocoding service; it doesn't convert addresses to coordinates or vice versa, but it does provide the canonical codes and names you'd use alongside such services.","worth_installing":"Yes. It's a lightweight, actively maintained reference library with no security vulnerabilities, permissive licensing, and a narrow, well-defined purpose. Install it if you need reliable geographic codes and names; skip it if you need real-time geocoding or mapping services."},"id":"geonamescache","links":{"html":"https://skillfed.io/packages/geonamescache","md":"https://skillfed.io/packages/geonamescache.md","pypi":"https://pypi.org/project/geonamescache/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-07-28","license_spdx":"MIT","license_treatment":"permissive","name":"geonamescache","python_support":"supports_current","summary":"Geonames data for continents, cities and US states."},"popularity":{"monthly_downloads":931913,"position":4700,"tier":"top_5000"},"security":{"n_vulnerabilities":0},"version":"3.0.2"}
