{"categories":[{"label":"Dynamic Content","url":"https://skillfed.io/packages/category/internet-www-http-dynamic-content/3"},{"label":"General","url":"https://skillfed.io/packages/category/text-processing-general"},{"label":"Chat","url":"https://skillfed.io/packages/category/communications-chat"},{"label":"Printing","url":"https://skillfed.io/packages/category/printing"}],"enrichment":{"capability":"Converts between flag emoji and ASCII country codes (e.g., `:US:` \u2194 \ud83c\uddfa\ud83c\uddf8), and embeds flag emoji into text strings.","skillfed_tags":["emoji","internationalization","text-processing"],"use_cases":["Store country flags in databases or config files as portable `:XX:` codes instead of emoji characters.","Convert user input containing flag emoji back to ASCII codes for processing or storage.","Embed country flags into chat messages or text by replacing `:US:` with \ud83c\uddfa\ud83c\uddf8 before display.","Support subregion flags (e.g., `:gb-eng:` for England) in applications that need finer geographic granularity.","Build text-based templates or markdown that render flags only when converted to emoji for display."],"what_it_does":"emoji-country-flag is a lightweight utility for bidirectional conversion between flag emoji and their ASCII representations. It works by mapping ISO 3166 country codes (like `:US:` or `:GB:`) to pairs of Unicode regional indicator symbols, which browsers and phones render as flag emoji. The package provides three main operations: converting a code to an emoji, embedding emoji into text by replacing ASCII notation, and extracting ASCII notation back from emoji-containing text.\n\nThe package has no runtime dependencies and installs as a pure Python wheel. It supports current Python versions (3.10+) and is actively maintained. It's useful for applications that need to store or transmit flag representations in a portable text format, or for user interfaces that want to convert between human-readable country codes and visual emoji.","worth_installing":"Yes. Low install friction, no dependencies, permissive MIT license, active maintenance, and no known vulnerabilities make this a safe choice. Install if you need bidirectional flag emoji\u2013to\u2013ASCII conversion; skip if your application doesn't work with country codes or emoji representation."},"id":"emoji-country-flag","links":{"html":"https://skillfed.io/packages/emoji-country-flag","md":"https://skillfed.io/packages/emoji-country-flag.md","pypi":"https://pypi.org/project/emoji-country-flag/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2025-09-21","license_spdx":null,"license_treatment":"permissive","name":"emoji-country-flag","python_support":"supports_current","summary":"En/Decode unicode country flags emoji"},"popularity":{"monthly_downloads":93036,"position":13405,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"2.1.0"}
