{"categories":[{"label":"Libraries","url":"https://skillfed.io/packages/category/software-development-libraries/5"},{"label":"GIS","url":"https://skillfed.io/packages/category/scientific-engineering-gis"}],"enrichment":{"capability":"Countryinfo provides a Python interface to query comprehensive geographic and administrative data for any country, including ISO codes, capitals, currencies, languages, borders, and GeoJSON boundaries.","skillfed_tags":["country-data","iso-codes","geographic-reference"],"use_cases":["Validate and normalize country input in web forms or APIs by accepting multiple identifier formats (names, codes, spellings).","Build geographic filters or dashboards that need to display country metadata like capital, population, or official languages.","Enrich datasets with country-level attributes (currencies, timezones, calling codes) during ETL or data processing workflows.","Generate GeoJSON boundaries for mapping applications or spatial analysis without external geospatial libraries.","Implement country-aware features such as timezone detection, language selection, or regional grouping in multi-region applications."],"what_it_does":"Countryinfo is a lightweight, zero-dependency library that wraps a curated dataset of country metadata and exposes it through a simple object-oriented API. You instantiate a CountryInfo object with a country name, ISO code (alpha-2, alpha-3, or numeric), or alternate spelling, then call methods to retrieve specific attributes: capital, population, area, currencies, languages, calling codes, borders, timezones, GeoJSON geometry, and more. The library also supports reverse queries (all countries, filtered searches) and optional extras for fuzzy matching and Pydantic model integration.\n\nIt is designed for applications that need reliable, structured access to country reference data without external API calls or heavy dependencies. Common use cases include form validation, geographic filtering, localization, and data enrichment pipelines. The API is straightforward and the install footprint is minimal, making it suitable for both CLI tools and embedded library use.","worth_installing":"Yes. Countryinfo is a stable, well-maintained library with zero dependencies, permissive licensing, and no known vulnerabilities. It fills a genuine need for reliable country metadata lookup. Install it if you need to work with country codes, geographic data, or reference information in a Python application."},"id":"countryinfo","links":{"html":"https://skillfed.io/packages/countryinfo","md":"https://skillfed.io/packages/countryinfo.md","pypi":"https://pypi.org/project/countryinfo/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-07","license_spdx":null,"license_treatment":"permissive","name":"countryinfo","python_support":"supports_current","summary":"A Python module for returning data about countries, ISO info, and states/provinces within them."},"popularity":{"monthly_downloads":614728,"position":5746,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"1.0.1"}
