countries/countries
All sorts of useful information about every country packaged as convenient little country objects. It includes data from ISO 3166 (countries and states/subdivisions ), ISO 4217 (currency), and E.164 (phone numbers). observed · 2026-08-28
Health v2 · maintenance only
78/100
- Activity 89
- Release rhythm 52
- Longevity 100
How is this computed?
round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10) — computed 2026-09-03. Adoption (stars, forks) is never an input.
- gap_med: 44.5
- age_days: 6102
- days_rel: 243
- days_push: 67
- n_releases_24m: 9
Adoption not part of the score
2359 stars · 682 forks observed · 2026-08-28
What it is AI-extracted, prompt v1, taxonomy v1, 2026-08-30, confidence not recorded
A Ruby gem providing country objects with data from ISO 3166 (countries and subdivisions), ISO 4217 (currencies), and E.164 (phone numbers). It offers attribute-based finder methods to look up countries by name, code, region, and other attributes.
Use cases
- get country names and codes for a dropdown in a rails app
- look up a country's currency by ISO code
- find countries by region or translated name
- validate and map phone number country codes
- get states and subdivisions for a country
- populate country data in a form
When to avoid
- you need country data in a non-Ruby language (use the YAML/JSON data repos instead)
- you need geolocation or IP-to-country resolution
- you need frequently changing geopolitical data beyond ISO standards
Facets
library · maturity active
sdk data-science internationalization developer-tools apis ruby cross-platform iso3166 iso4217 e164 country-data currency phone-numbers subdivisions gem localization
1 source
- readme: https://github.com/countries/countries · fetched 2026-08-28 · 84762a4c1a01
Member repositories
| Repository | Role | Health v2 |
|---|---|---|
| countries/countries | main | 78 |
For agents
markdown · JSON · MCP: product_card(name="countries/countries")
Data as of 2026-08-30T08:39:29.467469+00:00 · Report a problem