# carmen-ruby/carmen

A repository of geographic regions for Ruby

Repository: https://github.com/carmen-ruby/carmen
Canonical: https://ross.abutalabs.com/products/carmen
Language: Ruby
License: NOASSERTION
License Family: other
Topics: ruby, countries, geographic-data, iso3166
Last push: 2022-01-31T18:44:57+00:00

## Health v2 (maintenance only)
Score: 23/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 0, release rhythm 8, longevity 100
- inputs: {"age_days": 6378, "days_push": 1675, "days_rel": null, "gap_med": null, "n_releases_24m": 0}
- flags: no_license
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 1168, forks 271 (observed 2026-08-28T04:03:50.896934+00:00)

## What it is
Carmen is a Ruby library providing a clean API for querying countries and their subregions (states, provinces, etc.) using ISO 3166 data. It supports lookup by name or code, subregion traversal, and internationalized names.

## Use cases
- populate a country and state dropdown in a Rails form
- look up a country by its ISO 3166 alpha-2 or alpha-3 code
- get the list of states or provinces for a given country
- resolve a country's official name and numeric code
- build address forms with localized region names

## When to choose
- you need country/subregion data in a Ruby or Rails application
- you want i18n-ready geographic names sourced from the iso-codes package

## When to avoid
- you need postal codes, cities, or geolocation coordinates
- you need actively updated data or frequent releases
- you are not using Ruby

## Facets
- artifact type: library
- maturity: maintenance
- function: internationalization, search-engine
- domain: developer-tools, web-development
- platform: ruby
- tags: iso-3166, geographic-data, countries, regions, subregions, localization

## Member repositories
- carmen-ruby/carmen (main) score 23

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:03:50.896934+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-30T06:28:46.037709+00:00, confidence not recorded.
  - readme: https://github.com/carmen-ruby/carmen (fetched 2026-08-28T04:03:50.896934+00:00, sha cc2a5795bf94)
- Data as of 2026-08-30T08:39:29.467469+00:00.
